0s autopkgtest [05:52:18]: starting date and time: 2024-03-20 05:52:18+0000 0s autopkgtest [05:52:18]: git checkout: 4a1cd702 l/adt_testbed: don't blame the testbed for unsolvable build deps 0s autopkgtest [05:52:18]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.gd4z1m9c/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:libselinux,src:ruby-defaults --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos02-ppc64el-11.secgroup --name adt-noble-ppc64el-glib2.0-20240320-055218-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://ftpmaster.internal/ubuntu/ 172s autopkgtest [05:55:10]: testbed dpkg architecture: ppc64el 172s autopkgtest [05:55:10]: testbed apt version: 2.7.12 172s autopkgtest [05:55:10]: @@@@@@@@@@@@@@@@@@@@ test bed setup 173s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 174s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3757 kB] 174s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 174s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [52.7 kB] 174s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [497 kB] 174s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [660 kB] 174s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 174s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [1372 B] 174s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 174s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [4177 kB] 175s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 175s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [47.7 kB] 175s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 178s Fetched 9327 kB in 3s (3627 kB/s) 178s Reading package lists... 180s Reading package lists... 181s Building dependency tree... 181s Reading state information... 181s Calculating upgrade... 181s The following packages will be upgraded: 181s libselinux1 181s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 181s Need to get 101 kB of archives. 181s After this operation, 0 B of additional disk space will be used. 181s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libselinux1 ppc64el 3.5-2ubuntu1 [101 kB] 181s Fetched 101 kB in 0s (300 kB/s) 182s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 70095 files and directories currently installed.) 182s Preparing to unpack .../libselinux1_3.5-2ubuntu1_ppc64el.deb ... 182s Unpacking libselinux1:ppc64el (3.5-2ubuntu1) over (3.5-2build1) ... 182s Setting up libselinux1:ppc64el (3.5-2ubuntu1) ... 182s Processing triggers for libc-bin (2.39-0ubuntu2) ... 182s Reading package lists... 182s Building dependency tree... 182s Reading state information... 182s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 183s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 183s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 183s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 183s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 184s Reading package lists... 184s Reading package lists... 184s Building dependency tree... 184s Reading state information... 184s Calculating upgrade... 184s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 184s Reading package lists... 185s Building dependency tree... 185s Reading state information... 185s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 187s autopkgtest [05:55:25]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP Wed Feb 14 00:33:03 UTC 2024 188s autopkgtest [05:55:26]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 196s Get:1 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (dsc) [4332 B] 196s Get:2 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [263 kB] 196s Get:3 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (tar) [5488 kB] 196s Get:4 http://ftpmaster.internal/ubuntu noble/main glib2.0 2.79.2-1~ubuntu1 (diff) [126 kB] 196s gpgv: Signature made Mon Feb 26 20:17:53 2024 UTC 196s gpgv: using RSA key 92FE4F8B40CADC4ECCD60C1F5961FDBE9C619809 196s gpgv: Can't check signature: No public key 196s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.79.2-1~ubuntu1.dsc: no acceptable signature found 197s autopkgtest [05:55:35]: testing package glib2.0 version 2.79.2-1~ubuntu1 198s autopkgtest [05:55:36]: build not needed 284s autopkgtest [05:57:02]: test build: preparing testbed 286s Reading package lists... 286s Building dependency tree... 286s Reading state information... 286s Starting pkgProblemResolver with broken count: 0 286s Starting 2 pkgProblemResolver with broken count: 0 286s Done 287s The following additional packages will be installed: 287s build-essential cpp cpp-13 cpp-13-powerpc64le-linux-gnu 287s cpp-powerpc64le-linux-gnu g++ g++-13 g++-13-powerpc64le-linux-gnu 287s g++-powerpc64le-linux-gnu gcc gcc-13 gcc-13-powerpc64le-linux-gnu 287s gcc-powerpc64le-linux-gnu libasan8 libatomic1 libblkid-dev libc-dev-bin 287s libc6-dev libcc1-0 libcrypt-dev libffi-dev libgcc-13-dev 287s libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin 287s libgomp1 libisl23 libitm1 liblsan0 libmount-dev libmpc3 libnsl-dev 287s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 287s libquadmath0 libselinux1-dev libsepol-dev libstdc++-13-dev libtirpc-dev 287s libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin python3-packaging 287s rpcsvc-proto uuid-dev zlib1g-dev 287s Suggested packages: 287s cpp-doc gcc-13-locales cpp-13-doc gcc-13-doc gcc-multilib manpages-dev 287s autoconf automake libtool flex bison gdb gcc-doc gdb-powerpc64le-linux-gnu 287s glibc-doc libgirepository1.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin 287s libxml2-utils libstdc++-13-doc 287s Recommended packages: 287s manpages manpages-dev libc-devtools 287s The following NEW packages will be installed: 287s autopkgtest-satdep build-essential cpp cpp-13 cpp-13-powerpc64le-linux-gnu 287s cpp-powerpc64le-linux-gnu g++ g++-13 g++-13-powerpc64le-linux-gnu 287s g++-powerpc64le-linux-gnu gcc gcc-13 gcc-13-powerpc64le-linux-gnu 287s gcc-powerpc64le-linux-gnu libasan8 libatomic1 libblkid-dev libc-dev-bin 287s libc6-dev libcc1-0 libcrypt-dev libffi-dev libgcc-13-dev 287s libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin 287s libgomp1 libisl23 libitm1 liblsan0 libmount-dev libmpc3 libnsl-dev 287s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 287s libquadmath0 libselinux1-dev libsepol-dev libstdc++-13-dev libtirpc-dev 287s libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin python3-packaging 287s rpcsvc-proto uuid-dev zlib1g-dev 287s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded. 287s Need to get 67.8 MB/67.8 MB of archives. 287s After this operation, 267 MB of additional disk space will be used. 287s Get:1 /tmp/autopkgtest.MN3iWN/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [724 B] 287s Get:2 http://ftpmaster.internal/ubuntu noble/main ppc64el libc-dev-bin ppc64el 2.39-0ubuntu2 [21.3 kB] 287s Get:3 http://ftpmaster.internal/ubuntu noble/main ppc64el linux-libc-dev ppc64el 6.8.0-11.11 [1585 kB] 287s Get:4 http://ftpmaster.internal/ubuntu noble/main ppc64el libcrypt-dev ppc64el 1:4.4.36-4 [167 kB] 287s Get:5 http://ftpmaster.internal/ubuntu noble/main ppc64el libtirpc-dev ppc64el 1.3.4+ds-1build1 [262 kB] 287s Get:6 http://ftpmaster.internal/ubuntu noble/main ppc64el libnsl-dev ppc64el 1.3.0-3 [79.2 kB] 287s Get:7 http://ftpmaster.internal/ubuntu noble/main ppc64el rpcsvc-proto ppc64el 1.4.2-0ubuntu6 [82.3 kB] 287s Get:8 http://ftpmaster.internal/ubuntu noble/main ppc64el libc6-dev ppc64el 2.39-0ubuntu2 [2102 kB] 288s Get:9 http://ftpmaster.internal/ubuntu noble/main ppc64el libisl23 ppc64el 0.26-3 [864 kB] 288s Get:10 http://ftpmaster.internal/ubuntu noble/main ppc64el libmpc3 ppc64el 1.3.1-1 [61.2 kB] 288s Get:11 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp-13-powerpc64le-linux-gnu ppc64el 13.2.0-17ubuntu2 [10.7 MB] 288s Get:12 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp-13 ppc64el 13.2.0-17ubuntu2 [1038 B] 288s Get:13 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [5330 B] 288s Get:14 http://ftpmaster.internal/ubuntu noble/main ppc64el cpp ppc64el 4:13.2.0-7ubuntu1 [22.5 kB] 288s Get:15 http://ftpmaster.internal/ubuntu noble/main ppc64el libcc1-0 ppc64el 14-20240303-1ubuntu1 [48.1 kB] 288s Get:16 http://ftpmaster.internal/ubuntu noble/main ppc64el libgomp1 ppc64el 14-20240303-1ubuntu1 [161 kB] 288s Get:17 http://ftpmaster.internal/ubuntu noble/main ppc64el libitm1 ppc64el 14-20240303-1ubuntu1 [32.4 kB] 288s Get:18 http://ftpmaster.internal/ubuntu noble/main ppc64el libatomic1 ppc64el 14-20240303-1ubuntu1 [10.7 kB] 288s Get:19 http://ftpmaster.internal/ubuntu noble/main ppc64el libasan8 ppc64el 14-20240303-1ubuntu1 [2973 kB] 289s Get:20 http://ftpmaster.internal/ubuntu noble/main ppc64el liblsan0 ppc64el 14-20240303-1ubuntu1 [1325 kB] 289s Get:21 http://ftpmaster.internal/ubuntu noble/main ppc64el libtsan2 ppc64el 14-20240303-1ubuntu1 [2734 kB] 289s Get:22 http://ftpmaster.internal/ubuntu noble/main ppc64el libubsan1 ppc64el 14-20240303-1ubuntu1 [1194 kB] 289s Get:23 http://ftpmaster.internal/ubuntu noble/main ppc64el libquadmath0 ppc64el 14-20240303-1ubuntu1 [158 kB] 289s Get:24 http://ftpmaster.internal/ubuntu noble/main ppc64el libgcc-13-dev ppc64el 13.2.0-17ubuntu2 [1581 kB] 289s Get:25 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc-13-powerpc64le-linux-gnu ppc64el 13.2.0-17ubuntu2 [20.6 MB] 289s Get:26 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc-13 ppc64el 13.2.0-17ubuntu2 [477 kB] 290s Get:27 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [1224 B] 290s Get:28 http://ftpmaster.internal/ubuntu noble/main ppc64el gcc ppc64el 4:13.2.0-7ubuntu1 [5022 B] 290s Get:29 http://ftpmaster.internal/ubuntu noble/main ppc64el libstdc++-13-dev ppc64el 13.2.0-17ubuntu2 [2445 kB] 290s Get:30 http://ftpmaster.internal/ubuntu noble/main ppc64el g++-13-powerpc64le-linux-gnu ppc64el 13.2.0-17ubuntu2 [12.2 MB] 290s Get:31 http://ftpmaster.internal/ubuntu noble/main ppc64el g++-13 ppc64el 13.2.0-17ubuntu2 [14.5 kB] 290s Get:32 http://ftpmaster.internal/ubuntu noble/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:13.2.0-7ubuntu1 [968 B] 290s Get:33 http://ftpmaster.internal/ubuntu noble/main ppc64el g++ ppc64el 4:13.2.0-7ubuntu1 [1086 B] 290s Get:34 http://ftpmaster.internal/ubuntu noble/main ppc64el build-essential ppc64el 12.10ubuntu1 [4936 B] 290s Get:35 http://ftpmaster.internal/ubuntu noble/main ppc64el libgirepository-2.0-0 ppc64el 2.79.2-1~ubuntu1 [84.4 kB] 290s Get:36 http://ftpmaster.internal/ubuntu noble/main ppc64el libglib2.0-bin ppc64el 2.79.2-1~ubuntu1 [111 kB] 290s Get:37 http://ftpmaster.internal/ubuntu noble/main ppc64el libffi-dev ppc64el 3.4.6-1 [67.4 kB] 290s Get:38 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-packaging all 23.2-1 [40.6 kB] 290s Get:39 http://ftpmaster.internal/ubuntu noble/main ppc64el libglib2.0-dev-bin ppc64el 2.79.2-1~ubuntu1 [240 kB] 290s Get:40 http://ftpmaster.internal/ubuntu noble/main ppc64el uuid-dev ppc64el 2.39.3-6ubuntu2 [37.6 kB] 290s Get:41 http://ftpmaster.internal/ubuntu noble/main ppc64el libblkid-dev ppc64el 2.39.3-6ubuntu2 [260 kB] 290s Get:42 http://ftpmaster.internal/ubuntu noble/main ppc64el libsepol-dev ppc64el 3.5-2 [471 kB] 290s Get:43 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-16-0 ppc64el 10.42-4ubuntu1 [245 kB] 290s Get:44 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-32-0 ppc64el 10.42-4ubuntu1 [228 kB] 290s Get:45 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-posix3 ppc64el 10.42-4ubuntu1 [7016 B] 290s Get:46 http://ftpmaster.internal/ubuntu noble/main ppc64el libpcre2-dev ppc64el 10.42-4ubuntu1 [794 kB] 290s Get:47 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libselinux1-dev ppc64el 3.5-2ubuntu1 [192 kB] 290s Get:48 http://ftpmaster.internal/ubuntu noble/main ppc64el libmount-dev ppc64el 2.39.3-6ubuntu2 [14.9 kB] 290s Get:49 http://ftpmaster.internal/ubuntu noble/main ppc64el libpkgconf3 ppc64el 1.8.1-2 [36.9 kB] 290s Get:50 http://ftpmaster.internal/ubuntu noble/main ppc64el pkgconf-bin ppc64el 1.8.1-2 [22.0 kB] 290s Get:51 http://ftpmaster.internal/ubuntu noble/main ppc64el pkgconf ppc64el 1.8.1-2 [16.7 kB] 290s Get:52 http://ftpmaster.internal/ubuntu noble/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg-3ubuntu1 [902 kB] 290s Get:53 http://ftpmaster.internal/ubuntu noble/main ppc64el libglib2.0-dev ppc64el 2.79.2-1~ubuntu1 [2147 kB] 290s Fetched 67.8 MB in 3s (19.9 MB/s) 290s Selecting previously unselected package libc-dev-bin. 290s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 70095 files and directories currently installed.) 290s Preparing to unpack .../00-libc-dev-bin_2.39-0ubuntu2_ppc64el.deb ... 290s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 290s Selecting previously unselected package linux-libc-dev:ppc64el. 290s Preparing to unpack .../01-linux-libc-dev_6.8.0-11.11_ppc64el.deb ... 290s Unpacking linux-libc-dev:ppc64el (6.8.0-11.11) ... 291s Selecting previously unselected package libcrypt-dev:ppc64el. 291s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.36-4_ppc64el.deb ... 291s Unpacking libcrypt-dev:ppc64el (1:4.4.36-4) ... 291s Selecting previously unselected package libtirpc-dev:ppc64el. 291s Preparing to unpack .../03-libtirpc-dev_1.3.4+ds-1build1_ppc64el.deb ... 291s Unpacking libtirpc-dev:ppc64el (1.3.4+ds-1build1) ... 291s Selecting previously unselected package libnsl-dev:ppc64el. 291s Preparing to unpack .../04-libnsl-dev_1.3.0-3_ppc64el.deb ... 291s Unpacking libnsl-dev:ppc64el (1.3.0-3) ... 291s Selecting previously unselected package rpcsvc-proto. 291s Preparing to unpack .../05-rpcsvc-proto_1.4.2-0ubuntu6_ppc64el.deb ... 291s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 291s Selecting previously unselected package libc6-dev:ppc64el. 291s Preparing to unpack .../06-libc6-dev_2.39-0ubuntu2_ppc64el.deb ... 291s Unpacking libc6-dev:ppc64el (2.39-0ubuntu2) ... 291s Selecting previously unselected package libisl23:ppc64el. 291s Preparing to unpack .../07-libisl23_0.26-3_ppc64el.deb ... 291s Unpacking libisl23:ppc64el (0.26-3) ... 291s Selecting previously unselected package libmpc3:ppc64el. 291s Preparing to unpack .../08-libmpc3_1.3.1-1_ppc64el.deb ... 291s Unpacking libmpc3:ppc64el (1.3.1-1) ... 291s Selecting previously unselected package cpp-13-powerpc64le-linux-gnu. 291s Preparing to unpack .../09-cpp-13-powerpc64le-linux-gnu_13.2.0-17ubuntu2_ppc64el.deb ... 291s Unpacking cpp-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 291s Selecting previously unselected package cpp-13. 291s Preparing to unpack .../10-cpp-13_13.2.0-17ubuntu2_ppc64el.deb ... 291s Unpacking cpp-13 (13.2.0-17ubuntu2) ... 291s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 291s Preparing to unpack .../11-cpp-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 291s Unpacking cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 291s Selecting previously unselected package cpp. 291s Preparing to unpack .../12-cpp_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 291s Unpacking cpp (4:13.2.0-7ubuntu1) ... 291s Selecting previously unselected package libcc1-0:ppc64el. 291s Preparing to unpack .../13-libcc1-0_14-20240303-1ubuntu1_ppc64el.deb ... 291s Unpacking libcc1-0:ppc64el (14-20240303-1ubuntu1) ... 291s Selecting previously unselected package libgomp1:ppc64el. 291s Preparing to unpack .../14-libgomp1_14-20240303-1ubuntu1_ppc64el.deb ... 291s Unpacking libgomp1:ppc64el (14-20240303-1ubuntu1) ... 291s Selecting previously unselected package libitm1:ppc64el. 291s Preparing to unpack .../15-libitm1_14-20240303-1ubuntu1_ppc64el.deb ... 291s Unpacking libitm1:ppc64el (14-20240303-1ubuntu1) ... 291s Selecting previously unselected package libatomic1:ppc64el. 291s Preparing to unpack .../16-libatomic1_14-20240303-1ubuntu1_ppc64el.deb ... 291s Unpacking libatomic1:ppc64el (14-20240303-1ubuntu1) ... 291s Selecting previously unselected package libasan8:ppc64el. 291s Preparing to unpack .../17-libasan8_14-20240303-1ubuntu1_ppc64el.deb ... 291s Unpacking libasan8:ppc64el (14-20240303-1ubuntu1) ... 291s Selecting previously unselected package liblsan0:ppc64el. 291s Preparing to unpack .../18-liblsan0_14-20240303-1ubuntu1_ppc64el.deb ... 291s Unpacking liblsan0:ppc64el (14-20240303-1ubuntu1) ... 291s Selecting previously unselected package libtsan2:ppc64el. 291s Preparing to unpack .../19-libtsan2_14-20240303-1ubuntu1_ppc64el.deb ... 291s Unpacking libtsan2:ppc64el (14-20240303-1ubuntu1) ... 291s Selecting previously unselected package libubsan1:ppc64el. 291s Preparing to unpack .../20-libubsan1_14-20240303-1ubuntu1_ppc64el.deb ... 291s Unpacking libubsan1:ppc64el (14-20240303-1ubuntu1) ... 291s Selecting previously unselected package libquadmath0:ppc64el. 291s Preparing to unpack .../21-libquadmath0_14-20240303-1ubuntu1_ppc64el.deb ... 291s Unpacking libquadmath0:ppc64el (14-20240303-1ubuntu1) ... 292s Selecting previously unselected package libgcc-13-dev:ppc64el. 292s Preparing to unpack .../22-libgcc-13-dev_13.2.0-17ubuntu2_ppc64el.deb ... 292s Unpacking libgcc-13-dev:ppc64el (13.2.0-17ubuntu2) ... 292s Selecting previously unselected package gcc-13-powerpc64le-linux-gnu. 292s Preparing to unpack .../23-gcc-13-powerpc64le-linux-gnu_13.2.0-17ubuntu2_ppc64el.deb ... 292s Unpacking gcc-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 292s Selecting previously unselected package gcc-13. 292s Preparing to unpack .../24-gcc-13_13.2.0-17ubuntu2_ppc64el.deb ... 292s Unpacking gcc-13 (13.2.0-17ubuntu2) ... 292s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 292s Preparing to unpack .../25-gcc-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 292s Unpacking gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 292s Selecting previously unselected package gcc. 292s Preparing to unpack .../26-gcc_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 292s Unpacking gcc (4:13.2.0-7ubuntu1) ... 292s Selecting previously unselected package libstdc++-13-dev:ppc64el. 292s Preparing to unpack .../27-libstdc++-13-dev_13.2.0-17ubuntu2_ppc64el.deb ... 292s Unpacking libstdc++-13-dev:ppc64el (13.2.0-17ubuntu2) ... 292s Selecting previously unselected package g++-13-powerpc64le-linux-gnu. 292s Preparing to unpack .../28-g++-13-powerpc64le-linux-gnu_13.2.0-17ubuntu2_ppc64el.deb ... 292s Unpacking g++-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 293s Selecting previously unselected package g++-13. 293s Preparing to unpack .../29-g++-13_13.2.0-17ubuntu2_ppc64el.deb ... 293s Unpacking g++-13 (13.2.0-17ubuntu2) ... 293s Selecting previously unselected package g++-powerpc64le-linux-gnu. 293s Preparing to unpack .../30-g++-powerpc64le-linux-gnu_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 293s Unpacking g++-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 293s Selecting previously unselected package g++. 293s Preparing to unpack .../31-g++_4%3a13.2.0-7ubuntu1_ppc64el.deb ... 293s Unpacking g++ (4:13.2.0-7ubuntu1) ... 293s Selecting previously unselected package build-essential. 293s Preparing to unpack .../32-build-essential_12.10ubuntu1_ppc64el.deb ... 293s Unpacking build-essential (12.10ubuntu1) ... 293s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 293s Preparing to unpack .../33-libgirepository-2.0-0_2.79.2-1~ubuntu1_ppc64el.deb ... 293s Unpacking libgirepository-2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 293s Selecting previously unselected package libglib2.0-bin. 293s Preparing to unpack .../34-libglib2.0-bin_2.79.2-1~ubuntu1_ppc64el.deb ... 293s Unpacking libglib2.0-bin (2.79.2-1~ubuntu1) ... 293s Selecting previously unselected package libffi-dev:ppc64el. 293s Preparing to unpack .../35-libffi-dev_3.4.6-1_ppc64el.deb ... 293s Unpacking libffi-dev:ppc64el (3.4.6-1) ... 293s Selecting previously unselected package python3-packaging. 293s Preparing to unpack .../36-python3-packaging_23.2-1_all.deb ... 293s Unpacking python3-packaging (23.2-1) ... 293s Selecting previously unselected package libglib2.0-dev-bin. 293s Preparing to unpack .../37-libglib2.0-dev-bin_2.79.2-1~ubuntu1_ppc64el.deb ... 293s Unpacking libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 293s Selecting previously unselected package uuid-dev:ppc64el. 293s Preparing to unpack .../38-uuid-dev_2.39.3-6ubuntu2_ppc64el.deb ... 293s Unpacking uuid-dev:ppc64el (2.39.3-6ubuntu2) ... 293s Selecting previously unselected package libblkid-dev:ppc64el. 293s Preparing to unpack .../39-libblkid-dev_2.39.3-6ubuntu2_ppc64el.deb ... 293s Unpacking libblkid-dev:ppc64el (2.39.3-6ubuntu2) ... 293s Selecting previously unselected package libsepol-dev:ppc64el. 293s Preparing to unpack .../40-libsepol-dev_3.5-2_ppc64el.deb ... 293s Unpacking libsepol-dev:ppc64el (3.5-2) ... 293s Selecting previously unselected package libpcre2-16-0:ppc64el. 293s Preparing to unpack .../41-libpcre2-16-0_10.42-4ubuntu1_ppc64el.deb ... 293s Unpacking libpcre2-16-0:ppc64el (10.42-4ubuntu1) ... 293s Selecting previously unselected package libpcre2-32-0:ppc64el. 293s Preparing to unpack .../42-libpcre2-32-0_10.42-4ubuntu1_ppc64el.deb ... 293s Unpacking libpcre2-32-0:ppc64el (10.42-4ubuntu1) ... 293s Selecting previously unselected package libpcre2-posix3:ppc64el. 293s Preparing to unpack .../43-libpcre2-posix3_10.42-4ubuntu1_ppc64el.deb ... 293s Unpacking libpcre2-posix3:ppc64el (10.42-4ubuntu1) ... 293s Selecting previously unselected package libpcre2-dev:ppc64el. 293s Preparing to unpack .../44-libpcre2-dev_10.42-4ubuntu1_ppc64el.deb ... 293s Unpacking libpcre2-dev:ppc64el (10.42-4ubuntu1) ... 293s Selecting previously unselected package libselinux1-dev:ppc64el. 293s Preparing to unpack .../45-libselinux1-dev_3.5-2ubuntu1_ppc64el.deb ... 293s Unpacking libselinux1-dev:ppc64el (3.5-2ubuntu1) ... 293s Selecting previously unselected package libmount-dev:ppc64el. 293s Preparing to unpack .../46-libmount-dev_2.39.3-6ubuntu2_ppc64el.deb ... 293s Unpacking libmount-dev:ppc64el (2.39.3-6ubuntu2) ... 293s Selecting previously unselected package libpkgconf3:ppc64el. 293s Preparing to unpack .../47-libpkgconf3_1.8.1-2_ppc64el.deb ... 293s Unpacking libpkgconf3:ppc64el (1.8.1-2) ... 293s Selecting previously unselected package pkgconf-bin. 293s Preparing to unpack .../48-pkgconf-bin_1.8.1-2_ppc64el.deb ... 293s Unpacking pkgconf-bin (1.8.1-2) ... 293s Selecting previously unselected package pkgconf:ppc64el. 293s Preparing to unpack .../49-pkgconf_1.8.1-2_ppc64el.deb ... 293s Unpacking pkgconf:ppc64el (1.8.1-2) ... 293s Selecting previously unselected package zlib1g-dev:ppc64el. 293s Preparing to unpack .../50-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_ppc64el.deb ... 293s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg-3ubuntu1) ... 293s Selecting previously unselected package libglib2.0-dev:ppc64el. 293s Preparing to unpack .../51-libglib2.0-dev_2.79.2-1~ubuntu1_ppc64el.deb ... 293s Unpacking libglib2.0-dev:ppc64el (2.79.2-1~ubuntu1) ... 293s Selecting previously unselected package autopkgtest-satdep. 293s Preparing to unpack .../52-1-autopkgtest-satdep.deb ... 293s Unpacking autopkgtest-satdep (0) ... 293s Setting up libgirepository-2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 293s Setting up linux-libc-dev:ppc64el (6.8.0-11.11) ... 293s Setting up libglib2.0-bin (2.79.2-1~ubuntu1) ... 293s Setting up libgomp1:ppc64el (14-20240303-1ubuntu1) ... 293s Setting up libffi-dev:ppc64el (3.4.6-1) ... 293s Setting up libpcre2-16-0:ppc64el (10.42-4ubuntu1) ... 293s Setting up libpcre2-32-0:ppc64el (10.42-4ubuntu1) ... 293s Setting up python3-packaging (23.2-1) ... 293s Setting up libtirpc-dev:ppc64el (1.3.4+ds-1build1) ... 293s Setting up libpkgconf3:ppc64el (1.8.1-2) ... 293s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 293s Setting up libquadmath0:ppc64el (14-20240303-1ubuntu1) ... 293s Setting up libmpc3:ppc64el (1.3.1-1) ... 293s Setting up libatomic1:ppc64el (14-20240303-1ubuntu1) ... 293s Setting up libsepol-dev:ppc64el (3.5-2) ... 293s Setting up pkgconf-bin (1.8.1-2) ... 293s Setting up libubsan1:ppc64el (14-20240303-1ubuntu1) ... 293s Setting up libpcre2-posix3:ppc64el (10.42-4ubuntu1) ... 293s Setting up libnsl-dev:ppc64el (1.3.0-3) ... 293s Setting up libcrypt-dev:ppc64el (1:4.4.36-4) ... 293s Setting up libasan8:ppc64el (14-20240303-1ubuntu1) ... 293s Setting up libtsan2:ppc64el (14-20240303-1ubuntu1) ... 293s Setting up libisl23:ppc64el (0.26-3) ... 293s Setting up libc-dev-bin (2.39-0ubuntu2) ... 293s Setting up cpp-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 293s Setting up libcc1-0:ppc64el (14-20240303-1ubuntu1) ... 293s Setting up liblsan0:ppc64el (14-20240303-1ubuntu1) ... 293s Setting up libitm1:ppc64el (14-20240303-1ubuntu1) ... 293s Setting up cpp-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 293s Setting up libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 294s Setting up cpp-13 (13.2.0-17ubuntu2) ... 294s Setting up pkgconf:ppc64el (1.8.1-2) ... 294s Setting up libgcc-13-dev:ppc64el (13.2.0-17ubuntu2) ... 294s Setting up cpp (4:13.2.0-7ubuntu1) ... 294s Setting up libc6-dev:ppc64el (2.39-0ubuntu2) ... 294s Setting up libstdc++-13-dev:ppc64el (13.2.0-17ubuntu2) ... 294s Setting up libpcre2-dev:ppc64el (10.42-4ubuntu1) ... 294s Setting up libselinux1-dev:ppc64el (3.5-2ubuntu1) ... 294s Setting up uuid-dev:ppc64el (2.39.3-6ubuntu2) ... 294s Setting up gcc-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 294s Setting up gcc-13 (13.2.0-17ubuntu2) ... 294s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg-3ubuntu1) ... 294s Setting up libblkid-dev:ppc64el (2.39.3-6ubuntu2) ... 294s Setting up g++-13-powerpc64le-linux-gnu (13.2.0-17ubuntu2) ... 294s Setting up gcc-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 294s Setting up libmount-dev:ppc64el (2.39.3-6ubuntu2) ... 294s Setting up g++-powerpc64le-linux-gnu (4:13.2.0-7ubuntu1) ... 294s Setting up g++-13 (13.2.0-17ubuntu2) ... 294s Setting up gcc (4:13.2.0-7ubuntu1) ... 294s Setting up libglib2.0-dev:ppc64el (2.79.2-1~ubuntu1) ... 294s Setting up g++ (4:13.2.0-7ubuntu1) ... 294s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 294s Setting up build-essential (12.10ubuntu1) ... 294s Processing triggers for libc-bin (2.39-0ubuntu2) ... 294s Processing triggers for man-db (2.12.0-3) ... 295s Processing triggers for install-info (7.1-3) ... 295s Processing triggers for libglib2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 295s No schema files found: doing nothing. 295s Setting up autopkgtest-satdep (0) ... 297s (Reading database ... 73918 files and directories currently installed.) 297s Removing autopkgtest-satdep (0) ... 297s autopkgtest [05:57:15]: test build: [----------------------- 298s + mode=dynamic 298s + getopt -o --long static -n debian/tests/build -- 298s + getopt_temp= -- 298s + eval set -- -- 298s + set -- -- 298s + true 298s + shift 298s + break 298s + mktemp -d 298s + WORKDIR=/tmp/tmp.8KLM8MGPPD 298s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 298s + cd /tmp/tmp.8KLM8MGPPD 298s + [ -n ] 298s + CROSS_COMPILE= 298s + cat 298s + cat 298s + cat 298s + cat 298s + cat 298s + cat 298s + cflags= 298s + pcflags= 298s + packages=glib-2.0 298s + pkg-config --cflags --libs glib-2.0 298s + 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 298s + echo build (glib, dynamic): OK 298s + [ -x glib-dynamic ] 298s + build (glib, dynamic): OK 298s foo=bar ./glib-dynamic 298s + run (glib, dynamic): OK 298s echo run (glib, dynamic): OK 298s + cflags= 298s + pcflags= 298s + packages=gobject-2.0 298s + pkg-config --cflags --libs gobject-2.0 298s + 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 298s build (gobject, dynamic): OK 298s + echo build (gobject, dynamic): OK 298s + [ -x gobject-dynamic ] 298s + foo=bar ./gobject-dynamic 298s run (gobject, dynamic): OK 298s + echo run (gobject, dynamic): OK 298s + cflags= 298s + pcflags= 298s + packages=gio-2.0 298s + pkg-config --cflags --libs gio-2.0 298s + 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 298s build (gio, dynamic): OK 298s + echo build (gio, dynamic): OK 298s + [ -x gio-dynamic ] 298s + foo=bar ./gio-dynamic 298s + echo run (gio, dynamic): OK 298s run (gio, dynamic): OK 298s + cflags= 298s + pcflags= 298s + packages=gio-unix-2.0 298s + pkg-config --cflags --libs gio-unix-2.0 298s + 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 298s + echo build (gio-unix, dynamic): OK 298s + [ -x gio-unix-dynamic ] 298s + foo=bar ./gio-unix-dynamic 298s build (gio-unix, dynamic): OK 298s + echo run (gio-unix, dynamic): OK 298s + cflags= 298s + pcflags= 298s + packages=gmodule-2.0 298s + pkg-config --cflags --libs gmodule-2.0 298s run (gio-unix, dynamic): OK 298s + 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 298s + echo build (gmodule, dynamic): OK 298s build (gmodule, dynamic): OK 298s + [ -x gmodule-dynamic ] 298s + foo=bar ./gmodule-dynamic 298s + run (gmodule, dynamic): OK 298s echo run (gmodule, dynamic): OK 298s + cflags= 298s + pcflags= 298s + packages=gthread-2.0 298s + pkg-config --cflags --libs gthread-2.0 298s + 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 298s + build (gthread, dynamic): OK 298s echo build (gthread, dynamic): OK 298s + [ -x gthread-dynamic ] 298s + foo=bar ./gthread-dynamic 298s + echo run (gthread, dynamic): OK 298s + rm -rf /tmp/tmp.8KLM8MGPPD 298s run (gthread, dynamic): OK 299s autopkgtest [05:57:17]: test build: -----------------------] 299s autopkgtest [05:57:17]: test build: - - - - - - - - - - results - - - - - - - - - - 299s build PASS (superficial) 299s autopkgtest [05:57:17]: test build-static: preparing testbed 301s Reading package lists... 301s Building dependency tree... 301s Reading state information... 301s Starting pkgProblemResolver with broken count: 0 301s Starting 2 pkgProblemResolver with broken count: 0 301s Done 301s The following NEW packages will be installed: 301s autopkgtest-satdep 301s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 301s Need to get 0 B/728 B of archives. 301s After this operation, 0 B of additional disk space will be used. 301s Get:1 /tmp/autopkgtest.MN3iWN/2-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [728 B] 302s Selecting previously unselected package autopkgtest-satdep. 302s (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 ... 73918 files and directories currently installed.) 302s Preparing to unpack .../2-autopkgtest-satdep.deb ... 302s Unpacking autopkgtest-satdep (0) ... 302s Setting up autopkgtest-satdep (0) ... 303s (Reading database ... 73918 files and directories currently installed.) 303s Removing autopkgtest-satdep (0) ... 304s autopkgtest [05:57:22]: test build-static: [----------------------- 304s + mode=dynamic 304s + getopt -o --long static -n debian/tests/build -- --static 304s + getopt_temp= --static -- 304s + eval set -- --static -- 304s + set -- --static -- 304s + true 304s + mode=static 304s + shift 304s + continue 304s + true 304s + shift 304s + break 304s + mktemp -d 304s + WORKDIR=/tmp/tmp.0u8VMdrrn2 304s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 304s + cd /tmp/tmp.0u8VMdrrn2 304s + [ -n ] 304s + CROSS_COMPILE= 304s + cat 304s + cat 304s + cat 304s + cat 304s + cat 304s + cat 304s + cflags= 304s + pcflags= 304s + packages=glib-2.0 304s + cflags=-static 304s + pcflags=--static 304s + pkg-config --static --cflags --libs glib-2.0 304s + 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 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 + echo build (glib, static): OK 304s + [ -x glib-static ] 304s + foo=bar ./glib-static 304s + echo run (glib, static): OK 304s + cflags= 304s + pcflags= 304s + packages=gobject-2.0 304s + cflags=-static 304s + pcflags=--static 304s + pkg-config --static --cflags --libs gobject-2.0build (glib, static): OK 304s run (glib, static): OK 304s 304s + 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 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 305s build (gobject, static): OK 305s run (gobject, static): OK 305s + echo build (gobject, static): OK 305s + [ -x gobject-static ] 305s + foo=bar ./gobject-static 305s + echo run (gobject, static): OK 305s + cflags= 305s + pcflags= 305s + packages=gio-2.0 305s + cflags=-static 305s + pcflags=--static 305s + continue 305s + cflags= 305s + pcflags= 305s + packages=gio-unix-2.0 305s + cflags=-static 305s + pcflags=--static 305s + continue 305s + cflags= 305s + pcflags= 305s + packages=gmodule-2.0 305s + cflags=-static 305s + pcflags=--static 305s + pkg-config --static --cflags --libs gmodule-2.0 305s + 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 305s /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': 305s (.text+0x9b8): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 305s /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': 305s (.text+0x170): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 305s /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 305s /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 305s + echo build (gmodule, static): OK 305s + [build (gmodule, static): OK 305s -x gmodule-static ] 305s + foo=bar ./gmodule-static 305s + echo run (gmodule, static): OK 305s + run (gmodule, static): OK 305s cflags= 305s + pcflags= 305s + packages=gthread-2.0 305s + cflags=-static 305s + pcflags=--static 305s + pkg-config --static --cflags --libs gthread-2.0 305s + 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 305s /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': 305s (.text+0x170): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 305s /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 305s /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 305s build (gthread, static): OK 305s + echo build (gthread, static): OK 305s + [ -x gthread-static ] 305s + foo=bar ./gthread-static 305s + echo run (gthread, static): OKrun (gthread, static): OK 305s 305s + rm -rf /tmp/tmp.0u8VMdrrn2 305s autopkgtest [05:57:23]: test build-static: -----------------------] 306s build-static PASS (superficial) 306s autopkgtest [05:57:24]: test build-static: - - - - - - - - - - results - - - - - - - - - - 306s autopkgtest [05:57:24]: test installed-tests: preparing testbed 440s autopkgtest [05:59:38]: testbed dpkg architecture: ppc64el 440s autopkgtest [05:59:38]: testbed apt version: 2.7.12 440s autopkgtest [05:59:38]: @@@@@@@@@@@@@@@@@@@@ test bed setup 441s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 441s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [6540 B] 441s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [497 kB] 441s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [3757 kB] 442s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [52.7 kB] 442s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el Packages [660 kB] 442s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el c-n-f Metadata [3116 B] 442s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el Packages [1372 B] 442s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted ppc64el c-n-f Metadata [116 B] 442s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el Packages [4177 kB] 442s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe ppc64el c-n-f Metadata [8652 B] 442s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el Packages [47.7 kB] 442s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse ppc64el c-n-f Metadata [116 B] 445s Fetched 9327 kB in 2s (3802 kB/s) 446s Reading package lists... 448s Reading package lists... 449s Building dependency tree... 449s Reading state information... 449s Calculating upgrade... 449s The following packages will be upgraded: 449s libselinux1 449s 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 449s Need to get 101 kB of archives. 449s After this operation, 0 B of additional disk space will be used. 449s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main ppc64el libselinux1 ppc64el 3.5-2ubuntu1 [101 kB] 449s Fetched 101 kB in 0s (302 kB/s) 450s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 70095 files and directories currently installed.) 450s Preparing to unpack .../libselinux1_3.5-2ubuntu1_ppc64el.deb ... 450s Unpacking libselinux1:ppc64el (3.5-2ubuntu1) over (3.5-2build1) ... 450s Setting up libselinux1:ppc64el (3.5-2ubuntu1) ... 450s Processing triggers for libc-bin (2.39-0ubuntu2) ... 450s Reading package lists... 450s Building dependency tree... 450s Reading state information... 450s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 451s Hit:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease 451s Hit:2 http://ftpmaster.internal/ubuntu noble InRelease 451s Hit:3 http://ftpmaster.internal/ubuntu noble-updates InRelease 451s Hit:4 http://ftpmaster.internal/ubuntu noble-security InRelease 452s Reading package lists... 452s Reading package lists... 453s Building dependency tree... 453s Reading state information... 453s Calculating upgrade... 453s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 453s Reading package lists... 453s Building dependency tree... 453s Reading state information... 453s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 458s Reading package lists... 458s Building dependency tree... 458s Reading state information... 458s Starting pkgProblemResolver with broken count: 0 458s Starting 2 pkgProblemResolver with broken count: 0 458s Done 459s The following additional packages will be installed: 459s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 459s libdrm-nouveau2 libdrm-radeon1 libfontenc1 libgirepository-2.0-0 libgl1 459s libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 459s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libllvm17 459s libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri2-0 459s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 459s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 459s libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 python3-dbusmock 459s python3-packaging x11-common x11-xkb-utils xserver-common xvfb 459s Suggested packages: 459s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 459s Recommended packages: 459s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 459s xfonts-base 459s The following NEW packages will be installed: 459s autopkgtest-satdep dbus-x11 desktop-file-utils gnome-desktop-testing 459s libdrm-amdgpu1 libdrm-nouveau2 libdrm-radeon1 libfontenc1 459s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin 459s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 459s libllvm17 libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 459s libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 459s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 459s libxmu6 libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 459s python3-dbusmock python3-packaging x11-common x11-xkb-utils xserver-common 459s xvfb 459s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 459s Need to get 39.4 MB/39.4 MB of archives. 459s After this operation, 211 MB of additional disk space will be used. 459s Get:1 /tmp/autopkgtest.MN3iWN/3-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 459s Get:2 http://ftpmaster.internal/ubuntu noble/main ppc64el dbus-x11 ppc64el 1.14.10-4ubuntu1 [24.4 kB] 459s Get:3 http://ftpmaster.internal/ubuntu noble/main ppc64el desktop-file-utils ppc64el 0.26-1ubuntu5 [62.5 kB] 459s Get:4 http://ftpmaster.internal/ubuntu noble/universe ppc64el gnome-desktop-testing ppc64el 2021.1-3 [16.9 kB] 459s Get:5 http://ftpmaster.internal/ubuntu noble/main ppc64el libdrm-amdgpu1 ppc64el 2.4.120-2 [24.5 kB] 459s Get:6 http://ftpmaster.internal/ubuntu noble/main ppc64el libdrm-nouveau2 ppc64el 2.4.120-2 [21.2 kB] 459s Get:7 http://ftpmaster.internal/ubuntu noble/main ppc64el libdrm-radeon1 ppc64el 2.4.120-2 [30.6 kB] 459s Get:8 http://ftpmaster.internal/ubuntu noble/main ppc64el libfontenc1 ppc64el 1:1.1.8-1 [15.7 kB] 459s Get:9 http://ftpmaster.internal/ubuntu noble/main ppc64el libgirepository-2.0-0 ppc64el 2.79.2-1~ubuntu1 [84.4 kB] 459s Get:10 http://ftpmaster.internal/ubuntu noble/main ppc64el libvulkan1 ppc64el 1.3.275.0-1 [176 kB] 459s Get:11 http://ftpmaster.internal/ubuntu noble/main ppc64el libglapi-mesa ppc64el 24.0.1-1ubuntu1 [41.8 kB] 459s Get:12 http://ftpmaster.internal/ubuntu noble/main ppc64el libllvm17 ppc64el 1:17.0.6-5build1 [27.3 MB] 460s Get:13 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-dri3-0 ppc64el 1.15-1 [7392 B] 460s Get:14 http://ftpmaster.internal/ubuntu noble/main ppc64el libgl1-mesa-dri ppc64el 24.0.1-1ubuntu1 [5885 kB] 460s Get:15 http://ftpmaster.internal/ubuntu noble/main ppc64el libglib2.0-bin ppc64el 2.79.2-1~ubuntu1 [111 kB] 460s Get:16 http://ftpmaster.internal/ubuntu noble/main ppc64el python3-packaging all 23.2-1 [40.6 kB] 460s Get:17 http://ftpmaster.internal/ubuntu noble/main ppc64el libglib2.0-dev-bin ppc64el 2.79.2-1~ubuntu1 [240 kB] 460s Get:18 http://ftpmaster.internal/ubuntu noble/universe ppc64el python3-dbusmock all 0.31.1-1 [85.5 kB] 460s Get:19 http://ftpmaster.internal/ubuntu noble/universe ppc64el libglib2.0-tests ppc64el 2.79.2-1~ubuntu1 [2183 kB] 460s Get:20 http://ftpmaster.internal/ubuntu noble/main ppc64el libx11-xcb1 ppc64el 2:1.8.7-1 [7866 B] 460s Get:21 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-dri2-0 ppc64el 1.15-1 [7444 B] 460s Get:22 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-glx0 ppc64el 1.15-1 [26.2 kB] 460s Get:23 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-present0 ppc64el 1.15-1 [5814 B] 460s Get:24 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-randr0 ppc64el 1.15-1 [18.9 kB] 460s Get:25 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-shm0 ppc64el 1.15-1 [5896 B] 460s Get:26 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-sync1 ppc64el 1.15-1 [9720 B] 460s Get:27 http://ftpmaster.internal/ubuntu noble/main ppc64el libxcb-xfixes0 ppc64el 1.15-1 [10.6 kB] 460s Get:28 http://ftpmaster.internal/ubuntu noble/main ppc64el libxfixes3 ppc64el 1:6.0.0-2 [11.6 kB] 460s Get:29 http://ftpmaster.internal/ubuntu noble/main ppc64el libxshmfence1 ppc64el 1.3-1build4 [5566 B] 460s Get:30 http://ftpmaster.internal/ubuntu noble/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-1build3 [11.8 kB] 460s Get:31 http://ftpmaster.internal/ubuntu noble/main ppc64el libglx-mesa0 ppc64el 24.0.1-1ubuntu1 [160 kB] 460s Get:32 http://ftpmaster.internal/ubuntu noble/main ppc64el x11-common all 1:7.7+23ubuntu2 [23.4 kB] 460s Get:33 http://ftpmaster.internal/ubuntu noble/main ppc64el libice6 ppc64el 2:1.0.10-1build2 [49.3 kB] 460s Get:34 http://ftpmaster.internal/ubuntu noble/main ppc64el libpixman-1-0 ppc64el 0.42.2-1 [300 kB] 460s Get:35 http://ftpmaster.internal/ubuntu noble/main ppc64el libsm6 ppc64el 2:1.2.3-1build2 [18.5 kB] 460s Get:36 http://ftpmaster.internal/ubuntu noble/main ppc64el libunwind8 ppc64el 1.6.2-3 [59.9 kB] 460s Get:37 http://ftpmaster.internal/ubuntu noble/main ppc64el libxt6 ppc64el 1:1.2.1-1.1 [198 kB] 460s Get:38 http://ftpmaster.internal/ubuntu noble/main ppc64el libxmu6 ppc64el 2:1.1.3-3 [57.2 kB] 460s Get:39 http://ftpmaster.internal/ubuntu noble/main ppc64el libxpm4 ppc64el 1:3.5.17-1 [48.6 kB] 460s Get:40 http://ftpmaster.internal/ubuntu noble/main ppc64el libxaw7 ppc64el 2:1.0.14-1 [227 kB] 460s Get:41 http://ftpmaster.internal/ubuntu noble/main ppc64el libxfont2 ppc64el 1:2.0.6-1 [115 kB] 460s Get:42 http://ftpmaster.internal/ubuntu noble/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build3 [89.3 kB] 460s Get:43 http://ftpmaster.internal/ubuntu noble/main ppc64el libxrender1 ppc64el 1:0.9.10-1.1 [23.3 kB] 460s Get:44 http://ftpmaster.internal/ubuntu noble/main ppc64el libxrandr2 ppc64el 2:1.5.2-2 [22.7 kB] 460s Get:45 http://ftpmaster.internal/ubuntu noble/main ppc64el x11-xkb-utils ppc64el 7.7+8 [199 kB] 460s Get:46 http://ftpmaster.internal/ubuntu noble/main ppc64el xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 460s Get:47 http://ftpmaster.internal/ubuntu noble/main ppc64el libglvnd0 ppc64el 1.7.0-1 [84.0 kB] 461s Get:48 http://ftpmaster.internal/ubuntu noble/main ppc64el libglx0 ppc64el 1.7.0-1 [42.1 kB] 461s Get:49 http://ftpmaster.internal/ubuntu noble/main ppc64el libgl1 ppc64el 1.7.0-1 [108 kB] 461s Get:50 http://ftpmaster.internal/ubuntu noble/universe ppc64el xvfb ppc64el 2:21.1.11-2ubuntu1 [1093 kB] 461s Fetched 39.4 MB in 2s (20.7 MB/s) 461s Selecting previously unselected package dbus-x11. 461s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 70095 files and directories currently installed.) 461s Preparing to unpack .../00-dbus-x11_1.14.10-4ubuntu1_ppc64el.deb ... 461s Unpacking dbus-x11 (1.14.10-4ubuntu1) ... 461s Selecting previously unselected package desktop-file-utils. 461s Preparing to unpack .../01-desktop-file-utils_0.26-1ubuntu5_ppc64el.deb ... 461s Unpacking desktop-file-utils (0.26-1ubuntu5) ... 461s Selecting previously unselected package gnome-desktop-testing. 461s Preparing to unpack .../02-gnome-desktop-testing_2021.1-3_ppc64el.deb ... 461s Unpacking gnome-desktop-testing (2021.1-3) ... 461s Selecting previously unselected package libdrm-amdgpu1:ppc64el. 461s Preparing to unpack .../03-libdrm-amdgpu1_2.4.120-2_ppc64el.deb ... 461s Unpacking libdrm-amdgpu1:ppc64el (2.4.120-2) ... 461s Selecting previously unselected package libdrm-nouveau2:ppc64el. 461s Preparing to unpack .../04-libdrm-nouveau2_2.4.120-2_ppc64el.deb ... 461s Unpacking libdrm-nouveau2:ppc64el (2.4.120-2) ... 461s Selecting previously unselected package libdrm-radeon1:ppc64el. 461s Preparing to unpack .../05-libdrm-radeon1_2.4.120-2_ppc64el.deb ... 461s Unpacking libdrm-radeon1:ppc64el (2.4.120-2) ... 461s Selecting previously unselected package libfontenc1:ppc64el. 461s Preparing to unpack .../06-libfontenc1_1%3a1.1.8-1_ppc64el.deb ... 461s Unpacking libfontenc1:ppc64el (1:1.1.8-1) ... 461s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 461s Preparing to unpack .../07-libgirepository-2.0-0_2.79.2-1~ubuntu1_ppc64el.deb ... 461s Unpacking libgirepository-2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 461s Selecting previously unselected package libvulkan1:ppc64el. 461s Preparing to unpack .../08-libvulkan1_1.3.275.0-1_ppc64el.deb ... 461s Unpacking libvulkan1:ppc64el (1.3.275.0-1) ... 461s Selecting previously unselected package libglapi-mesa:ppc64el. 461s Preparing to unpack .../09-libglapi-mesa_24.0.1-1ubuntu1_ppc64el.deb ... 461s Unpacking libglapi-mesa:ppc64el (24.0.1-1ubuntu1) ... 461s Selecting previously unselected package libllvm17:ppc64el. 461s Preparing to unpack .../10-libllvm17_1%3a17.0.6-5build1_ppc64el.deb ... 461s Unpacking libllvm17:ppc64el (1:17.0.6-5build1) ... 462s Selecting previously unselected package libxcb-dri3-0:ppc64el. 462s Preparing to unpack .../11-libxcb-dri3-0_1.15-1_ppc64el.deb ... 462s Unpacking libxcb-dri3-0:ppc64el (1.15-1) ... 462s Selecting previously unselected package libgl1-mesa-dri:ppc64el. 462s Preparing to unpack .../12-libgl1-mesa-dri_24.0.1-1ubuntu1_ppc64el.deb ... 462s Unpacking libgl1-mesa-dri:ppc64el (24.0.1-1ubuntu1) ... 462s Selecting previously unselected package libglib2.0-bin. 462s Preparing to unpack .../13-libglib2.0-bin_2.79.2-1~ubuntu1_ppc64el.deb ... 462s Unpacking libglib2.0-bin (2.79.2-1~ubuntu1) ... 462s Selecting previously unselected package python3-packaging. 462s Preparing to unpack .../14-python3-packaging_23.2-1_all.deb ... 462s Unpacking python3-packaging (23.2-1) ... 462s Selecting previously unselected package libglib2.0-dev-bin. 462s Preparing to unpack .../15-libglib2.0-dev-bin_2.79.2-1~ubuntu1_ppc64el.deb ... 462s Unpacking libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 462s Selecting previously unselected package python3-dbusmock. 462s Preparing to unpack .../16-python3-dbusmock_0.31.1-1_all.deb ... 462s Unpacking python3-dbusmock (0.31.1-1) ... 462s Selecting previously unselected package libglib2.0-tests. 462s Preparing to unpack .../17-libglib2.0-tests_2.79.2-1~ubuntu1_ppc64el.deb ... 462s Unpacking libglib2.0-tests (2.79.2-1~ubuntu1) ... 463s Selecting previously unselected package libx11-xcb1:ppc64el. 463s Preparing to unpack .../18-libx11-xcb1_2%3a1.8.7-1_ppc64el.deb ... 463s Unpacking libx11-xcb1:ppc64el (2:1.8.7-1) ... 463s Selecting previously unselected package libxcb-dri2-0:ppc64el. 463s Preparing to unpack .../19-libxcb-dri2-0_1.15-1_ppc64el.deb ... 463s Unpacking libxcb-dri2-0:ppc64el (1.15-1) ... 463s Selecting previously unselected package libxcb-glx0:ppc64el. 463s Preparing to unpack .../20-libxcb-glx0_1.15-1_ppc64el.deb ... 463s Unpacking libxcb-glx0:ppc64el (1.15-1) ... 463s Selecting previously unselected package libxcb-present0:ppc64el. 463s Preparing to unpack .../21-libxcb-present0_1.15-1_ppc64el.deb ... 463s Unpacking libxcb-present0:ppc64el (1.15-1) ... 463s Selecting previously unselected package libxcb-randr0:ppc64el. 463s Preparing to unpack .../22-libxcb-randr0_1.15-1_ppc64el.deb ... 463s Unpacking libxcb-randr0:ppc64el (1.15-1) ... 463s Selecting previously unselected package libxcb-shm0:ppc64el. 463s Preparing to unpack .../23-libxcb-shm0_1.15-1_ppc64el.deb ... 463s Unpacking libxcb-shm0:ppc64el (1.15-1) ... 463s Selecting previously unselected package libxcb-sync1:ppc64el. 463s Preparing to unpack .../24-libxcb-sync1_1.15-1_ppc64el.deb ... 463s Unpacking libxcb-sync1:ppc64el (1.15-1) ... 463s Selecting previously unselected package libxcb-xfixes0:ppc64el. 463s Preparing to unpack .../25-libxcb-xfixes0_1.15-1_ppc64el.deb ... 463s Unpacking libxcb-xfixes0:ppc64el (1.15-1) ... 463s Selecting previously unselected package libxfixes3:ppc64el. 463s Preparing to unpack .../26-libxfixes3_1%3a6.0.0-2_ppc64el.deb ... 463s Unpacking libxfixes3:ppc64el (1:6.0.0-2) ... 463s Selecting previously unselected package libxshmfence1:ppc64el. 463s Preparing to unpack .../27-libxshmfence1_1.3-1build4_ppc64el.deb ... 463s Unpacking libxshmfence1:ppc64el (1.3-1build4) ... 463s Selecting previously unselected package libxxf86vm1:ppc64el. 463s Preparing to unpack .../28-libxxf86vm1_1%3a1.1.4-1build3_ppc64el.deb ... 463s Unpacking libxxf86vm1:ppc64el (1:1.1.4-1build3) ... 463s Selecting previously unselected package libglx-mesa0:ppc64el. 463s Preparing to unpack .../29-libglx-mesa0_24.0.1-1ubuntu1_ppc64el.deb ... 463s Unpacking libglx-mesa0:ppc64el (24.0.1-1ubuntu1) ... 463s Selecting previously unselected package x11-common. 463s Preparing to unpack .../30-x11-common_1%3a7.7+23ubuntu2_all.deb ... 463s Unpacking x11-common (1:7.7+23ubuntu2) ... 463s Selecting previously unselected package libice6:ppc64el. 463s Preparing to unpack .../31-libice6_2%3a1.0.10-1build2_ppc64el.deb ... 463s Unpacking libice6:ppc64el (2:1.0.10-1build2) ... 463s Selecting previously unselected package libpixman-1-0:ppc64el. 463s Preparing to unpack .../32-libpixman-1-0_0.42.2-1_ppc64el.deb ... 463s Unpacking libpixman-1-0:ppc64el (0.42.2-1) ... 463s Selecting previously unselected package libsm6:ppc64el. 463s Preparing to unpack .../33-libsm6_2%3a1.2.3-1build2_ppc64el.deb ... 463s Unpacking libsm6:ppc64el (2:1.2.3-1build2) ... 463s Selecting previously unselected package libunwind8:ppc64el. 463s Preparing to unpack .../34-libunwind8_1.6.2-3_ppc64el.deb ... 463s Unpacking libunwind8:ppc64el (1.6.2-3) ... 463s Selecting previously unselected package libxt6:ppc64el. 463s Preparing to unpack .../35-libxt6_1%3a1.2.1-1.1_ppc64el.deb ... 463s Unpacking libxt6:ppc64el (1:1.2.1-1.1) ... 463s Selecting previously unselected package libxmu6:ppc64el. 463s Preparing to unpack .../36-libxmu6_2%3a1.1.3-3_ppc64el.deb ... 463s Unpacking libxmu6:ppc64el (2:1.1.3-3) ... 463s Selecting previously unselected package libxpm4:ppc64el. 463s Preparing to unpack .../37-libxpm4_1%3a3.5.17-1_ppc64el.deb ... 463s Unpacking libxpm4:ppc64el (1:3.5.17-1) ... 463s Selecting previously unselected package libxaw7:ppc64el. 463s Preparing to unpack .../38-libxaw7_2%3a1.0.14-1_ppc64el.deb ... 463s Unpacking libxaw7:ppc64el (2:1.0.14-1) ... 463s Selecting previously unselected package libxfont2:ppc64el. 463s Preparing to unpack .../39-libxfont2_1%3a2.0.6-1_ppc64el.deb ... 463s Unpacking libxfont2:ppc64el (1:2.0.6-1) ... 463s Selecting previously unselected package libxkbfile1:ppc64el. 463s Preparing to unpack .../40-libxkbfile1_1%3a1.1.0-1build3_ppc64el.deb ... 463s Unpacking libxkbfile1:ppc64el (1:1.1.0-1build3) ... 463s Selecting previously unselected package libxrender1:ppc64el. 463s Preparing to unpack .../41-libxrender1_1%3a0.9.10-1.1_ppc64el.deb ... 463s Unpacking libxrender1:ppc64el (1:0.9.10-1.1) ... 463s Selecting previously unselected package libxrandr2:ppc64el. 463s Preparing to unpack .../42-libxrandr2_2%3a1.5.2-2_ppc64el.deb ... 463s Unpacking libxrandr2:ppc64el (2:1.5.2-2) ... 463s Selecting previously unselected package x11-xkb-utils. 463s Preparing to unpack .../43-x11-xkb-utils_7.7+8_ppc64el.deb ... 463s Unpacking x11-xkb-utils (7.7+8) ... 463s Selecting previously unselected package xserver-common. 463s Preparing to unpack .../44-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 463s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 463s Selecting previously unselected package libglvnd0:ppc64el. 463s Preparing to unpack .../45-libglvnd0_1.7.0-1_ppc64el.deb ... 463s Unpacking libglvnd0:ppc64el (1.7.0-1) ... 463s Selecting previously unselected package libglx0:ppc64el. 463s Preparing to unpack .../46-libglx0_1.7.0-1_ppc64el.deb ... 463s Unpacking libglx0:ppc64el (1.7.0-1) ... 463s Selecting previously unselected package libgl1:ppc64el. 463s Preparing to unpack .../47-libgl1_1.7.0-1_ppc64el.deb ... 463s Unpacking libgl1:ppc64el (1.7.0-1) ... 463s Selecting previously unselected package xvfb. 463s Preparing to unpack .../48-xvfb_2%3a21.1.11-2ubuntu1_ppc64el.deb ... 463s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 463s Selecting previously unselected package autopkgtest-satdep. 463s Preparing to unpack .../49-3-autopkgtest-satdep.deb ... 463s Unpacking autopkgtest-satdep (0) ... 463s Setting up gnome-desktop-testing (2021.1-3) ... 463s Setting up libxcb-dri3-0:ppc64el (1.15-1) ... 463s Setting up libpixman-1-0:ppc64el (0.42.2-1) ... 463s Setting up libx11-xcb1:ppc64el (2:1.8.7-1) ... 463s Setting up libdrm-nouveau2:ppc64el (2.4.120-2) ... 463s Setting up libxcb-xfixes0:ppc64el (1.15-1) ... 463s Setting up desktop-file-utils (0.26-1ubuntu5) ... 463s Setting up libxpm4:ppc64el (1:3.5.17-1) ... 463s Setting up libxrender1:ppc64el (1:0.9.10-1.1) ... 463s Setting up libgirepository-2.0-0:ppc64el (2.79.2-1~ubuntu1) ... 463s Setting up libdrm-radeon1:ppc64el (2.4.120-2) ... 463s Setting up libglvnd0:ppc64el (1.7.0-1) ... 463s Setting up libxcb-glx0:ppc64el (1.15-1) ... 463s Setting up x11-common (1:7.7+23ubuntu2) ... 464s Setting up libglib2.0-bin (2.79.2-1~ubuntu1) ... 464s Setting up libxcb-shm0:ppc64el (1.15-1) ... 464s Setting up libunwind8:ppc64el (1.6.2-3) ... 464s Setting up libxxf86vm1:ppc64el (1:1.1.4-1build3) ... 464s Setting up libxcb-present0:ppc64el (1.15-1) ... 464s Setting up libfontenc1:ppc64el (1:1.1.8-1) ... 464s Setting up python3-packaging (23.2-1) ... 464s Setting up libxfixes3:ppc64el (1:6.0.0-2) ... 464s Setting up libxcb-sync1:ppc64el (1.15-1) ... 464s Setting up libxrandr2:ppc64el (2:1.5.2-2) ... 464s Setting up libglapi-mesa:ppc64el (24.0.1-1ubuntu1) ... 464s Setting up libvulkan1:ppc64el (1.3.275.0-1) ... 464s Setting up libxcb-dri2-0:ppc64el (1.15-1) ... 464s Setting up libxshmfence1:ppc64el (1.3-1build4) ... 464s Setting up dbus-x11 (1.14.10-4ubuntu1) ... 464s Setting up libxcb-randr0:ppc64el (1.15-1) ... 464s Setting up libxkbfile1:ppc64el (1:1.1.0-1build3) ... 464s Setting up libllvm17:ppc64el (1:17.0.6-5build1) ... 464s Setting up libxfont2:ppc64el (1:2.0.6-1) ... 464s Setting up libdrm-amdgpu1:ppc64el (2.4.120-2) ... 464s Setting up libglib2.0-dev-bin (2.79.2-1~ubuntu1) ... 464s Setting up libice6:ppc64el (2:1.0.10-1build2) ... 464s Setting up libgl1-mesa-dri:ppc64el (24.0.1-1ubuntu1) ... 464s Setting up python3-dbusmock (0.31.1-1) ... 464s Setting up libglib2.0-tests (2.79.2-1~ubuntu1) ... 465s Setting up libsm6:ppc64el (2:1.2.3-1build2) ... 465s Setting up libglx-mesa0:ppc64el (24.0.1-1ubuntu1) ... 465s Setting up libglx0:ppc64el (1.7.0-1) ... 465s Setting up libgl1:ppc64el (1.7.0-1) ... 465s Setting up libxt6:ppc64el (1:1.2.1-1.1) ... 465s Setting up libxmu6:ppc64el (2:1.1.3-3) ... 465s Setting up libxaw7:ppc64el (2:1.0.14-1) ... 465s Setting up x11-xkb-utils (7.7+8) ... 465s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 465s Setting up xvfb (2:21.1.11-2ubuntu1) ... 465s Setting up autopkgtest-satdep (0) ... 465s Processing triggers for man-db (2.12.0-3) ... 465s Processing triggers for libc-bin (2.39-0ubuntu2) ... 468s (Reading database ... 71534 files and directories currently installed.) 468s Removing autopkgtest-satdep (0) ... 474s autopkgtest [06:00:12]: test installed-tests: [----------------------- 474s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 474s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 474s group entry: ubuntu:x:1000: 474s Environment: 474s ADTTMP=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp 474s ADT_ARTIFACTS=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts 474s ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1 474s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts 474s AUTOPKGTEST_TESTBED_ARCH=ppc64el 474s AUTOPKGTEST_TEST_ARCH=ppc64el 474s AUTOPKGTEST_TMP=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp 474s DEBIAN_FRONTEND=noninteractive 474s DEB_BUILD_OPTIONS=parallel=1 474s GIO_USE_VFS=local 474s GIO_USE_VOLUME_MONITOR=unix 474s HOME=/home/ubuntu 474s LANG=C.UTF-8 474s LOGNAME=ubuntu 474s MAIL=/var/mail/ubuntu 474s OLDPWD=/home/ubuntu 474s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 474s PWD=/tmp/autopkgtest.MN3iWN/build.cbU/src 474s SHELL=/bin/bash 474s SHLVL=1 474s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests 474s SUDO_GID=1000 474s SUDO_UID=1000 474s SUDO_USER=ubuntu 474s TERM=linux 474s USER=ubuntu 474s XDG_RUNTIME_DIR=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp 474s http_proxy=http://squid.internal:3128 474s https_proxy=http://squid.internal:3128 474s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 474s run-with-locales: de_DE=ISO-8859-1... 474s Character set: ISO-8859-1 474s Source file: de_DE 474s Output: /tmp/tmp.YUFtTjKdUz/de_DE 474s run-with-locales: de_DE.utf8... 474s Character set: UTF-8 474s Source file: de_DE 474s Output: /tmp/tmp.YUFtTjKdUz/de_DE.utf8 476s run-with-locales: de_DE@euro.utf8... 476s Character set: UTF-8 476s Source file: de_DE@euro 476s Output: /tmp/tmp.YUFtTjKdUz/de_DE@euro.utf8 477s run-with-locales: el_GR.utf8... 477s Character set: UTF-8 477s Source file: el_GR 477s Output: /tmp/tmp.YUFtTjKdUz/el_GR.utf8 479s run-with-locales: en_GB=ISO-8859-1... 479s Character set: ISO-8859-1 479s Source file: en_GB 479s Output: /tmp/tmp.YUFtTjKdUz/en_GB 479s run-with-locales: en_GB.utf8... 479s Character set: UTF-8 479s Source file: en_GB 479s Output: /tmp/tmp.YUFtTjKdUz/en_GB.utf8 481s run-with-locales: en_US=ISO-8859-1... 481s Character set: ISO-8859-1 481s Source file: en_US 481s Output: /tmp/tmp.YUFtTjKdUz/en_US 481s run-with-locales: en_US.utf8... 481s Character set: UTF-8 481s Source file: en_US 481s Output: /tmp/tmp.YUFtTjKdUz/en_US.utf8 483s run-with-locales: es_ES.utf8... 483s Character set: UTF-8 483s Source file: es_ES 483s Output: /tmp/tmp.YUFtTjKdUz/es_ES.utf8 484s run-with-locales: fa_IR=UTF-8... 484s Character set: UTF-8 484s Source file: fa_IR 484s Output: /tmp/tmp.YUFtTjKdUz/fa_IR 486s run-with-locales: fa_IR.utf8... 486s Character set: UTF-8 486s Source file: fa_IR 486s Output: /tmp/tmp.YUFtTjKdUz/fa_IR.utf8 487s run-with-locales: fr_FR.utf8... 487s Character set: UTF-8 487s Source file: fr_FR 487s Output: /tmp/tmp.YUFtTjKdUz/fr_FR.utf8 489s run-with-locales: hr_HR.utf8... 489s Character set: UTF-8 489s Source file: hr_HR 489s Output: /tmp/tmp.YUFtTjKdUz/hr_HR.utf8 490s run-with-locales: ja_JP.utf8... 490s Character set: UTF-8 490s Source file: ja_JP 490s Output: /tmp/tmp.YUFtTjKdUz/ja_JP.utf8 491s run-with-locales: ja_JP.EUC-JP... 491s Character set: EUC-JP 491s Source file: ja_JP 491s Output: /tmp/tmp.YUFtTjKdUz/ja_JP.eucjp 492s run-with-locales: lt_LT.utf8... 492s Character set: UTF-8 492s Source file: lt_LT 492s Output: /tmp/tmp.YUFtTjKdUz/lt_LT.utf8 493s run-with-locales: pl_PL=ISO-8859-2... 493s Character set: ISO-8859-2 493s Source file: pl_PL 493s Output: /tmp/tmp.YUFtTjKdUz/pl_PL 494s run-with-locales: pl_PL.ISO-8859-2... 494s Character set: ISO-8859-2 494s Source file: pl_PL 494s Output: /tmp/tmp.YUFtTjKdUz/pl_PL.iso88592 494s run-with-locales: pl_PL.utf8... 494s Character set: UTF-8 494s Source file: pl_PL 494s Output: /tmp/tmp.YUFtTjKdUz/pl_PL.utf8 496s run-with-locales: ru_RU=ISO-8859-5... 496s Character set: ISO-8859-5 496s Source file: ru_RU 496s Output: /tmp/tmp.YUFtTjKdUz/ru_RU 496s run-with-locales: ru_RU.utf8... 496s Character set: UTF-8 496s Source file: ru_RU 496s Output: /tmp/tmp.YUFtTjKdUz/ru_RU.utf8 498s run-with-locales: sr_RS=UTF-8... 498s Character set: UTF-8 498s Source file: sr_RS 498s Output: /tmp/tmp.YUFtTjKdUz/sr_RS 499s run-with-locales: sr_RS@latin=UTF-8... 499s Character set: UTF-8 499s Source file: sr_RS@latin 499s Output: /tmp/tmp.YUFtTjKdUz/sr_RS@latin 501s run-with-locales: sv_SE=ISO-8859-1... 501s Character set: ISO-8859-1 501s Source file: sv_SE 501s Output: /tmp/tmp.YUFtTjKdUz/sv_SE 501s run-with-locales: sv_SE.utf8... 501s Character set: UTF-8 501s Source file: sv_SE 501s Output: /tmp/tmp.YUFtTjKdUz/sv_SE.utf8 502s run-with-locales: tr_TR=ISO-8859-9... 502s Character set: ISO-8859-9 502s Source file: tr_TR 502s Output: /tmp/tmp.YUFtTjKdUz/tr_TR 503s run-with-locales: tr_TR.utf8... 503s Character set: UTF-8 503s Source file: tr_TR 503s Output: /tmp/tmp.YUFtTjKdUz/tr_TR.utf8 504s run-with-locales: tt_RU=UTF-8... 504s Character set: UTF-8 504s Source file: tt_RU 504s Output: /tmp/tmp.YUFtTjKdUz/tt_RU 506s run-with-locales: tt_RU.utf8... 506s Character set: UTF-8 506s Source file: tt_RU 506s Output: /tmp/tmp.YUFtTjKdUz/tt_RU.utf8 507s run-with-locales: tt_RU@iqtelif=UTF-8... 507s Character set: UTF-8 507s Source file: tt_RU@iqtelif 507s Output: /tmp/tmp.YUFtTjKdUz/tt_RU@iqtelif 509s /tmp/tmp.YUFtTjKdUz 509s /tmp/tmp.YUFtTjKdUz/ja_JP.utf8 509s /tmp/tmp.YUFtTjKdUz/ja_JP.utf8/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/ja_JP.utf8/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/ja_JP.utf8/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/ja_JP.utf8/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/ja_JP.utf8/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/ja_JP.utf8/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/ja_JP.utf8/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/ja_JP.utf8/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/ja_JP.utf8/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/ja_JP.utf8/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/ja_JP.utf8/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/ja_JP.utf8/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/es_ES.utf8 509s /tmp/tmp.YUFtTjKdUz/es_ES.utf8/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/es_ES.utf8/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/es_ES.utf8/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/es_ES.utf8/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/es_ES.utf8/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/es_ES.utf8/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/es_ES.utf8/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/es_ES.utf8/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/es_ES.utf8/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/es_ES.utf8/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/es_ES.utf8/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/es_ES.utf8/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/pl_PL.iso88592 509s /tmp/tmp.YUFtTjKdUz/pl_PL.iso88592/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/pl_PL.iso88592/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/pl_PL.iso88592/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/pl_PL.iso88592/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/pl_PL.iso88592/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/pl_PL.iso88592/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/pl_PL.iso88592/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/pl_PL.iso88592/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/pl_PL.iso88592/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/pl_PL.iso88592/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/pl_PL.iso88592/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/pl_PL.iso88592/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/en_GB 509s /tmp/tmp.YUFtTjKdUz/en_GB/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/en_GB/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/en_GB/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/en_GB/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/en_GB/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/en_GB/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/en_GB/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/en_GB/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/en_GB/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/en_GB/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/en_GB/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/en_GB/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/sv_SE.utf8 509s /tmp/tmp.YUFtTjKdUz/sv_SE.utf8/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/sv_SE.utf8/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/sv_SE.utf8/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/sv_SE.utf8/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/sv_SE.utf8/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/sv_SE.utf8/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/sv_SE.utf8/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/sv_SE.utf8/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/sv_SE.utf8/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/sv_SE.utf8/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/sv_SE.utf8/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/sv_SE.utf8/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/en_US 509s /tmp/tmp.YUFtTjKdUz/en_US/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/en_US/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/en_US/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/en_US/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/en_US/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/en_US/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/en_US/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/en_US/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/en_US/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/en_US/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/en_US/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/en_US/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/en_US/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/ru_RU 509s /tmp/tmp.YUFtTjKdUz/ru_RU/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/ru_RU/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/ru_RU/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/ru_RU/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/ru_RU/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/ru_RU/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/ru_RU/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/ru_RU/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/ru_RU/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/ru_RU/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/ru_RU/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/ru_RU/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/tr_TR.utf8 509s /tmp/tmp.YUFtTjKdUz/tr_TR.utf8/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/tr_TR.utf8/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/tr_TR.utf8/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/tr_TR.utf8/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/tr_TR.utf8/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/tr_TR.utf8/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/tr_TR.utf8/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/tr_TR.utf8/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/tr_TR.utf8/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/tr_TR.utf8/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/tr_TR.utf8/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/tr_TR.utf8/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/en_GB.utf8 509s /tmp/tmp.YUFtTjKdUz/en_GB.utf8/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/en_GB.utf8/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/en_GB.utf8/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/en_GB.utf8/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/en_GB.utf8/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/en_GB.utf8/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/en_GB.utf8/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/en_GB.utf8/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/en_GB.utf8/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/en_GB.utf8/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/en_GB.utf8/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/en_GB.utf8/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/pl_PL.utf8 509s /tmp/tmp.YUFtTjKdUz/pl_PL.utf8/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/pl_PL.utf8/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/pl_PL.utf8/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/pl_PL.utf8/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/pl_PL.utf8/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/pl_PL.utf8/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/pl_PL.utf8/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/pl_PL.utf8/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/pl_PL.utf8/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/pl_PL.utf8/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/pl_PL.utf8/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/pl_PL.utf8/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/sv_SE 509s /tmp/tmp.YUFtTjKdUz/sv_SE/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/sv_SE/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/sv_SE/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/sv_SE/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/sv_SE/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/sv_SE/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/sv_SE/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/sv_SE/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/sv_SE/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/sv_SE/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/sv_SE/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/sv_SE/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/ja_JP.eucjp 509s /tmp/tmp.YUFtTjKdUz/ja_JP.eucjp/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/ja_JP.eucjp/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/ja_JP.eucjp/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/ja_JP.eucjp/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/ja_JP.eucjp/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/ja_JP.eucjp/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/ja_JP.eucjp/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/ja_JP.eucjp/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/ja_JP.eucjp/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/ja_JP.eucjp/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/ja_JP.eucjp/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/ja_JP.eucjp/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/fa_IR 509s /tmp/tmp.YUFtTjKdUz/fa_IR/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/fa_IR/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/fa_IR/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/fa_IR/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/fa_IR/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/fa_IR/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/fa_IR/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/fa_IR/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/fa_IR/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/fa_IR/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/fa_IR/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/fa_IR/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/hr_HR.utf8 509s /tmp/tmp.YUFtTjKdUz/hr_HR.utf8/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/hr_HR.utf8/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/hr_HR.utf8/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/hr_HR.utf8/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/hr_HR.utf8/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/hr_HR.utf8/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/hr_HR.utf8/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/hr_HR.utf8/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/hr_HR.utf8/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/hr_HR.utf8/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/hr_HR.utf8/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/hr_HR.utf8/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/fa_IR.utf8 509s /tmp/tmp.YUFtTjKdUz/fa_IR.utf8/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/fa_IR.utf8/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/fa_IR.utf8/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/fa_IR.utf8/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/fa_IR.utf8/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/fa_IR.utf8/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/fa_IR.utf8/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/fa_IR.utf8/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/fa_IR.utf8/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/fa_IR.utf8/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/fa_IR.utf8/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/fa_IR.utf8/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/de_DE.utf8 509s /tmp/tmp.YUFtTjKdUz/de_DE.utf8/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/de_DE.utf8/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/de_DE.utf8/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/de_DE.utf8/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/de_DE.utf8/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/de_DE.utf8/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/de_DE.utf8/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/de_DE.utf8/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/de_DE.utf8/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/de_DE.utf8/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/de_DE.utf8/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/de_DE.utf8/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/en_US.utf8 509s /tmp/tmp.YUFtTjKdUz/en_US.utf8/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/en_US.utf8/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/en_US.utf8/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/en_US.utf8/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/en_US.utf8/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/en_US.utf8/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/en_US.utf8/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/en_US.utf8/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/en_US.utf8/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/en_US.utf8/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/en_US.utf8/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/en_US.utf8/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/de_DE 509s /tmp/tmp.YUFtTjKdUz/de_DE/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/de_DE/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/de_DE/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/de_DE/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/de_DE/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/de_DE/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/de_DE/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/de_DE/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/de_DE/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/de_DE/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/de_DE/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/de_DE/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/tt_RU@iqtelif 509s /tmp/tmp.YUFtTjKdUz/tt_RU@iqtelif/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/tt_RU@iqtelif/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/tt_RU@iqtelif/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/tt_RU@iqtelif/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/tt_RU@iqtelif/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/tt_RU@iqtelif/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/tt_RU@iqtelif/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/tt_RU@iqtelif/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/tt_RU@iqtelif/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/tt_RU@iqtelif/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/tt_RU@iqtelif/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/tt_RU@iqtelif/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/el_GR.utf8 509s /tmp/tmp.YUFtTjKdUz/el_GR.utf8/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/el_GR.utf8/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/el_GR.utf8/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/el_GR.utf8/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/el_GR.utf8/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/el_GR.utf8/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/el_GR.utf8/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/el_GR.utf8/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/el_GR.utf8/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/el_GR.utf8/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/el_GR.utf8/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/el_GR.utf8/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/tr_TR 509s /tmp/tmp.YUFtTjKdUz/tr_TR/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/tr_TR/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/tr_TR/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/tr_TR/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/tr_TR/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/tr_TR/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/tr_TR/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/tr_TR/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/tr_TR/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/tr_TR/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/tr_TR/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/tr_TR/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/fr_FR.utf8 509s /tmp/tmp.YUFtTjKdUz/fr_FR.utf8/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/fr_FR.utf8/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/fr_FR.utf8/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/fr_FR.utf8/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/fr_FR.utf8/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/fr_FR.utf8/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/fr_FR.utf8/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/fr_FR.utf8/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/fr_FR.utf8/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/fr_FR.utf8/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/fr_FR.utf8/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/fr_FR.utf8/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/de_DE@euro.utf8 509s /tmp/tmp.YUFtTjKdUz/de_DE@euro.utf8/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/de_DE@euro.utf8/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/de_DE@euro.utf8/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/de_DE@euro.utf8/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/de_DE@euro.utf8/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/de_DE@euro.utf8/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/de_DE@euro.utf8/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/de_DE@euro.utf8/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/de_DE@euro.utf8/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/de_DE@euro.utf8/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/de_DE@euro.utf8/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/de_DE@euro.utf8/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/lt_LT.utf8 509s /tmp/tmp.YUFtTjKdUz/lt_LT.utf8/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/lt_LT.utf8/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/lt_LT.utf8/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/lt_LT.utf8/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/lt_LT.utf8/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/lt_LT.utf8/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/lt_LT.utf8/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/lt_LT.utf8/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/lt_LT.utf8/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/lt_LT.utf8/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/lt_LT.utf8/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/lt_LT.utf8/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/sr_RS 509s /tmp/tmp.YUFtTjKdUz/sr_RS/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/sr_RS/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/sr_RS/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/sr_RS/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/sr_RS/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/sr_RS/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/sr_RS/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/sr_RS/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/sr_RS/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/sr_RS/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/sr_RS/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/sr_RS/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/pl_PL 509s /tmp/tmp.YUFtTjKdUz/pl_PL/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/pl_PL/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/pl_PL/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/pl_PL/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/pl_PL/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/pl_PL/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/pl_PL/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/pl_PL/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/pl_PL/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/pl_PL/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/pl_PL/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/pl_PL/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/sr_RS@latin 509s /tmp/tmp.YUFtTjKdUz/sr_RS@latin/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/sr_RS@latin/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/sr_RS@latin/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/sr_RS@latin/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/sr_RS@latin/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/sr_RS@latin/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/sr_RS@latin/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/sr_RS@latin/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/sr_RS@latin/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/sr_RS@latin/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/sr_RS@latin/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/sr_RS@latin/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/tt_RU.utf8 509s /tmp/tmp.YUFtTjKdUz/tt_RU.utf8/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/tt_RU.utf8/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/tt_RU.utf8/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/tt_RU.utf8/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/tt_RU.utf8/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/tt_RU.utf8/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/tt_RU.utf8/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/tt_RU.utf8/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/tt_RU.utf8/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/tt_RU.utf8/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/tt_RU.utf8/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/tt_RU.utf8/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/ru_RU.utf8 509s /tmp/tmp.YUFtTjKdUz/ru_RU.utf8/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/ru_RU.utf8/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/ru_RU.utf8/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/ru_RU.utf8/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/ru_RU.utf8/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/ru_RU.utf8/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/ru_RU.utf8/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/ru_RU.utf8/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/ru_RU.utf8/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/ru_RU.utf8/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/ru_RU.utf8/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/ru_RU.utf8/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/tt_RU 509s /tmp/tmp.YUFtTjKdUz/tt_RU/LC_MONETARY 509s /tmp/tmp.YUFtTjKdUz/tt_RU/LC_NUMERIC 509s /tmp/tmp.YUFtTjKdUz/tt_RU/LC_CTYPE 509s /tmp/tmp.YUFtTjKdUz/tt_RU/LC_NAME 509s /tmp/tmp.YUFtTjKdUz/tt_RU/LC_ADDRESS 509s /tmp/tmp.YUFtTjKdUz/tt_RU/LC_IDENTIFICATION 509s /tmp/tmp.YUFtTjKdUz/tt_RU/LC_COLLATE 509s /tmp/tmp.YUFtTjKdUz/tt_RU/LC_TELEPHONE 509s /tmp/tmp.YUFtTjKdUz/tt_RU/LC_PAPER 509s /tmp/tmp.YUFtTjKdUz/tt_RU/LC_MEASUREMENT 509s /tmp/tmp.YUFtTjKdUz/tt_RU/LC_TIME 509s /tmp/tmp.YUFtTjKdUz/tt_RU/LC_MESSAGES 509s /tmp/tmp.YUFtTjKdUz/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 509s 1..315 509s # Running test: glib/performance-threaded.test 509s Running test "liststore-is-a" 510s 1933 runs, min/avg/max = 0.497/0.517/2.458 ms 510s Running test "liststore-interface-peek" 511s 2311 runs, min/avg/max = 0.416/0.433/2.232 ms 511s Running test "liststore-interface-peek-same" 512s 2371 runs, min/avg/max = 0.416/0.422/0.759 ms 512s ok - glib/performance-threaded.test 512s # Running test: glib/mem-overflow.test 512s TAP version 13 512s # random seed: R02Sd88ad3469a5e2e32719bf26acf11616d 512s 1..2 512s # Start of mem tests 512s ok 1 /mem/overflow 512s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 512s ok 2 /mem/empty-alloc 512s # Start of overflow tests 512s # Start of subprocess tests 512s # End of subprocess tests 512s # End of overflow tests 512s # Start of empty-alloc tests 512s # End of empty-alloc tests 512s # End of mem tests 512s ok - glib/mem-overflow.test 512s # Running test: glib/memory-monitor-dbus.test 512s TAP version 13 512s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 512s 1..1 512s ok - glib/memory-monitor-dbus.test 512s # Running test: glib/throws.test 512s TAP version 13 512s # random seed: R02S6e01ac2261297a6a362414f484dc8246 512s 1..3 512s # Start of throws tests 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_IXHLK2/throws/invoke-gerror/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_IXHLK2/throws/invoke-gerror/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_IXHLK2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_IXHLK2/throws/invoke-gerror/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_IXHLK2/throws/invoke-gerror/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_IXHLK2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_IXHLK2/throws/invoke-gerror/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_IXHLK2/throws/invoke-gerror/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_IXHLK2/throws/invoke-gerror/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_IXHLK2/throws/invoke-gerror/.dirs/runtime 512s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 512s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 512s ok 1 /throws/invoke-gerror 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_IXHLK2/throws/vfunc-can-throw-gerror/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_IXHLK2/throws/vfunc-can-throw-gerror/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_IXHLK2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_IXHLK2/throws/vfunc-can-throw-gerror/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_IXHLK2/throws/vfunc-can-throw-gerror/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_IXHLK2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_IXHLK2/throws/vfunc-can-throw-gerror/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_IXHLK2/throws/vfunc-can-throw-gerror/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_IXHLK2/throws/vfunc-can-throw-gerror/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_IXHLK2/throws/vfunc-can-throw-gerror/.dirs/runtime 512s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 512s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 512s ok 2 /throws/vfunc-can-throw-gerror 512s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_IXHLK2/throws/callback-can-throw-gerror/.dirs/home 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_IXHLK2/throws/callback-can-throw-gerror/.dirs/cache 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_IXHLK2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_IXHLK2/throws/callback-can-throw-gerror/.dirs/system-config2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_IXHLK2/throws/callback-can-throw-gerror/.dirs/config 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_IXHLK2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_IXHLK2/throws/callback-can-throw-gerror/.dirs/system-data2 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_IXHLK2/throws/callback-can-throw-gerror/.dirs/data 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_IXHLK2/throws/callback-can-throw-gerror/.dirs/state 512s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_IXHLK2/throws/callback-can-throw-gerror/.dirs/runtime 512s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 512s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 512s ok 3 /throws/callback-can-throw-gerror 512s # End of throws tests 512s ok - glib/throws.test 512s # Running test: glib/mkenums.py.test 512s TAP version 13 512s ok 1 __main__.TestMkenums.test_available_in 512s # tmpdir: /tmp/tmpmx4o76sm 512s # rspfile: False, mkenums: /usr/bin/glib-mkenums 512s # /tmp/tmpmx4o76sm/tmp_9k4ww75.h: 512s # typedef enum { 512s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 512s # } GDBusServerFlags; 512s # 512s # /tmp/tmpmx4o76sm/tmpyldk_8u1.template: 512s # /*** BEGIN file-header ***/ 512s # file-header 512s # /*** END file-header ***/ 512s # 512s # /*** BEGIN file-production ***/ 512s # file-production 512s # filename: @filename@ 512s # basename: @basename@ 512s # /*** END file-production ***/ 512s # 512s # /*** BEGIN enumeration-production ***/ 512s # enumeration-production 512s # EnumName: @EnumName@ 512s # enum_name: @enum_name@ 512s # ENUMNAME: @ENUMNAME@ 512s # ENUMSHORT: @ENUMSHORT@ 512s # ENUMPREFIX: @ENUMPREFIX@ 512s # enumsince: @enumsince@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END enumeration-production ***/ 512s # 512s # /*** BEGIN value-header ***/ 512s # value-header 512s # EnumName: @EnumName@ 512s # enum_name: @enum_name@ 512s # ENUMNAME: @ENUMNAME@ 512s # ENUMSHORT: @ENUMSHORT@ 512s # ENUMPREFIX: @ENUMPREFIX@ 512s # enumsince: @enumsince@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END value-header ***/ 512s # 512s # /*** BEGIN value-production ***/ 512s # value-production 512s # VALUENAME: @VALUENAME@ 512s # valuenick: @valuenick@ 512s # valuenum: @valuenum@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END value-production ***/ 512s # 512s # /*** BEGIN value-tail ***/ 512s # value-tail 512s # EnumName: @EnumName@ 512s # enum_name: @enum_name@ 512s # ENUMNAME: @ENUMNAME@ 512s # ENUMSHORT: @ENUMSHORT@ 512s # ENUMPREFIX: @ENUMPREFIX@ 512s # enumsince: @enumsince@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END value-tail ***/ 512s # 512s # /*** BEGIN comment ***/ 512s # comment 512s # comment: @comment@ 512s # /*** END comment ***/ 512s # 512s # /*** BEGIN file-tail ***/ 512s # file-tail 512s # /*** END file-tail ***/ 512s # 512s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmx4o76sm/tmpyldk_8u1.template', '/tmp/tmpmx4o76sm/tmp_9k4ww75.h'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # Output: comment 512s # 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. 512s # 512s # 512s # file-header 512s # file-production 512s # filename: /tmp/tmpmx4o76sm/tmp_9k4ww75.h 512s # basename: tmp_9k4ww75.h 512s # enumeration-production 512s # EnumName: GDBusServerFlags 512s # enum_name: g_dbus_server_flags 512s # ENUMNAME: G_DBUS_SERVER_FLAGS 512s # ENUMSHORT: DBUS_SERVER_FLAGS 512s # ENUMPREFIX: G 512s # enumsince: 512s # type: flags 512s # Type: Flags 512s # TYPE: FLAGS 512s # value-header 512s # EnumName: GDBusServerFlags 512s # enum_name: g_dbus_server_flags 512s # ENUMNAME: G_DBUS_SERVER_FLAGS 512s # ENUMSHORT: DBUS_SERVER_FLAGS 512s # ENUMPREFIX: G 512s # enumsince: 512s # type: flags 512s # Type: Flags 512s # TYPE: FLAGS 512s # value-production 512s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 512s # valuenick: user 512s # valuenum: 4 512s # type: flags 512s # Type: Flags 512s # TYPE: FLAGS 512s # value-tail 512s # EnumName: GDBusServerFlags 512s # enum_name: g_dbus_server_flags 512s # ENUMNAME: G_DBUS_SERVER_FLAGS 512s # ENUMSHORT: DBUS_SERVER_FLAGS 512s # ENUMPREFIX: G 512s # enumsince: 512s # type: flags 512s # Type: Flags 512s # TYPE: FLAGS 512s # file-tail 512s # 512s # comment 512s # comment: Generated data ends here 512s ok 2 __main__.TestMkenums.test_comma_in_enum_value 512s # tmpdir: /tmp/tmpb4ihmsf9 512s # rspfile: False, mkenums: /usr/bin/glib-mkenums 512s # /tmp/tmpb4ihmsf9/tmp23rsa3n6.h: 512s # typedef enum { 512s # ENUM_VALUE_WITH_COMMA = ',', 512s # } TestCommaEnum; 512s # 512s # /tmp/tmpb4ihmsf9/tmp01uf7b7k.template: 512s # /*** BEGIN file-header ***/ 512s # file-header 512s # /*** END file-header ***/ 512s # 512s # /*** BEGIN file-production ***/ 512s # file-production 512s # filename: @filename@ 512s # basename: @basename@ 512s # /*** END file-production ***/ 512s # 512s # /*** BEGIN enumeration-production ***/ 512s # enumeration-production 512s # EnumName: @EnumName@ 512s # enum_name: @enum_name@ 512s # ENUMNAME: @ENUMNAME@ 512s # ENUMSHORT: @ENUMSHORT@ 512s # ENUMPREFIX: @ENUMPREFIX@ 512s # enumsince: @enumsince@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END enumeration-production ***/ 512s # 512s # /*** BEGIN value-header ***/ 512s # value-header 512s # EnumName: @EnumName@ 512s # enum_name: @enum_name@ 512s # ENUMNAME: @ENUMNAME@ 512s # ENUMSHORT: @ENUMSHORT@ 512s # ENUMPREFIX: @ENUMPREFIX@ 512s # enumsince: @enumsince@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END value-header ***/ 512s # 512s # /*** BEGIN value-production ***/ 512s # value-production 512s # VALUENAME: @VALUENAME@ 512s # valuenick: @valuenick@ 512s # valuenum: @valuenum@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END value-production ***/ 512s # 512s # /*** BEGIN value-tail ***/ 512s # value-tail 512s # EnumName: @EnumName@ 512s # enum_name: @enum_name@ 512s # ENUMNAME: @ENUMNAME@ 512s # ENUMSHORT: @ENUMSHORT@ 512s # ENUMPREFIX: @ENUMPREFIX@ 512s # enumsince: @enumsince@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END value-tail ***/ 512s # 512s # /*** BEGIN comment ***/ 512s # comment 512s # comment: @comment@ 512s # /*** END comment ***/ 512s # 512s # /*** BEGIN file-tail ***/ 512s # file-tail 512s # /*** END file-tail ***/ 512s # 512s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpb4ihmsf9/tmp01uf7b7k.template', '/tmp/tmpb4ihmsf9/tmp23rsa3n6.h'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # Output: comment 512s # 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. 512s # 512s # 512s # file-header 512s # file-production 512s # filename: /tmp/tmpb4ihmsf9/tmp23rsa3n6.h 512s # basename: tmp23rsa3n6.h 512s # enumeration-production 512s # EnumName: TestCommaEnum 512s # enum_name: test_comma_enum 512s # ENUMNAME: TEST_COMMA_ENUM 512s # ENUMSHORT: COMMA_ENUM 512s # ENUMPREFIX: TEST 512s # enumsince: 512s # type: enum 512s # Type: Enum 512s # TYPE: ENUM 512s # value-header 512s # EnumName: TestCommaEnum 512s # enum_name: test_comma_enum 512s # ENUMNAME: TEST_COMMA_ENUM 512s # ENUMSHORT: COMMA_ENUM 512s # ENUMPREFIX: TEST 512s # enumsince: 512s # type: enum 512s # Type: Enum 512s # TYPE: ENUM 512s # value-production 512s # VALUENAME: ENUM_VALUE_WITH_COMMA 512s # valuenick: comma 512s # valuenum: 44 512s # type: enum 512s # Type: Enum 512s # TYPE: ENUM 512s # value-tail 512s # EnumName: TestCommaEnum 512s # enum_name: test_comma_enum 512s # ENUMNAME: TEST_COMMA_ENUM 512s # ENUMSHORT: COMMA_ENUM 512s # ENUMPREFIX: TEST 512s # enumsince: 512s # type: enum 512s # Type: Enum 512s # TYPE: ENUM 512s # file-tail 512s # 512s # comment 512s # comment: Generated data ends here 512s ok 3 __main__.TestMkenums.test_deprecated_in 512s # tmpdir: /tmp/tmp1pj5zk7u 512s # rspfile: False, mkenums: /usr/bin/glib-mkenums 512s # /tmp/tmp1pj5zk7u/tmpbntzgle3.h: 512s # typedef enum { 512s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 512s # } GDBusServerFlags; 512s # 512s # /tmp/tmp1pj5zk7u/tmp4wlad88f.template: 512s # /*** BEGIN file-header ***/ 512s # file-header 512s # /*** END file-header ***/ 512s # 512s # /*** BEGIN file-production ***/ 512s # file-production 512s # filename: @filename@ 512s # basename: @basename@ 512s # /*** END file-production ***/ 512s # 512s # /*** BEGIN enumeration-production ***/ 512s # enumeration-production 512s # EnumName: @EnumName@ 512s # enum_name: @enum_name@ 512s # ENUMNAME: @ENUMNAME@ 512s # ENUMSHORT: @ENUMSHORT@ 512s # ENUMPREFIX: @ENUMPREFIX@ 512s # enumsince: @enumsince@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END enumeration-production ***/ 512s # 512s # /*** BEGIN value-header ***/ 512s # value-header 512s # EnumName: @EnumName@ 512s # enum_name: @enum_name@ 512s # ENUMNAME: @ENUMNAME@ 512s # ENUMSHORT: @ENUMSHORT@ 512s # ENUMPREFIX: @ENUMPREFIX@ 512s # enumsince: @enumsince@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END value-header ***/ 512s # 512s # /*** BEGIN value-production ***/ 512s # value-production 512s # VALUENAME: @VALUENAME@ 512s # valuenick: @valuenick@ 512s # valuenum: @valuenum@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END value-production ***/ 512s # 512s # /*** BEGIN value-tail ***/ 512s # value-tail 512s # EnumName: @EnumName@ 512s # enum_name: @enum_name@ 512s # ENUMNAME: @ENUMNAME@ 512s # ENUMSHORT: @ENUMSHORT@ 512s # ENUMPREFIX: @ENUMPREFIX@ 512s # enumsince: @enumsince@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END value-tail ***/ 512s # 512s # /*** BEGIN comment ***/ 512s # comment 512s # comment: @comment@ 512s # /*** END comment ***/ 512s # 512s # /*** BEGIN file-tail ***/ 512s # file-tail 512s # /*** END file-tail ***/ 512s # 512s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1pj5zk7u/tmp4wlad88f.template', '/tmp/tmp1pj5zk7u/tmpbntzgle3.h'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # Output: comment 512s # 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. 512s # 512s # 512s # file-header 512s # file-production 512s # filename: /tmp/tmp1pj5zk7u/tmpbntzgle3.h 512s # basename: tmpbntzgle3.h 512s # enumeration-production 512s # EnumName: GDBusServerFlags 512s # enum_name: g_dbus_server_flags 512s # ENUMNAME: G_DBUS_SERVER_FLAGS 512s # ENUMSHORT: DBUS_SERVER_FLAGS 512s # ENUMPREFIX: G 512s # enumsince: 512s # type: flags 512s # Type: Flags 512s # TYPE: FLAGS 512s # value-header 512s # EnumName: GDBusServerFlags 512s # enum_name: g_dbus_server_flags 512s # ENUMNAME: G_DBUS_SERVER_FLAGS 512s # ENUMSHORT: DBUS_SERVER_FLAGS 512s # ENUMPREFIX: G 512s # enumsince: 512s # type: flags 512s # Type: Flags 512s # TYPE: FLAGS 512s # value-production 512s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 512s # valuenick: user 512s # valuenum: 4 512s # type: flags 512s # Type: Flags 512s # TYPE: FLAGS 512s # value-tail 512s # EnumName: GDBusServerFlags 512s # enum_name: g_dbus_server_flags 512s # ENUMNAME: G_DBUS_SERVER_FLAGS 512s # ENUMSHORT: DBUS_SERVER_FLAGS 512s # ENUMPREFIX: G 512s # enumsince: 512s # type: flags 512s # Type: Flags 512s # TYPE: FLAGS 512s # file-tail 512s # 512s # comment 512s # comment: Generated data ends here 512s ok 4 __main__.TestMkenums.test_deprecated_in_for 512s # tmpdir: /tmp/tmp1p2geqy3 512s # rspfile: False, mkenums: /usr/bin/glib-mkenums 512s # /tmp/tmp1p2geqy3/tmp1z6pw7gk.h: 512s # typedef enum { 512s # 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) 512s # } GDBusServerFlags; 512s # 512s # /tmp/tmp1p2geqy3/tmp51ih_6t0.template: 512s # /*** BEGIN file-header ***/ 512s # file-header 512s # /*** END file-header ***/ 512s # 512s # /*** BEGIN file-production ***/ 512s # file-production 512s # filename: @filename@ 512s # basename: @basename@ 512s # /*** END file-production ***/ 512s # 512s # /*** BEGIN enumeration-production ***/ 512s # enumeration-production 512s # EnumName: @EnumName@ 512s # enum_name: @enum_name@ 512s # ENUMNAME: @ENUMNAME@ 512s # ENUMSHORT: @ENUMSHORT@ 512s # ENUMPREFIX: @ENUMPREFIX@ 512s # enumsince: @enumsince@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END enumeration-production ***/ 512s # 512s # /*** BEGIN value-header ***/ 512s # value-header 512s # EnumName: @EnumName@ 512s # enum_name: @enum_name@ 512s # ENUMNAME: @ENUMNAME@ 512s # ENUMSHORT: @ENUMSHORT@ 512s # ENUMPREFIX: @ENUMPREFIX@ 512s # enumsince: @enumsince@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END value-header ***/ 512s # 512s # /*** BEGIN value-production ***/ 512s # value-production 512s # VALUENAME: @VALUENAME@ 512s # valuenick: @valuenick@ 512s # valuenum: @valuenum@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END value-production ***/ 512s # 512s # /*** BEGIN value-tail ***/ 512s # value-tail 512s # EnumName: @EnumName@ 512s # enum_name: @enum_name@ 512s # ENUMNAME: @ENUMNAME@ 512s # ENUMSHORT: @ENUMSHORT@ 512s # ENUMPREFIX: @ENUMPREFIX@ 512s # enumsince: @enumsince@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END value-tail ***/ 512s # 512s # /*** BEGIN comment ***/ 512s # comment 512s # comment: @comment@ 512s # /*** END comment ***/ 512s # 512s # /*** BEGIN file-tail ***/ 512s # file-tail 512s # /*** END file-tail ***/ 512s # 512s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1p2geqy3/tmp51ih_6t0.template', '/tmp/tmp1p2geqy3/tmp1z6pw7gk.h'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # Output: comment 512s # 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. 512s # 512s # 512s # file-header 512s # file-production 512s # filename: /tmp/tmp1p2geqy3/tmp1z6pw7gk.h 512s # basename: tmp1z6pw7gk.h 512s # enumeration-production 512s # EnumName: GDBusServerFlags 512s # enum_name: g_dbus_server_flags 512s # ENUMNAME: G_DBUS_SERVER_FLAGS 512s # ENUMSHORT: DBUS_SERVER_FLAGS 512s # ENUMPREFIX: G 512s # enumsince: 512s # type: flags 512s # Type: Flags 512s # TYPE: FLAGS 512s # value-header 512s # EnumName: GDBusServerFlags 512s # enum_name: g_dbus_server_flags 512s # ENUMNAME: G_DBUS_SERVER_FLAGS 512s # ENUMSHORT: DBUS_SERVER_FLAGS 512s # ENUMPREFIX: G 512s # enumsince: 512s # type: flags 512s # Type: Flags 512s # TYPE: FLAGS 512s # value-production 512s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 512s # valuenick: user 512s # valuenum: 4 512s # type: flags 512s # Type: Flags 512s # TYPE: FLAGS 512s # value-tail 512s # EnumName: GDBusServerFlags 512s # enum_name: g_dbus_server_flags 512s # ENUMNAME: G_DBUS_SERVER_FLAGS 512s # ENUMSHORT: DBUS_SERVER_FLAGS 512s # ENUMPREFIX: G 512s # enumsince: 512s # type: flags 512s # Type: Flags 512s # TYPE: FLAGS 512s # file-tail 512s # 512s # comment 512s # comment: Generated data ends here 512s ok 5 __main__.TestMkenums.test_empty_header 512s # tmpdir: /tmp/tmp_wfwl9y6 512s # rspfile: False, mkenums: /usr/bin/glib-mkenums 512s # /tmp/tmp_wfwl9y6/tmpsoqsz6h5.h: 512s # /tmp/tmp_wfwl9y6/tmpg566k1_7.template: 512s # /*** BEGIN file-header ***/ 512s # file-header 512s # /*** END file-header ***/ 512s # 512s # /*** BEGIN file-production ***/ 512s # file-production 512s # filename: @filename@ 512s # basename: @basename@ 512s # /*** END file-production ***/ 512s # 512s # /*** BEGIN enumeration-production ***/ 512s # enumeration-production 512s # EnumName: @EnumName@ 512s # enum_name: @enum_name@ 512s # ENUMNAME: @ENUMNAME@ 512s # ENUMSHORT: @ENUMSHORT@ 512s # ENUMPREFIX: @ENUMPREFIX@ 512s # enumsince: @enumsince@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END enumeration-production ***/ 512s # 512s # /*** BEGIN value-header ***/ 512s # value-header 512s # EnumName: @EnumName@ 512s # enum_name: @enum_name@ 512s # ENUMNAME: @ENUMNAME@ 512s # ENUMSHORT: @ENUMSHORT@ 512s # ENUMPREFIX: @ENUMPREFIX@ 512s # enumsince: @enumsince@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END value-header ***/ 512s # 512s # /*** BEGIN value-production ***/ 512s # value-production 512s # VALUENAME: @VALUENAME@ 512s # valuenick: @valuenick@ 512s # valuenum: @valuenum@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END value-production ***/ 512s # 512s # /*** BEGIN value-tail ***/ 512s # value-tail 512s # EnumName: @EnumName@ 512s # enum_name: @enum_name@ 512s # ENUMNAME: @ENUMNAME@ 512s # ENUMSHORT: @ENUMSHORT@ 512s # ENUMPREFIX: @ENUMPREFIX@ 512s # enumsince: @enumsince@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END value-tail ***/ 512s # 512s # /*** BEGIN comment ***/ 512s # comment 512s # comment: @comment@ 512s # /*** END comment ***/ 512s # 512s # /*** BEGIN file-tail ***/ 512s # file-tail 512s # /*** END file-tail ***/ 512s # 512s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp_wfwl9y6/tmpg566k1_7.template', '/tmp/tmp_wfwl9y6/tmpsoqsz6h5.h'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # Output: comment 512s # 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. 512s # 512s # 512s # file-header 512s # file-tail 512s # 512s # comment 512s # comment: Generated data ends here 512s ok 6 __main__.TestMkenums.test_empty_template 512s # tmpdir: /tmp/tmpnv9vnkbm 512s # rspfile: False, mkenums: /usr/bin/glib-mkenums 512s # /tmp/tmpnv9vnkbm/tmp4a8z686w.template: 512s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnv9vnkbm/tmp4a8z686w.template'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # 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. */ 512s # 512s # 512s # /* Generated data ends here */ 512s ok 7 __main__.TestMkenums.test_enum_name 512s # tmpdir: /tmp/tmpjdmbbwfj 512s # rspfile: False, mkenums: /usr/bin/glib-mkenums 512s # /tmp/tmpjdmbbwfj/tmpp7bqtw0i.h: 512s # typedef enum _SomeEnumIdentifier { 512s # ENUM_VALUE 512s # } SomeEnumIdentifier; 512s # 512s # /tmp/tmpjdmbbwfj/tmp4g_06_o3.template: 512s # /*** BEGIN file-header ***/ 512s # file-header 512s # /*** END file-header ***/ 512s # 512s # /*** BEGIN file-production ***/ 512s # file-production 512s # filename: @filename@ 512s # basename: @basename@ 512s # /*** END file-production ***/ 512s # 512s # /*** BEGIN enumeration-production ***/ 512s # enumeration-production 512s # EnumName: @EnumName@ 512s # enum_name: @enum_name@ 512s # ENUMNAME: @ENUMNAME@ 512s # ENUMSHORT: @ENUMSHORT@ 512s # ENUMPREFIX: @ENUMPREFIX@ 512s # enumsince: @enumsince@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END enumeration-production ***/ 512s # 512s # /*** BEGIN value-header ***/ 512s # value-header 512s # EnumName: @EnumName@ 512s # enum_name: @enum_name@ 512s # ENUMNAME: @ENUMNAME@ 512s # ENUMSHORT: @ENUMSHORT@ 512s # ENUMPREFIX: @ENUMPREFIX@ 512s # enumsince: @enumsince@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END value-header ***/ 512s # 512s # /*** BEGIN value-production ***/ 512s # value-production 512s # VALUENAME: @VALUENAME@ 512s # valuenick: @valuenick@ 512s # valuenum: @valuenum@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END value-production ***/ 512s # 512s # /*** BEGIN value-tail ***/ 512s # value-tail 512s # EnumName: @EnumName@ 512s # enum_name: @enum_name@ 512s # ENUMNAME: @ENUMNAME@ 512s # ENUMSHORT: @ENUMSHORT@ 512s # ENUMPREFIX: @ENUMPREFIX@ 512s # enumsince: @enumsince@ 512s # type: @type@ 512s # Type: @Type@ 512s # TYPE: @TYPE@ 512s # /*** END value-tail ***/ 512s # 512s # /*** BEGIN comment ***/ 512s # comment 512s # comment: @comment@ 512s # /*** END comment ***/ 512s # 512s # /*** BEGIN file-tail ***/ 512s # file-tail 512s # /*** END file-tail ***/ 512s # 512s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpjdmbbwfj/tmp4g_06_o3.template', '/tmp/tmpjdmbbwfj/tmpp7bqtw0i.h'] 512s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 512s # Output: comment 512s # 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. 512s # 512s # 512s # file-header 512s # file-production 512s # filename: /tmp/tmpjdmbbwfj/tmpp7bqtw0i.h 512s # basename: tmpp7bqtw0i.h 512s # enumeration-production 512s # EnumName: SomeEnumIdentifier 512s # enum_name: some_enum_identifier 512s # ENUMNAME: SOME_ENUM_IDENTIFIER 512s # ENUMSHORT: ENUM_IDENTIFIER 512s # ENUMPREFIX: SOME 512s # enumsince: 512s # type: enum 512s # Type: Enum 512s # TYPE: ENUM 512s # value-header 512s # EnumName: SomeEnumIdentifier 512s # enum_name: some_enum_identifier 512s # ENUMNAME: SOME_ENUM_IDENTIFIER 512s # ENUMSHORT: ENUM_IDENTIFIER 512s # ENUMPREFIX: SOME 512s # enumsince: 512s # type: enum 512s # Type: Enum 512s # TYPE: ENUM 512s # value-production 512s # VALUENAME: ENUM_VALUE 512s # valuenick: value 512s # valuenum: 0 512s # type: enum 512s # Type: Enum 512s # TYPE: ENUM 512s # value-tail 512s # EnumName: SomeEnumIdentifier 512s # enum_name: some_enum_identifier 512s # ENUMNAME: SOME_ENUM_IDENTIFIER 512s # ENUMSHORT: ENUM_IDENTIFIER 512s # ENUMPREFIX: SOME 512s # enumsince: 512s # type: enum 512s # Type: Enum 512s # TYPE: ENUM 512s # file-tail 512s # 512s # comment 512s # comment: Generated data ends here 513s ok 8 __main__.TestMkenums.test_enum_private_public 513s # tmpdir: /tmp/tmp5nrs2q3g 513s # rspfile: False, mkenums: /usr/bin/glib-mkenums 513s # /tmp/tmp5nrs2q3g/tmpkm8108mr.h: 513s # typedef enum { 513s # ENUM_VALUE_PUBLIC1, 513s # /*< private >*/ 513s # ENUM_VALUE_PRIVATE, 513s # } SomeEnumA 513s # 513s # /tmp/tmp5nrs2q3g/tmpi7b0coh5.template: 513s # /*** BEGIN file-header ***/ 513s # file-header 513s # /*** END file-header ***/ 513s # 513s # /*** BEGIN file-production ***/ 513s # file-production 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-production ***/ 513s # 513s # /*** BEGIN enumeration-production ***/ 513s # enumeration-production 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END enumeration-production ***/ 513s # 513s # /*** BEGIN value-header ***/ 513s # value-header 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-header ***/ 513s # 513s # /*** BEGIN value-production ***/ 513s # value-production 513s # VALUENAME: @VALUENAME@ 513s # valuenick: @valuenick@ 513s # valuenum: @valuenum@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-production ***/ 513s # 513s # /*** BEGIN value-tail ***/ 513s # value-tail 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-tail ***/ 513s # 513s # /*** BEGIN comment ***/ 513s # comment 513s # comment: @comment@ 513s # /*** END comment ***/ 513s # 513s # /*** BEGIN file-tail ***/ 513s # file-tail 513s # /*** END file-tail ***/ 513s # 513s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5nrs2q3g/tmpi7b0coh5.template', '/tmp/tmp5nrs2q3g/tmpkm8108mr.h'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: comment 513s # 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. 513s # 513s # 513s # file-header 513s # file-production 513s # filename: /tmp/tmp5nrs2q3g/tmpkm8108mr.h 513s # basename: tmpkm8108mr.h 513s # enumeration-production 513s # EnumName: SomeEnumA 513s # enum_name: some_enum_a 513s # ENUMNAME: SOME_ENUM_A 513s # ENUMSHORT: ENUM_A 513s # ENUMPREFIX: SOME 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-header 513s # EnumName: SomeEnumA 513s # enum_name: some_enum_a 513s # ENUMNAME: SOME_ENUM_A 513s # ENUMSHORT: ENUM_A 513s # ENUMPREFIX: SOME 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-production 513s # VALUENAME: ENUM_VALUE_PUBLIC1 513s # valuenick: public1 513s # valuenum: 0 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-tail 513s # EnumName: SomeEnumA 513s # enum_name: some_enum_a 513s # ENUMNAME: SOME_ENUM_A 513s # ENUMSHORT: ENUM_A 513s # ENUMPREFIX: SOME 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # file-tail 513s # 513s # comment 513s # comment: Generated data ends here 513s # /tmp/tmp5nrs2q3g/tmp969ucagh.h: 513s # typedef enum { 513s # /*< private >*/ 513s # ENUM_VALUE_PRIVATE, 513s # /*< public >*/ 513s # ENUM_VALUE_PUBLIC2, 513s # } SomeEnumB; 513s # 513s # /tmp/tmp5nrs2q3g/tmp_8feu7zp.template: 513s # /*** BEGIN file-header ***/ 513s # file-header 513s # /*** END file-header ***/ 513s # 513s # /*** BEGIN file-production ***/ 513s # file-production 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-production ***/ 513s # 513s # /*** BEGIN enumeration-production ***/ 513s # enumeration-production 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END enumeration-production ***/ 513s # 513s # /*** BEGIN value-header ***/ 513s # value-header 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-header ***/ 513s # 513s # /*** BEGIN value-production ***/ 513s # value-production 513s # VALUENAME: @VALUENAME@ 513s # valuenick: @valuenick@ 513s # valuenum: @valuenum@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-production ***/ 513s # 513s # /*** BEGIN value-tail ***/ 513s # value-tail 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-tail ***/ 513s # 513s # /*** BEGIN comment ***/ 513s # comment 513s # comment: @comment@ 513s # /*** END comment ***/ 513s # 513s # /*** BEGIN file-tail ***/ 513s # file-tail 513s # /*** END file-tail ***/ 513s # 513s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5nrs2q3g/tmp_8feu7zp.template', '/tmp/tmp5nrs2q3g/tmp969ucagh.h'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: comment 513s # 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. 513s # 513s # 513s # file-header 513s # file-production 513s # filename: /tmp/tmp5nrs2q3g/tmp969ucagh.h 513s # basename: tmp969ucagh.h 513s # enumeration-production 513s # EnumName: SomeEnumB 513s # enum_name: some_enum_b 513s # ENUMNAME: SOME_ENUM_B 513s # ENUMSHORT: ENUM_B 513s # ENUMPREFIX: SOME 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-header 513s # EnumName: SomeEnumB 513s # enum_name: some_enum_b 513s # ENUMNAME: SOME_ENUM_B 513s # ENUMSHORT: ENUM_B 513s # ENUMPREFIX: SOME 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-production 513s # VALUENAME: ENUM_VALUE_PUBLIC2 513s # valuenick: public2 513s # valuenum: 1 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-tail 513s # EnumName: SomeEnumB 513s # enum_name: some_enum_b 513s # ENUMNAME: SOME_ENUM_B 513s # ENUMSHORT: ENUM_B 513s # ENUMPREFIX: SOME 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # file-tail 513s # 513s # comment 513s # comment: Generated data ends here 513s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 513s # tmpdir: /tmp/tmpqj3l6qrn 513s # rspfile: False, mkenums: /usr/bin/glib-mkenums 513s # /tmp/tmpqj3l6qrn/tmpa3c_9d0k.h: 513s # typedef enum { 513s # /*< private >*/ 513s # ENUM_VALUE_PRIVATE = 5, 513s # /*< public >*/ 513s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 513s # } TestSymbolicEnum; 513s # 513s # /tmp/tmpqj3l6qrn/tmpukzsf88i.template: 513s # /*** BEGIN file-header ***/ 513s # file-header 513s # /*** END file-header ***/ 513s # 513s # /*** BEGIN file-production ***/ 513s # file-production 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-production ***/ 513s # 513s # /*** BEGIN enumeration-production ***/ 513s # enumeration-production 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END enumeration-production ***/ 513s # 513s # /*** BEGIN value-header ***/ 513s # value-header 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-header ***/ 513s # 513s # /*** BEGIN value-production ***/ 513s # value-production 513s # VALUENAME: @VALUENAME@ 513s # valuenick: @valuenick@ 513s # valuenum: @valuenum@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-production ***/ 513s # 513s # /*** BEGIN value-tail ***/ 513s # value-tail 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-tail ***/ 513s # 513s # /*** BEGIN comment ***/ 513s # comment 513s # comment: @comment@ 513s # /*** END comment ***/ 513s # 513s # /*** BEGIN file-tail ***/ 513s # file-tail 513s # /*** END file-tail ***/ 513s # 513s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqj3l6qrn/tmpukzsf88i.template', '/tmp/tmpqj3l6qrn/tmpa3c_9d0k.h'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: comment 513s # 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. 513s # 513s # 513s # file-header 513s # file-production 513s # filename: /tmp/tmpqj3l6qrn/tmpa3c_9d0k.h 513s # basename: tmpa3c_9d0k.h 513s # enumeration-production 513s # EnumName: TestSymbolicEnum 513s # enum_name: test_symbolic_enum 513s # ENUMNAME: TEST_SYMBOLIC_ENUM 513s # ENUMSHORT: SYMBOLIC_ENUM 513s # ENUMPREFIX: TEST 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-header 513s # EnumName: TestSymbolicEnum 513s # enum_name: test_symbolic_enum 513s # ENUMNAME: TEST_SYMBOLIC_ENUM 513s # ENUMSHORT: SYMBOLIC_ENUM 513s # ENUMPREFIX: TEST 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-production 513s # VALUENAME: ENUM_VALUE_PUBLIC 513s # valuenick: public 513s # valuenum: 7 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-tail 513s # EnumName: TestSymbolicEnum 513s # enum_name: test_symbolic_enum 513s # ENUMNAME: TEST_SYMBOLIC_ENUM 513s # ENUMSHORT: SYMBOLIC_ENUM 513s # ENUMPREFIX: TEST 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # file-tail 513s # 513s # comment 513s # comment: Generated data ends here 513s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 513s # tmpdir: /tmp/tmpcep2__oc 513s # rspfile: False, mkenums: /usr/bin/glib-mkenums 513s # /tmp/tmpcep2__oc/tmpfj2l247c.template: 513s # /*** BEGIN file-header ***/ 513s # file-header 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-header ***/ 513s # 513s # /*** BEGIN comment ***/ 513s # comment 513s # comment: @comment@ 513s # /*** END comment ***/ 513s # 513s # /*** BEGIN file-tail ***/ 513s # file-tail 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-tail ***/ 513s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcep2__oc/tmpfj2l247c.template'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: comment 513s # 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. 513s # 513s # 513s # file-header 513s # filename: @filename@ 513s # basename: @basename@ 513s # file-tail 513s # filename: @filename@ 513s # basename: @basename@ 513s # 513s # comment 513s # comment: Generated data ends here 513s ok 11 __main__.TestMkenums.test_help 513s # tmpdir: /tmp/tmpn4iooyv4 513s # rspfile: False, mkenums: /usr/bin/glib-mkenums 513s # Running: ['/usr/bin/glib-mkenums', '--help'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 513s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 513s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 513s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 513s # [--comments COMMENT_TMPL] [--template TEMPLATE] 513s # [--output OUTPUT] [--version] 513s # [args ...] 513s # 513s # positional arguments: 513s # args One or more input files, or a single argument 513s # @rspfile_path pointing to a file that contains the 513s # actual arguments 513s # 513s # options: 513s # -h, --help show this help message and exit 513s # --identifier-prefix IDPREFIX 513s # Identifier prefix 513s # --symbol-prefix SYMPREFIX 513s # Symbol prefix 513s # --fhead FHEAD Output file header 513s # --ftail FTAIL Output file footer 513s # --fprod FPROD Put out TEXT every time a new input file is being 513s # processed. 513s # --eprod EPROD Per enum text, produced prior to value iterations 513s # --vhead VHEAD Value header, produced before iterating over enum 513s # values 513s # --vprod VPROD Value text, produced for each enum value. 513s # --vtail VTAIL Value tail, produced after iterating over enum values 513s # --comments COMMENT_TMPL 513s # Comment structure 513s # --template TEMPLATE Template file 513s # --output OUTPUT 513s # --version, -v Print version information 513s # 513s # Production text substitutions: 513s # @EnumName@ PrefixTheXEnum 513s # @enum_name@ prefix_the_xenum 513s # @ENUMNAME@ PREFIX_THE_XENUM 513s # @ENUMSHORT@ THE_XENUM 513s # @ENUMPREFIX@ PREFIX 513s # @enumsince@ the user-provided since value given 513s # @VALUENAME@ PREFIX_THE_XVALUE 513s # @valuenick@ the-xvalue 513s # @valuenum@ the integer value (limited support, Since: 2.26) 513s # @type@ either enum or flags 513s # @Type@ either Enum or Flags 513s # @TYPE@ either ENUM or FLAGS 513s # @filename@ name of current input file 513s # @basename@ base name of the current input file (Since: 2.22) 513s ok 12 __main__.TestMkenums.test_no_args 513s # tmpdir: /tmp/tmpdmdze7p8 513s # rspfile: False, mkenums: /usr/bin/glib-mkenums 513s # Running: ['/usr/bin/glib-mkenums'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # 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. */ 513s # 513s # 513s # /* Generated data ends here */ 513s ok 13 __main__.TestMkenums.test_no_headers 513s # tmpdir: /tmp/tmpxaf4gy2w 513s # rspfile: False, mkenums: /usr/bin/glib-mkenums 513s # /tmp/tmpxaf4gy2w/tmpxntjlmbt.template: 513s # /*** BEGIN file-header ***/ 513s # file-header 513s # /*** END file-header ***/ 513s # 513s # /*** BEGIN file-production ***/ 513s # file-production 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-production ***/ 513s # 513s # /*** BEGIN enumeration-production ***/ 513s # enumeration-production 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END enumeration-production ***/ 513s # 513s # /*** BEGIN value-header ***/ 513s # value-header 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-header ***/ 513s # 513s # /*** BEGIN value-production ***/ 513s # value-production 513s # VALUENAME: @VALUENAME@ 513s # valuenick: @valuenick@ 513s # valuenum: @valuenum@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-production ***/ 513s # 513s # /*** BEGIN value-tail ***/ 513s # value-tail 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-tail ***/ 513s # 513s # /*** BEGIN comment ***/ 513s # comment 513s # comment: @comment@ 513s # /*** END comment ***/ 513s # 513s # /*** BEGIN file-tail ***/ 513s # file-tail 513s # /*** END file-tail ***/ 513s # 513s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxaf4gy2w/tmpxntjlmbt.template'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: comment 513s # 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. 513s # 513s # 513s # file-header 513s # file-tail 513s # 513s # comment 513s # comment: Generated data ends here 513s ok 14 __main__.TestMkenums.test_no_nick 513s # tmpdir: /tmp/tmpxts7mlao 513s # rspfile: False, mkenums: /usr/bin/glib-mkenums 513s # /tmp/tmpxts7mlao/tmpx5227wgj.h: 513s # typedef enum { 513s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 513s # } GeglSamplerType; 513s # 513s # /tmp/tmpxts7mlao/tmpnunb55tt.template: 513s # /*** BEGIN file-header ***/ 513s # file-header 513s # /*** END file-header ***/ 513s # 513s # /*** BEGIN file-production ***/ 513s # file-production 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-production ***/ 513s # 513s # /*** BEGIN enumeration-production ***/ 513s # enumeration-production 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END enumeration-production ***/ 513s # 513s # /*** BEGIN value-header ***/ 513s # value-header 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-header ***/ 513s # 513s # /*** BEGIN value-production ***/ 513s # value-production 513s # VALUENAME: @VALUENAME@ 513s # valuenick: @valuenick@ 513s # valuenum: @valuenum@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-production ***/ 513s # 513s # /*** BEGIN value-tail ***/ 513s # value-tail 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-tail ***/ 513s # 513s # /*** BEGIN comment ***/ 513s # comment 513s # comment: @comment@ 513s # /*** END comment ***/ 513s # 513s # /*** BEGIN file-tail ***/ 513s # file-tail 513s # /*** END file-tail ***/ 513s # 513s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxts7mlao/tmpnunb55tt.template', '/tmp/tmpxts7mlao/tmpx5227wgj.h'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: comment 513s # 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. 513s # 513s # 513s # file-header 513s # file-production 513s # filename: /tmp/tmpxts7mlao/tmpx5227wgj.h 513s # basename: tmpx5227wgj.h 513s # enumeration-production 513s # EnumName: GeglSamplerType 513s # enum_name: gegl_sampler_type 513s # ENUMNAME: GEGL_SAMPLER_TYPE 513s # ENUMSHORT: SAMPLER_TYPE 513s # ENUMPREFIX: GEGL 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-header 513s # EnumName: GeglSamplerType 513s # enum_name: gegl_sampler_type 513s # ENUMNAME: GEGL_SAMPLER_TYPE 513s # ENUMSHORT: SAMPLER_TYPE 513s # ENUMPREFIX: GEGL 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-production 513s # VALUENAME: GEGL_SAMPLER_NEAREST 513s # valuenick: nearest 513s # valuenum: 0 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-tail 513s # EnumName: GeglSamplerType 513s # enum_name: gegl_sampler_type 513s # ENUMNAME: GEGL_SAMPLER_TYPE 513s # ENUMSHORT: SAMPLER_TYPE 513s # ENUMPREFIX: GEGL 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # file-tail 513s # 513s # comment 513s # comment: Generated data ends here 513s ok 15 __main__.TestMkenums.test_non_utf8_encoding 513s # tmpdir: /tmp/tmpmb1g3634 513s # rspfile: False, mkenums: /usr/bin/glib-mkenums 513s # /tmp/tmpmb1g3634/tmpk_insja1.h: 513s # /* Copyright © La Peña */ 513s # typedef enum { 513s # ENUM_VALUE 513s # } SomeEnumIdentifier; 513s # 513s # /tmp/tmpmb1g3634/tmp68q3o8bq.template: 513s # /*** BEGIN file-header ***/ 513s # file-header 513s # /*** END file-header ***/ 513s # 513s # /*** BEGIN file-production ***/ 513s # file-production 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-production ***/ 513s # 513s # /*** BEGIN enumeration-production ***/ 513s # enumeration-production 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END enumeration-production ***/ 513s # 513s # /*** BEGIN value-header ***/ 513s # value-header 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-header ***/ 513s # 513s # /*** BEGIN value-production ***/ 513s # value-production 513s # VALUENAME: @VALUENAME@ 513s # valuenick: @valuenick@ 513s # valuenum: @valuenum@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-production ***/ 513s # 513s # /*** BEGIN value-tail ***/ 513s # value-tail 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-tail ***/ 513s # 513s # /*** BEGIN comment ***/ 513s # comment 513s # comment: @comment@ 513s # /*** END comment ***/ 513s # 513s # /*** BEGIN file-tail ***/ 513s # file-tail 513s # /*** END file-tail ***/ 513s # 513s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpmb1g3634/tmp68q3o8bq.template', '/tmp/tmpmb1g3634/tmpk_insja1.h'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: comment 513s # 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. 513s # 513s # 513s # file-header 513s # file-production 513s # filename: /tmp/tmpmb1g3634/tmpk_insja1.h 513s # basename: tmpk_insja1.h 513s # enumeration-production 513s # EnumName: SomeEnumIdentifier 513s # enum_name: some_enum_identifier 513s # ENUMNAME: SOME_ENUM_IDENTIFIER 513s # ENUMSHORT: ENUM_IDENTIFIER 513s # ENUMPREFIX: SOME 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-header 513s # EnumName: SomeEnumIdentifier 513s # enum_name: some_enum_identifier 513s # ENUMNAME: SOME_ENUM_IDENTIFIER 513s # ENUMSHORT: ENUM_IDENTIFIER 513s # ENUMPREFIX: SOME 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-production 513s # VALUENAME: ENUM_VALUE 513s # valuenick: value 513s # valuenum: 0 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-tail 513s # EnumName: SomeEnumIdentifier 513s # enum_name: some_enum_identifier 513s # ENUMNAME: SOME_ENUM_IDENTIFIER 513s # ENUMSHORT: ENUM_IDENTIFIER 513s # ENUMPREFIX: SOME 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # file-tail 513s # 513s # comment 513s # comment: Generated data ends here 513s ok 16 __main__.TestMkenums.test_reproducible 513s # tmpdir: /tmp/tmpxarwimrg 513s # rspfile: False, mkenums: /usr/bin/glib-mkenums 513s # /tmp/tmpxarwimrg/tmphz2c6vg4.template: template 513s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxarwimrg/tmphz2c6vg4.template', '/tmp/tmpxarwimrg/tmp44ib4n8g1.h', '/tmp/tmpxarwimrg/tmpjw1pbnpx2.h'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # 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. */ 513s # 513s # 513s # /* Generated data ends here */ 513s # /tmp/tmpxarwimrg/tmpyr7f5vmr.template: template 513s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxarwimrg/tmpyr7f5vmr.template', '/tmp/tmpxarwimrg/tmpjw1pbnpx2.h', '/tmp/tmpxarwimrg/tmp44ib4n8g1.h'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # 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. */ 513s # 513s # 513s # /* Generated data ends here */ 513s ok 17 __main__.TestMkenums.test_since 513s # tmpdir: /tmp/tmpfb7hta4k 513s # rspfile: False, mkenums: /usr/bin/glib-mkenums 513s # /tmp/tmpfb7hta4k/tmpw_o24zov.h: 513s # typedef enum { /*< since=1.0 >*/ 513s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 513s # } QmiWmsMessageProtocol; 513s # 513s # /tmp/tmpfb7hta4k/tmpz2xh05gj.template: 513s # /*** BEGIN file-header ***/ 513s # file-header 513s # /*** END file-header ***/ 513s # 513s # /*** BEGIN file-production ***/ 513s # file-production 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-production ***/ 513s # 513s # /*** BEGIN enumeration-production ***/ 513s # enumeration-production 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END enumeration-production ***/ 513s # 513s # /*** BEGIN value-header ***/ 513s # value-header 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-header ***/ 513s # 513s # /*** BEGIN value-production ***/ 513s # value-production 513s # VALUENAME: @VALUENAME@ 513s # valuenick: @valuenick@ 513s # valuenum: @valuenum@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-production ***/ 513s # 513s # /*** BEGIN value-tail ***/ 513s # value-tail 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-tail ***/ 513s # 513s # /*** BEGIN comment ***/ 513s # comment 513s # comment: @comment@ 513s # /*** END comment ***/ 513s # 513s # /*** BEGIN file-tail ***/ 513s # file-tail 513s # /*** END file-tail ***/ 513s # 513s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfb7hta4k/tmpz2xh05gj.template', '/tmp/tmpfb7hta4k/tmpw_o24zov.h'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: comment 513s # 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. 513s # 513s # 513s # file-header 513s # file-production 513s # filename: /tmp/tmpfb7hta4k/tmpw_o24zov.h 513s # basename: tmpw_o24zov.h 513s # enumeration-production 513s # EnumName: QmiWmsMessageProtocol 513s # enum_name: qmi_wms_message_protocol 513s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 513s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 513s # ENUMPREFIX: QMI 513s # enumsince: 1.0 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-header 513s # EnumName: QmiWmsMessageProtocol 513s # enum_name: qmi_wms_message_protocol 513s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 513s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 513s # ENUMPREFIX: QMI 513s # enumsince: 1.0 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-production 513s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 513s # valuenick: cdma 513s # valuenum: 0 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-tail 513s # EnumName: QmiWmsMessageProtocol 513s # enum_name: qmi_wms_message_protocol 513s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 513s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 513s # ENUMPREFIX: QMI 513s # enumsince: 1.0 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # file-tail 513s # 513s # comment 513s # comment: Generated data ends here 513s ok 18 __main__.TestMkenums.test_with_double_quotes 513s # tmpdir: /tmp/tmpsuvjz2f9 513s # rspfile: False, mkenums: /usr/bin/glib-mkenums 513s # /tmp/tmpsuvjz2f9/tmpeyrp60so.h: 513s # typedef enum { 513s # FOO_VALUE /*< nick="eek, a comma" >*/ 513s # } Foo; 513s # 513s # /tmp/tmpsuvjz2f9/tmp8he05yvl.template: 513s # /*** BEGIN file-header ***/ 513s # file-header 513s # /*** END file-header ***/ 513s # 513s # /*** BEGIN file-production ***/ 513s # file-production 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-production ***/ 513s # 513s # /*** BEGIN enumeration-production ***/ 513s # enumeration-production 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END enumeration-production ***/ 513s # 513s # /*** BEGIN value-header ***/ 513s # value-header 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-header ***/ 513s # 513s # /*** BEGIN value-production ***/ 513s # value-production 513s # VALUENAME: @VALUENAME@ 513s # valuenick: @valuenick@ 513s # valuenum: @valuenum@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-production ***/ 513s # 513s # /*** BEGIN value-tail ***/ 513s # value-tail 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-tail ***/ 513s # 513s # /*** BEGIN comment ***/ 513s # comment 513s # comment: @comment@ 513s # /*** END comment ***/ 513s # 513s # /*** BEGIN file-tail ***/ 513s # file-tail 513s # /*** END file-tail ***/ 513s # 513s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpsuvjz2f9/tmp8he05yvl.template', '/tmp/tmpsuvjz2f9/tmpeyrp60so.h'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: comment 513s # 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. 513s # 513s # 513s # file-header 513s # file-production 513s # filename: /tmp/tmpsuvjz2f9/tmpeyrp60so.h 513s # basename: tmpeyrp60so.h 513s # enumeration-production 513s # EnumName: Foo 513s # enum_name: foo_ 513s # ENUMNAME: FOO_ 513s # ENUMSHORT: 513s # ENUMPREFIX: FOO 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-header 513s # EnumName: Foo 513s # enum_name: foo_ 513s # ENUMNAME: FOO_ 513s # ENUMSHORT: 513s # ENUMPREFIX: FOO 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-production 513s # VALUENAME: FOO_VALUE 513s # valuenick: eek, a comma 513s # valuenum: 0 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-tail 513s # EnumName: Foo 513s # enum_name: foo_ 513s # ENUMNAME: FOO_ 513s # ENUMSHORT: 513s # ENUMPREFIX: FOO 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # file-tail 513s # 513s # comment 513s # comment: Generated data ends here 513s ok 19 __main__.TestRspMkenums.test_available_in 513s # tmpdir: /tmp/tmpcyct6g7g 513s # rspfile: True, mkenums: /usr/bin/glib-mkenums 513s # /tmp/tmpcyct6g7g/tmpb52qx4yy.h: 513s # typedef enum { 513s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 513s # } GDBusServerFlags; 513s # 513s # /tmp/tmpcyct6g7g/tmpvz5mkzeg.template: 513s # /*** BEGIN file-header ***/ 513s # file-header 513s # /*** END file-header ***/ 513s # 513s # /*** BEGIN file-production ***/ 513s # file-production 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-production ***/ 513s # 513s # /*** BEGIN enumeration-production ***/ 513s # enumeration-production 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END enumeration-production ***/ 513s # 513s # /*** BEGIN value-header ***/ 513s # value-header 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-header ***/ 513s # 513s # /*** BEGIN value-production ***/ 513s # value-production 513s # VALUENAME: @VALUENAME@ 513s # valuenick: @valuenick@ 513s # valuenum: @valuenum@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-production ***/ 513s # 513s # /*** BEGIN value-tail ***/ 513s # value-tail 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-tail ***/ 513s # 513s # /*** BEGIN comment ***/ 513s # comment 513s # comment: @comment@ 513s # /*** END comment ***/ 513s # 513s # /*** BEGIN file-tail ***/ 513s # file-tail 513s # /*** END file-tail ***/ 513s # 513s # Response file contains: --template /tmp/tmpcyct6g7g/tmpvz5mkzeg.template /tmp/tmpcyct6g7g/tmpb52qx4yy.h 513s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpcyct6g7g/tmpbemgsk__'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: comment 513s # 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. 513s # 513s # 513s # file-header 513s # file-production 513s # filename: /tmp/tmpcyct6g7g/tmpb52qx4yy.h 513s # basename: tmpb52qx4yy.h 513s # enumeration-production 513s # EnumName: GDBusServerFlags 513s # enum_name: g_dbus_server_flags 513s # ENUMNAME: G_DBUS_SERVER_FLAGS 513s # ENUMSHORT: DBUS_SERVER_FLAGS 513s # ENUMPREFIX: G 513s # enumsince: 513s # type: flags 513s # Type: Flags 513s # TYPE: FLAGS 513s # value-header 513s # EnumName: GDBusServerFlags 513s # enum_name: g_dbus_server_flags 513s # ENUMNAME: G_DBUS_SERVER_FLAGS 513s # ENUMSHORT: DBUS_SERVER_FLAGS 513s # ENUMPREFIX: G 513s # enumsince: 513s # type: flags 513s # Type: Flags 513s # TYPE: FLAGS 513s # value-production 513s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 513s # valuenick: user 513s # valuenum: 4 513s # type: flags 513s # Type: Flags 513s # TYPE: FLAGS 513s # value-tail 513s # EnumName: GDBusServerFlags 513s # enum_name: g_dbus_server_flags 513s # ENUMNAME: G_DBUS_SERVER_FLAGS 513s # ENUMSHORT: DBUS_SERVER_FLAGS 513s # ENUMPREFIX: G 513s # enumsince: 513s # type: flags 513s # Type: Flags 513s # TYPE: FLAGS 513s # file-tail 513s # 513s # comment 513s # comment: Generated data ends here 513s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 513s # tmpdir: /tmp/tmp5gt6gfbc 513s # rspfile: True, mkenums: /usr/bin/glib-mkenums 513s # /tmp/tmp5gt6gfbc/tmp5ad020rd.h: 513s # typedef enum { 513s # ENUM_VALUE_WITH_COMMA = ',', 513s # } TestCommaEnum; 513s # 513s # /tmp/tmp5gt6gfbc/tmpdktpkzm8.template: 513s # /*** BEGIN file-header ***/ 513s # file-header 513s # /*** END file-header ***/ 513s # 513s # /*** BEGIN file-production ***/ 513s # file-production 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-production ***/ 513s # 513s # /*** BEGIN enumeration-production ***/ 513s # enumeration-production 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END enumeration-production ***/ 513s # 513s # /*** BEGIN value-header ***/ 513s # value-header 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-header ***/ 513s # 513s # /*** BEGIN value-production ***/ 513s # value-production 513s # VALUENAME: @VALUENAME@ 513s # valuenick: @valuenick@ 513s # valuenum: @valuenum@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-production ***/ 513s # 513s # /*** BEGIN value-tail ***/ 513s # value-tail 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-tail ***/ 513s # 513s # /*** BEGIN comment ***/ 513s # comment 513s # comment: @comment@ 513s # /*** END comment ***/ 513s # 513s # /*** BEGIN file-tail ***/ 513s # file-tail 513s # /*** END file-tail ***/ 513s # 513s # Response file contains: --template /tmp/tmp5gt6gfbc/tmpdktpkzm8.template /tmp/tmp5gt6gfbc/tmp5ad020rd.h 513s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5gt6gfbc/tmpzu3xkng0'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: comment 513s # 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. 513s # 513s # 513s # file-header 513s # file-production 513s # filename: /tmp/tmp5gt6gfbc/tmp5ad020rd.h 513s # basename: tmp5ad020rd.h 513s # enumeration-production 513s # EnumName: TestCommaEnum 513s # enum_name: test_comma_enum 513s # ENUMNAME: TEST_COMMA_ENUM 513s # ENUMSHORT: COMMA_ENUM 513s # ENUMPREFIX: TEST 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-header 513s # EnumName: TestCommaEnum 513s # enum_name: test_comma_enum 513s # ENUMNAME: TEST_COMMA_ENUM 513s # ENUMSHORT: COMMA_ENUM 513s # ENUMPREFIX: TEST 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-production 513s # VALUENAME: ENUM_VALUE_WITH_COMMA 513s # valuenick: comma 513s # valuenum: 44 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-tail 513s # EnumName: TestCommaEnum 513s # enum_name: test_comma_enum 513s # ENUMNAME: TEST_COMMA_ENUM 513s # ENUMSHORT: COMMA_ENUM 513s # ENUMPREFIX: TEST 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # file-tail 513s # 513s # comment 513s # comment: Generated data ends here 513s ok 21 __main__.TestRspMkenums.test_deprecated_in 513s # tmpdir: /tmp/tmp6j3pl13d 513s # rspfile: True, mkenums: /usr/bin/glib-mkenums 513s # /tmp/tmp6j3pl13d/tmps4hhirq7.h: 513s # typedef enum { 513s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 513s # } GDBusServerFlags; 513s # 513s # /tmp/tmp6j3pl13d/tmpp4loya2k.template: 513s # /*** BEGIN file-header ***/ 513s # file-header 513s # /*** END file-header ***/ 513s # 513s # /*** BEGIN file-production ***/ 513s # file-production 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-production ***/ 513s # 513s # /*** BEGIN enumeration-production ***/ 513s # enumeration-production 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END enumeration-production ***/ 513s # 513s # /*** BEGIN value-header ***/ 513s # value-header 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-header ***/ 513s # 513s # /*** BEGIN value-production ***/ 513s # value-production 513s # VALUENAME: @VALUENAME@ 513s # valuenick: @valuenick@ 513s # valuenum: @valuenum@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-production ***/ 513s # 513s # /*** BEGIN value-tail ***/ 513s # value-tail 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-tail ***/ 513s # 513s # /*** BEGIN comment ***/ 513s # comment 513s # comment: @comment@ 513s # /*** END comment ***/ 513s # 513s # /*** BEGIN file-tail ***/ 513s # file-tail 513s # /*** END file-tail ***/ 513s # 513s # Response file contains: --template /tmp/tmp6j3pl13d/tmpp4loya2k.template /tmp/tmp6j3pl13d/tmps4hhirq7.h 513s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6j3pl13d/tmpmb668spd'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: comment 513s # 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. 513s # 513s # 513s # file-header 513s # file-production 513s # filename: /tmp/tmp6j3pl13d/tmps4hhirq7.h 513s # basename: tmps4hhirq7.h 513s # enumeration-production 513s # EnumName: GDBusServerFlags 513s # enum_name: g_dbus_server_flags 513s # ENUMNAME: G_DBUS_SERVER_FLAGS 513s # ENUMSHORT: DBUS_SERVER_FLAGS 513s # ENUMPREFIX: G 513s # enumsince: 513s # type: flags 513s # Type: Flags 513s # TYPE: FLAGS 513s # value-header 513s # EnumName: GDBusServerFlags 513s # enum_name: g_dbus_server_flags 513s # ENUMNAME: G_DBUS_SERVER_FLAGS 513s # ENUMSHORT: DBUS_SERVER_FLAGS 513s # ENUMPREFIX: G 513s # enumsince: 513s # type: flags 513s # Type: Flags 513s # TYPE: FLAGS 513s # value-production 513s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 513s # valuenick: user 513s # valuenum: 4 513s # type: flags 513s # Type: Flags 513s # TYPE: FLAGS 513s # value-tail 513s # EnumName: GDBusServerFlags 513s # enum_name: g_dbus_server_flags 513s # ENUMNAME: G_DBUS_SERVER_FLAGS 513s # ENUMSHORT: DBUS_SERVER_FLAGS 513s # ENUMPREFIX: G 513s # enumsince: 513s # type: flags 513s # Type: Flags 513s # TYPE: FLAGS 513s # file-tail 513s # 513s # comment 513s # comment: Generated data ends here 513s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 513s # tmpdir: /tmp/tmperqi9cy4 513s # rspfile: True, mkenums: /usr/bin/glib-mkenums 513s # /tmp/tmperqi9cy4/tmptrlqw68c.h: 513s # typedef enum { 513s # 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) 513s # } GDBusServerFlags; 513s # 513s # /tmp/tmperqi9cy4/tmp8suhzwkd.template: 513s # /*** BEGIN file-header ***/ 513s # file-header 513s # /*** END file-header ***/ 513s # 513s # /*** BEGIN file-production ***/ 513s # file-production 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-production ***/ 513s # 513s # /*** BEGIN enumeration-production ***/ 513s # enumeration-production 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END enumeration-production ***/ 513s # 513s # /*** BEGIN value-header ***/ 513s # value-header 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-header ***/ 513s # 513s # /*** BEGIN value-production ***/ 513s # value-production 513s # VALUENAME: @VALUENAME@ 513s # valuenick: @valuenick@ 513s # valuenum: @valuenum@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-production ***/ 513s # 513s # /*** BEGIN value-tail ***/ 513s # value-tail 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-tail ***/ 513s # 513s # /*** BEGIN comment ***/ 513s # comment 513s # comment: @comment@ 513s # /*** END comment ***/ 513s # 513s # /*** BEGIN file-tail ***/ 513s # file-tail 513s # /*** END file-tail ***/ 513s # 513s # Response file contains: --template /tmp/tmperqi9cy4/tmp8suhzwkd.template /tmp/tmperqi9cy4/tmptrlqw68c.h 513s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmperqi9cy4/tmpjypjkuyc'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: comment 513s # 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. 513s # 513s # 513s # file-header 513s # file-production 513s # filename: /tmp/tmperqi9cy4/tmptrlqw68c.h 513s # basename: tmptrlqw68c.h 513s # enumeration-production 513s # EnumName: GDBusServerFlags 513s # enum_name: g_dbus_server_flags 513s # ENUMNAME: G_DBUS_SERVER_FLAGS 513s # ENUMSHORT: DBUS_SERVER_FLAGS 513s # ENUMPREFIX: G 513s # enumsince: 513s # type: flags 513s # Type: Flags 513s # TYPE: FLAGS 513s # value-header 513s # EnumName: GDBusServerFlags 513s # enum_name: g_dbus_server_flags 513s # ENUMNAME: G_DBUS_SERVER_FLAGS 513s # ENUMSHORT: DBUS_SERVER_FLAGS 513s # ENUMPREFIX: G 513s # enumsince: 513s # type: flags 513s # Type: Flags 513s # TYPE: FLAGS 513s # value-production 513s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 513s # valuenick: user 513s # valuenum: 4 513s # type: flags 513s # Type: Flags 513s # TYPE: FLAGS 513s # value-tail 513s # EnumName: GDBusServerFlags 513s # enum_name: g_dbus_server_flags 513s # ENUMNAME: G_DBUS_SERVER_FLAGS 513s # ENUMSHORT: DBUS_SERVER_FLAGS 513s # ENUMPREFIX: G 513s # enumsince: 513s # type: flags 513s # Type: Flags 513s # TYPE: FLAGS 513s # file-tail 513s # 513s # comment 513s # comment: Generated data ends here 513s ok 23 __main__.TestRspMkenums.test_empty_header 513s # tmpdir: /tmp/tmpf73vut_q 513s # rspfile: True, mkenums: /usr/bin/glib-mkenums 513s # /tmp/tmpf73vut_q/tmp7emqu4r7.h: 513s # /tmp/tmpf73vut_q/tmp8vrscxj8.template: 513s # /*** BEGIN file-header ***/ 513s # file-header 513s # /*** END file-header ***/ 513s # 513s # /*** BEGIN file-production ***/ 513s # file-production 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-production ***/ 513s # 513s # /*** BEGIN enumeration-production ***/ 513s # enumeration-production 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END enumeration-production ***/ 513s # 513s # /*** BEGIN value-header ***/ 513s # value-header 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-header ***/ 513s # 513s # /*** BEGIN value-production ***/ 513s # value-production 513s # VALUENAME: @VALUENAME@ 513s # valuenick: @valuenick@ 513s # valuenum: @valuenum@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-production ***/ 513s # 513s # /*** BEGIN value-tail ***/ 513s # value-tail 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-tail ***/ 513s # 513s # /*** BEGIN comment ***/ 513s # comment 513s # comment: @comment@ 513s # /*** END comment ***/ 513s # 513s # /*** BEGIN file-tail ***/ 513s # file-tail 513s # /*** END file-tail ***/ 513s # 513s # Response file contains: --template /tmp/tmpf73vut_q/tmp8vrscxj8.template /tmp/tmpf73vut_q/tmp7emqu4r7.h 513s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpf73vut_q/tmpkrcz_g4u'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: comment 513s # 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. 513s # 513s # 513s # file-header 513s # file-tail 513s # 513s # comment 513s # comment: Generated data ends here 513s ok 24 __main__.TestRspMkenums.test_empty_template 513s # tmpdir: /tmp/tmpgvxcwqp5 513s # rspfile: True, mkenums: /usr/bin/glib-mkenums 513s # /tmp/tmpgvxcwqp5/tmpndhkku85.template: 513s # Response file contains: --template /tmp/tmpgvxcwqp5/tmpndhkku85.template 513s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgvxcwqp5/tmpay__qes3'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # 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. */ 513s # 513s # 513s # /* Generated data ends here */ 513s ok 25 __main__.TestRspMkenums.test_enum_name 513s # tmpdir: /tmp/tmppjh5mx66 513s # rspfile: True, mkenums: /usr/bin/glib-mkenums 513s # /tmp/tmppjh5mx66/tmp3pnvsmyw.h: 513s # typedef enum _SomeEnumIdentifier { 513s # ENUM_VALUE 513s # } SomeEnumIdentifier; 513s # 513s # /tmp/tmppjh5mx66/tmpft9o3_tn.template: 513s # /*** BEGIN file-header ***/ 513s # file-header 513s # /*** END file-header ***/ 513s # 513s # /*** BEGIN file-production ***/ 513s # file-production 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-production ***/ 513s # 513s # /*** BEGIN enumeration-production ***/ 513s # enumeration-production 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END enumeration-production ***/ 513s # 513s # /*** BEGIN value-header ***/ 513s # value-header 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-header ***/ 513s # 513s # /*** BEGIN value-production ***/ 513s # value-production 513s # VALUENAME: @VALUENAME@ 513s # valuenick: @valuenick@ 513s # valuenum: @valuenum@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-production ***/ 513s # 513s # /*** BEGIN value-tail ***/ 513s # value-tail 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-tail ***/ 513s # 513s # /*** BEGIN comment ***/ 513s # comment 513s # comment: @comment@ 513s # /*** END comment ***/ 513s # 513s # /*** BEGIN file-tail ***/ 513s # file-tail 513s # /*** END file-tail ***/ 513s # 513s # Response file contains: --template /tmp/tmppjh5mx66/tmpft9o3_tn.template /tmp/tmppjh5mx66/tmp3pnvsmyw.h 513s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppjh5mx66/tmp7jof6ufd'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: comment 513s # 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. 513s # 513s # 513s # file-header 513s # file-production 513s # filename: /tmp/tmppjh5mx66/tmp3pnvsmyw.h 513s # basename: tmp3pnvsmyw.h 513s # enumeration-production 513s # EnumName: SomeEnumIdentifier 513s # enum_name: some_enum_identifier 513s # ENUMNAME: SOME_ENUM_IDENTIFIER 513s # ENUMSHORT: ENUM_IDENTIFIER 513s # ENUMPREFIX: SOME 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-header 513s # EnumName: SomeEnumIdentifier 513s # enum_name: some_enum_identifier 513s # ENUMNAME: SOME_ENUM_IDENTIFIER 513s # ENUMSHORT: ENUM_IDENTIFIER 513s # ENUMPREFIX: SOME 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-production 513s # VALUENAME: ENUM_VALUE 513s # valuenick: value 513s # valuenum: 0 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-tail 513s # EnumName: SomeEnumIdentifier 513s # enum_name: some_enum_identifier 513s # ENUMNAME: SOME_ENUM_IDENTIFIER 513s # ENUMSHORT: ENUM_IDENTIFIER 513s # ENUMPREFIX: SOME 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # file-tail 513s # 513s # comment 513s # comment: Generated data ends here 513s ok 26 __main__.TestRspMkenums.test_enum_private_public 513s # tmpdir: /tmp/tmpgl4pou0w 513s # rspfile: True, mkenums: /usr/bin/glib-mkenums 513s # /tmp/tmpgl4pou0w/tmp_wyoz3cp.h: 513s # typedef enum { 513s # ENUM_VALUE_PUBLIC1, 513s # /*< private >*/ 513s # ENUM_VALUE_PRIVATE, 513s # } SomeEnumA 513s # 513s # /tmp/tmpgl4pou0w/tmp_iuqw67i.template: 513s # /*** BEGIN file-header ***/ 513s # file-header 513s # /*** END file-header ***/ 513s # 513s # /*** BEGIN file-production ***/ 513s # file-production 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-production ***/ 513s # 513s # /*** BEGIN enumeration-production ***/ 513s # enumeration-production 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END enumeration-production ***/ 513s # 513s # /*** BEGIN value-header ***/ 513s # value-header 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-header ***/ 513s # 513s # /*** BEGIN value-production ***/ 513s # value-production 513s # VALUENAME: @VALUENAME@ 513s # valuenick: @valuenick@ 513s # valuenum: @valuenum@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-production ***/ 513s # 513s # /*** BEGIN value-tail ***/ 513s # value-tail 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-tail ***/ 513s # 513s # /*** BEGIN comment ***/ 513s # comment 513s # comment: @comment@ 513s # /*** END comment ***/ 513s # 513s # /*** BEGIN file-tail ***/ 513s # file-tail 513s # /*** END file-tail ***/ 513s # 513s # Response file contains: --template /tmp/tmpgl4pou0w/tmp_iuqw67i.template /tmp/tmpgl4pou0w/tmp_wyoz3cp.h 513s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgl4pou0w/tmp20o9183f'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: comment 513s # 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. 513s # 513s # 513s # file-header 513s # file-production 513s # filename: /tmp/tmpgl4pou0w/tmp_wyoz3cp.h 513s # basename: tmp_wyoz3cp.h 513s # enumeration-production 513s # EnumName: SomeEnumA 513s # enum_name: some_enum_a 513s # ENUMNAME: SOME_ENUM_A 513s # ENUMSHORT: ENUM_A 513s # ENUMPREFIX: SOME 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-header 513s # EnumName: SomeEnumA 513s # enum_name: some_enum_a 513s # ENUMNAME: SOME_ENUM_A 513s # ENUMSHORT: ENUM_A 513s # ENUMPREFIX: SOME 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-production 513s # VALUENAME: ENUM_VALUE_PUBLIC1 513s # valuenick: public1 513s # valuenum: 0 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-tail 513s # EnumName: SomeEnumA 513s # enum_name: some_enum_a 513s # ENUMNAME: SOME_ENUM_A 513s # ENUMSHORT: ENUM_A 513s # ENUMPREFIX: SOME 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # file-tail 513s # 513s # comment 513s # comment: Generated data ends here 513s # /tmp/tmpgl4pou0w/tmp07kluk9r.h: 513s # typedef enum { 513s # /*< private >*/ 513s # ENUM_VALUE_PRIVATE, 513s # /*< public >*/ 513s # ENUM_VALUE_PUBLIC2, 513s # } SomeEnumB; 513s # 513s # /tmp/tmpgl4pou0w/tmp6jolvq79.template: 513s # /*** BEGIN file-header ***/ 513s # file-header 513s # /*** END file-header ***/ 513s # 513s # /*** BEGIN file-production ***/ 513s # file-production 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-production ***/ 513s # 513s # /*** BEGIN enumeration-production ***/ 513s # enumeration-production 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END enumeration-production ***/ 513s # 513s # /*** BEGIN value-header ***/ 513s # value-header 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-header ***/ 513s # 513s # /*** BEGIN value-production ***/ 513s # value-production 513s # VALUENAME: @VALUENAME@ 513s # valuenick: @valuenick@ 513s # valuenum: @valuenum@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-production ***/ 513s # 513s # /*** BEGIN value-tail ***/ 513s # value-tail 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-tail ***/ 513s # 513s # /*** BEGIN comment ***/ 513s # comment 513s # comment: @comment@ 513s # /*** END comment ***/ 513s # 513s # /*** BEGIN file-tail ***/ 513s # file-tail 513s # /*** END file-tail ***/ 513s # 513s # Response file contains: --template /tmp/tmpgl4pou0w/tmp6jolvq79.template /tmp/tmpgl4pou0w/tmp07kluk9r.h 513s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgl4pou0w/tmp0r4bk5o2'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: comment 513s # 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. 513s # 513s # 513s # file-header 513s # file-production 513s # filename: /tmp/tmpgl4pou0w/tmp07kluk9r.h 513s # basename: tmp07kluk9r.h 513s # enumeration-production 513s # EnumName: SomeEnumB 513s # enum_name: some_enum_b 513s # ENUMNAME: SOME_ENUM_B 513s # ENUMSHORT: ENUM_B 513s # ENUMPREFIX: SOME 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-header 513s # EnumName: SomeEnumB 513s # enum_name: some_enum_b 513s # ENUMNAME: SOME_ENUM_B 513s # ENUMSHORT: ENUM_B 513s # ENUMPREFIX: SOME 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-production 513s # VALUENAME: ENUM_VALUE_PUBLIC2 513s # valuenick: public2 513s # valuenum: 1 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-tail 513s # EnumName: SomeEnumB 513s # enum_name: some_enum_b 513s # ENUMNAME: SOME_ENUM_B 513s # ENUMSHORT: ENUM_B 513s # ENUMPREFIX: SOME 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # file-tail 513s # 513s # comment 513s # comment: Generated data ends here 513s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 513s # tmpdir: /tmp/tmpvyb40kb9 513s # rspfile: True, mkenums: /usr/bin/glib-mkenums 513s # /tmp/tmpvyb40kb9/tmpmy1ndvtk.h: 513s # typedef enum { 513s # /*< private >*/ 513s # ENUM_VALUE_PRIVATE = 5, 513s # /*< public >*/ 513s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 513s # } TestSymbolicEnum; 513s # 513s # /tmp/tmpvyb40kb9/tmplegy2h2e.template: 513s # /*** BEGIN file-header ***/ 513s # file-header 513s # /*** END file-header ***/ 513s # 513s # /*** BEGIN file-production ***/ 513s # file-production 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-production ***/ 513s # 513s # /*** BEGIN enumeration-production ***/ 513s # enumeration-production 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END enumeration-production ***/ 513s # 513s # /*** BEGIN value-header ***/ 513s # value-header 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-header ***/ 513s # 513s # /*** BEGIN value-production ***/ 513s # value-production 513s # VALUENAME: @VALUENAME@ 513s # valuenick: @valuenick@ 513s # valuenum: @valuenum@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-production ***/ 513s # 513s # /*** BEGIN value-tail ***/ 513s # value-tail 513s # EnumName: @EnumName@ 513s # enum_name: @enum_name@ 513s # ENUMNAME: @ENUMNAME@ 513s # ENUMSHORT: @ENUMSHORT@ 513s # ENUMPREFIX: @ENUMPREFIX@ 513s # enumsince: @enumsince@ 513s # type: @type@ 513s # Type: @Type@ 513s # TYPE: @TYPE@ 513s # /*** END value-tail ***/ 513s # 513s # /*** BEGIN comment ***/ 513s # comment 513s # comment: @comment@ 513s # /*** END comment ***/ 513s # 513s # /*** BEGIN file-tail ***/ 513s # file-tail 513s # /*** END file-tail ***/ 513s # 513s # Response file contains: --template /tmp/tmpvyb40kb9/tmplegy2h2e.template /tmp/tmpvyb40kb9/tmpmy1ndvtk.h 513s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvyb40kb9/tmpx6xmnct9'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: comment 513s # 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. 513s # 513s # 513s # file-header 513s # file-production 513s # filename: /tmp/tmpvyb40kb9/tmpmy1ndvtk.h 513s # basename: tmpmy1ndvtk.h 513s # enumeration-production 513s # EnumName: TestSymbolicEnum 513s # enum_name: test_symbolic_enum 513s # ENUMNAME: TEST_SYMBOLIC_ENUM 513s # ENUMSHORT: SYMBOLIC_ENUM 513s # ENUMPREFIX: TEST 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-header 513s # EnumName: TestSymbolicEnum 513s # enum_name: test_symbolic_enum 513s # ENUMNAME: TEST_SYMBOLIC_ENUM 513s # ENUMSHORT: SYMBOLIC_ENUM 513s # ENUMPREFIX: TEST 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-production 513s # VALUENAME: ENUM_VALUE_PUBLIC 513s # valuenick: public 513s # valuenum: 7 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # value-tail 513s # EnumName: TestSymbolicEnum 513s # enum_name: test_symbolic_enum 513s # ENUMNAME: TEST_SYMBOLIC_ENUM 513s # ENUMSHORT: SYMBOLIC_ENUM 513s # ENUMPREFIX: TEST 513s # enumsince: 513s # type: enum 513s # Type: Enum 513s # TYPE: ENUM 513s # file-tail 513s # 513s # comment 513s # comment: Generated data ends here 513s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 513s # tmpdir: /tmp/tmpjg87lh01 513s # rspfile: True, mkenums: /usr/bin/glib-mkenums 513s # /tmp/tmpjg87lh01/tmp0jkdwgs3.template: 513s # /*** BEGIN file-header ***/ 513s # file-header 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-header ***/ 513s # 513s # /*** BEGIN comment ***/ 513s # comment 513s # comment: @comment@ 513s # /*** END comment ***/ 513s # 513s # /*** BEGIN file-tail ***/ 513s # file-tail 513s # filename: @filename@ 513s # basename: @basename@ 513s # /*** END file-tail ***/ 513s # Response file contains: --template /tmp/tmpjg87lh01/tmp0jkdwgs3.template 513s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpjg87lh01/tmpqab8o8ql'] 513s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 513s # Output: comment 513s # 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. 513s # 513s # 513s # file-header 513s # filename: @filename@ 513s # basename: @basename@ 513s # file-tail 513s # filename: @filename@ 513s # basename: @basename@ 513s # 513s # comment 513s # comment: Generated data ends here 514s ok 29 __main__.TestRspMkenums.test_help 514s # tmpdir: /tmp/tmpmfxmeskg 514s # rspfile: True, mkenums: /usr/bin/glib-mkenums 514s # Response file contains: --help 514s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmfxmeskg/tmp1cibkh9c'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 514s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 514s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 514s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 514s # [--comments COMMENT_TMPL] [--template TEMPLATE] 514s # [--output OUTPUT] [--version] 514s # [args ...] 514s # 514s # positional arguments: 514s # args One or more input files, or a single argument 514s # @rspfile_path pointing to a file that contains the 514s # actual arguments 514s # 514s # options: 514s # -h, --help show this help message and exit 514s # --identifier-prefix IDPREFIX 514s # Identifier prefix 514s # --symbol-prefix SYMPREFIX 514s # Symbol prefix 514s # --fhead FHEAD Output file header 514s # --ftail FTAIL Output file footer 514s # --fprod FPROD Put out TEXT every time a new input file is being 514s # processed. 514s # --eprod EPROD Per enum text, produced prior to value iterations 514s # --vhead VHEAD Value header, produced before iterating over enum 514s # values 514s # --vprod VPROD Value text, produced for each enum value. 514s # --vtail VTAIL Value tail, produced after iterating over enum values 514s # --comments COMMENT_TMPL 514s # Comment structure 514s # --template TEMPLATE Template file 514s # --output OUTPUT 514s # --version, -v Print version information 514s # 514s # Production text substitutions: 514s # @EnumName@ PrefixTheXEnum 514s # @enum_name@ prefix_the_xenum 514s # @ENUMNAME@ PREFIX_THE_XENUM 514s # @ENUMSHORT@ THE_XENUM 514s # @ENUMPREFIX@ PREFIX 514s # @enumsince@ the user-provided since value given 514s # @VALUENAME@ PREFIX_THE_XVALUE 514s # @valuenick@ the-xvalue 514s # @valuenum@ the integer value (limited support, Since: 2.26) 514s # @type@ either enum or flags 514s # @Type@ either Enum or Flags 514s # @TYPE@ either ENUM or FLAGS 514s # @filename@ name of current input file 514s # @basename@ base name of the current input file (Since: 2.22) 514s ok 30 __main__.TestRspMkenums.test_no_args 514s # tmpdir: /tmp/tmptgvy_30i 514s # rspfile: True, mkenums: /usr/bin/glib-mkenums 514s # Response file contains: 514s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmptgvy_30i/tmpt41om_ad'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # 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. */ 514s # 514s # 514s # /* Generated data ends here */ 514s ok 31 __main__.TestRspMkenums.test_no_headers 514s # tmpdir: /tmp/tmp7ytv5u5g 514s # rspfile: True, mkenums: /usr/bin/glib-mkenums 514s # /tmp/tmp7ytv5u5g/tmp0bwxeghh.template: 514s # /*** BEGIN file-header ***/ 514s # file-header 514s # /*** END file-header ***/ 514s # 514s # /*** BEGIN file-production ***/ 514s # file-production 514s # filename: @filename@ 514s # basename: @basename@ 514s # /*** END file-production ***/ 514s # 514s # /*** BEGIN enumeration-production ***/ 514s # enumeration-production 514s # EnumName: @EnumName@ 514s # enum_name: @enum_name@ 514s # ENUMNAME: @ENUMNAME@ 514s # ENUMSHORT: @ENUMSHORT@ 514s # ENUMPREFIX: @ENUMPREFIX@ 514s # enumsince: @enumsince@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END enumeration-production ***/ 514s # 514s # /*** BEGIN value-header ***/ 514s # value-header 514s # EnumName: @EnumName@ 514s # enum_name: @enum_name@ 514s # ENUMNAME: @ENUMNAME@ 514s # ENUMSHORT: @ENUMSHORT@ 514s # ENUMPREFIX: @ENUMPREFIX@ 514s # enumsince: @enumsince@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END value-header ***/ 514s # 514s # /*** BEGIN value-production ***/ 514s # value-production 514s # VALUENAME: @VALUENAME@ 514s # valuenick: @valuenick@ 514s # valuenum: @valuenum@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END value-production ***/ 514s # 514s # /*** BEGIN value-tail ***/ 514s # value-tail 514s # EnumName: @EnumName@ 514s # enum_name: @enum_name@ 514s # ENUMNAME: @ENUMNAME@ 514s # ENUMSHORT: @ENUMSHORT@ 514s # ENUMPREFIX: @ENUMPREFIX@ 514s # enumsince: @enumsince@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END value-tail ***/ 514s # 514s # /*** BEGIN comment ***/ 514s # comment 514s # comment: @comment@ 514s # /*** END comment ***/ 514s # 514s # /*** BEGIN file-tail ***/ 514s # file-tail 514s # /*** END file-tail ***/ 514s # 514s # Response file contains: --template /tmp/tmp7ytv5u5g/tmp0bwxeghh.template 514s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7ytv5u5g/tmp0vld6rqf'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: comment 514s # 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. 514s # 514s # 514s # file-header 514s # file-tail 514s # 514s # comment 514s # comment: Generated data ends here 514s ok 32 __main__.TestRspMkenums.test_no_nick 514s # tmpdir: /tmp/tmpdpmg7ocz 514s # rspfile: True, mkenums: /usr/bin/glib-mkenums 514s # /tmp/tmpdpmg7ocz/tmp0zhq87x2.h: 514s # typedef enum { 514s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 514s # } GeglSamplerType; 514s # 514s # /tmp/tmpdpmg7ocz/tmp5qpi7kkp.template: 514s # /*** BEGIN file-header ***/ 514s # file-header 514s # /*** END file-header ***/ 514s # 514s # /*** BEGIN file-production ***/ 514s # file-production 514s # filename: @filename@ 514s # basename: @basename@ 514s # /*** END file-production ***/ 514s # 514s # /*** BEGIN enumeration-production ***/ 514s # enumeration-production 514s # EnumName: @EnumName@ 514s # enum_name: @enum_name@ 514s # ENUMNAME: @ENUMNAME@ 514s # ENUMSHORT: @ENUMSHORT@ 514s # ENUMPREFIX: @ENUMPREFIX@ 514s # enumsince: @enumsince@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END enumeration-production ***/ 514s # 514s # /*** BEGIN value-header ***/ 514s # value-header 514s # EnumName: @EnumName@ 514s # enum_name: @enum_name@ 514s # ENUMNAME: @ENUMNAME@ 514s # ENUMSHORT: @ENUMSHORT@ 514s # ENUMPREFIX: @ENUMPREFIX@ 514s # enumsince: @enumsince@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END value-header ***/ 514s # 514s # /*** BEGIN value-production ***/ 514s # value-production 514s # VALUENAME: @VALUENAME@ 514s # valuenick: @valuenick@ 514s # valuenum: @valuenum@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END value-production ***/ 514s # 514s # /*** BEGIN value-tail ***/ 514s # value-tail 514s # EnumName: @EnumName@ 514s # enum_name: @enum_name@ 514s # ENUMNAME: @ENUMNAME@ 514s # ENUMSHORT: @ENUMSHORT@ 514s # ENUMPREFIX: @ENUMPREFIX@ 514s # enumsince: @enumsince@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END value-tail ***/ 514s # 514s # /*** BEGIN comment ***/ 514s # comment 514s # comment: @comment@ 514s # /*** END comment ***/ 514s # 514s # /*** BEGIN file-tail ***/ 514s # file-tail 514s # /*** END file-tail ***/ 514s # 514s # Response file contains: --template /tmp/tmpdpmg7ocz/tmp5qpi7kkp.template /tmp/tmpdpmg7ocz/tmp0zhq87x2.h 514s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpdpmg7ocz/tmpyf_rgmo6'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: comment 514s # 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. 514s # 514s # 514s # file-header 514s # file-production 514s # filename: /tmp/tmpdpmg7ocz/tmp0zhq87x2.h 514s # basename: tmp0zhq87x2.h 514s # enumeration-production 514s # EnumName: GeglSamplerType 514s # enum_name: gegl_sampler_type 514s # ENUMNAME: GEGL_SAMPLER_TYPE 514s # ENUMSHORT: SAMPLER_TYPE 514s # ENUMPREFIX: GEGL 514s # enumsince: 514s # type: enum 514s # Type: Enum 514s # TYPE: ENUM 514s # value-header 514s # EnumName: GeglSamplerType 514s # enum_name: gegl_sampler_type 514s # ENUMNAME: GEGL_SAMPLER_TYPE 514s # ENUMSHORT: SAMPLER_TYPE 514s # ENUMPREFIX: GEGL 514s # enumsince: 514s # type: enum 514s # Type: Enum 514s # TYPE: ENUM 514s # value-production 514s # VALUENAME: GEGL_SAMPLER_NEAREST 514s # valuenick: nearest 514s # valuenum: 0 514s # type: enum 514s # Type: Enum 514s # TYPE: ENUM 514s # value-tail 514s # EnumName: GeglSamplerType 514s # enum_name: gegl_sampler_type 514s # ENUMNAME: GEGL_SAMPLER_TYPE 514s # ENUMSHORT: SAMPLER_TYPE 514s # ENUMPREFIX: GEGL 514s # enumsince: 514s # type: enum 514s # Type: Enum 514s # TYPE: ENUM 514s # file-tail 514s # 514s # comment 514s # comment: Generated data ends here 514s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 514s # tmpdir: /tmp/tmppapkjr40 514s # rspfile: True, mkenums: /usr/bin/glib-mkenums 514s # /tmp/tmppapkjr40/tmppctycawj.h: 514s # /* Copyright © La Peña */ 514s # typedef enum { 514s # ENUM_VALUE 514s # } SomeEnumIdentifier; 514s # 514s # /tmp/tmppapkjr40/tmpg9q_vn0x.template: 514s # /*** BEGIN file-header ***/ 514s # file-header 514s # /*** END file-header ***/ 514s # 514s # /*** BEGIN file-production ***/ 514s # file-production 514s # filename: @filename@ 514s # basename: @basename@ 514s # /*** END file-production ***/ 514s # 514s # /*** BEGIN enumeration-production ***/ 514s # enumeration-production 514s # EnumName: @EnumName@ 514s # enum_name: @enum_name@ 514s # ENUMNAME: @ENUMNAME@ 514s # ENUMSHORT: @ENUMSHORT@ 514s # ENUMPREFIX: @ENUMPREFIX@ 514s # enumsince: @enumsince@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END enumeration-production ***/ 514s # 514s # /*** BEGIN value-header ***/ 514s # value-header 514s # EnumName: @EnumName@ 514s # enum_name: @enum_name@ 514s # ENUMNAME: @ENUMNAME@ 514s # ENUMSHORT: @ENUMSHORT@ 514s # ENUMPREFIX: @ENUMPREFIX@ 514s # enumsince: @enumsince@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END value-header ***/ 514s # 514s # /*** BEGIN value-production ***/ 514s # value-production 514s # VALUENAME: @VALUENAME@ 514s # valuenick: @valuenick@ 514s # valuenum: @valuenum@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END value-production ***/ 514s # 514s # /*** BEGIN value-tail ***/ 514s # value-tail 514s # EnumName: @EnumName@ 514s # enum_name: @enum_name@ 514s # ENUMNAME: @ENUMNAME@ 514s # ENUMSHORT: @ENUMSHORT@ 514s # ENUMPREFIX: @ENUMPREFIX@ 514s # enumsince: @enumsince@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END value-tail ***/ 514s # 514s # /*** BEGIN comment ***/ 514s # comment 514s # comment: @comment@ 514s # /*** END comment ***/ 514s # 514s # /*** BEGIN file-tail ***/ 514s # file-tail 514s # /*** END file-tail ***/ 514s # 514s # Response file contains: --template /tmp/tmppapkjr40/tmpg9q_vn0x.template /tmp/tmppapkjr40/tmppctycawj.h 514s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmppapkjr40/tmp9got2ggq'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: comment 514s # 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. 514s # 514s # 514s # file-header 514s # file-production 514s # filename: /tmp/tmppapkjr40/tmppctycawj.h 514s # basename: tmppctycawj.h 514s # enumeration-production 514s # EnumName: SomeEnumIdentifier 514s # enum_name: some_enum_identifier 514s # ENUMNAME: SOME_ENUM_IDENTIFIER 514s # ENUMSHORT: ENUM_IDENTIFIER 514s # ENUMPREFIX: SOME 514s # enumsince: 514s # type: enum 514s # Type: Enum 514s # TYPE: ENUM 514s # value-header 514s # EnumName: SomeEnumIdentifier 514s # enum_name: some_enum_identifier 514s # ENUMNAME: SOME_ENUM_IDENTIFIER 514s # ENUMSHORT: ENUM_IDENTIFIER 514s # ENUMPREFIX: SOME 514s # enumsince: 514s # type: enum 514s # Type: Enum 514s # TYPE: ENUM 514s # value-production 514s # VALUENAME: ENUM_VALUE 514s # valuenick: value 514s # valuenum: 0 514s # type: enum 514s # Type: Enum 514s # TYPE: ENUM 514s # value-tail 514s # EnumName: SomeEnumIdentifier 514s # enum_name: some_enum_identifier 514s # ENUMNAME: SOME_ENUM_IDENTIFIER 514s # ENUMSHORT: ENUM_IDENTIFIER 514s # ENUMPREFIX: SOME 514s # enumsince: 514s # type: enum 514s # Type: Enum 514s # TYPE: ENUM 514s # file-tail 514s # 514s # comment 514s # comment: Generated data ends here 514s ok 34 __main__.TestRspMkenums.test_reproducible 514s # tmpdir: /tmp/tmprfm_4hjg 514s # rspfile: True, mkenums: /usr/bin/glib-mkenums 514s # /tmp/tmprfm_4hjg/tmpzi_11scn.template: template 514s # Response file contains: --template /tmp/tmprfm_4hjg/tmpzi_11scn.template /tmp/tmprfm_4hjg/tmpoz74e60m1.h /tmp/tmprfm_4hjg/tmp5xy0gjk02.h 514s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprfm_4hjg/tmpwe0cl80h'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # 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. */ 514s # 514s # 514s # /* Generated data ends here */ 514s # /tmp/tmprfm_4hjg/tmpixam5anx.template: template 514s # Response file contains: --template /tmp/tmprfm_4hjg/tmpixam5anx.template /tmp/tmprfm_4hjg/tmp5xy0gjk02.h /tmp/tmprfm_4hjg/tmpoz74e60m1.h 514s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprfm_4hjg/tmpw2sa4vi9'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # 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. */ 514s # 514s # 514s # /* Generated data ends here */ 514s ok 35 __main__.TestRspMkenums.test_since 514s # tmpdir: /tmp/tmpe8tord7y 514s # rspfile: True, mkenums: /usr/bin/glib-mkenums 514s # /tmp/tmpe8tord7y/tmpty0eczut.h: 514s # typedef enum { /*< since=1.0 >*/ 514s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 514s # } QmiWmsMessageProtocol; 514s # 514s # /tmp/tmpe8tord7y/tmp73xkmcnw.template: 514s # /*** BEGIN file-header ***/ 514s # file-header 514s # /*** END file-header ***/ 514s # 514s # /*** BEGIN file-production ***/ 514s # file-production 514s # filename: @filename@ 514s # basename: @basename@ 514s # /*** END file-production ***/ 514s # 514s # /*** BEGIN enumeration-production ***/ 514s # enumeration-production 514s # EnumName: @EnumName@ 514s # enum_name: @enum_name@ 514s # ENUMNAME: @ENUMNAME@ 514s # ENUMSHORT: @ENUMSHORT@ 514s # ENUMPREFIX: @ENUMPREFIX@ 514s # enumsince: @enumsince@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END enumeration-production ***/ 514s # 514s # /*** BEGIN value-header ***/ 514s # value-header 514s # EnumName: @EnumName@ 514s # enum_name: @enum_name@ 514s # ENUMNAME: @ENUMNAME@ 514s # ENUMSHORT: @ENUMSHORT@ 514s # ENUMPREFIX: @ENUMPREFIX@ 514s # enumsince: @enumsince@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END value-header ***/ 514s # 514s # /*** BEGIN value-production ***/ 514s # value-production 514s # VALUENAME: @VALUENAME@ 514s # valuenick: @valuenick@ 514s # valuenum: @valuenum@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END value-production ***/ 514s # 514s # /*** BEGIN value-tail ***/ 514s # value-tail 514s # EnumName: @EnumName@ 514s # enum_name: @enum_name@ 514s # ENUMNAME: @ENUMNAME@ 514s # ENUMSHORT: @ENUMSHORT@ 514s # ENUMPREFIX: @ENUMPREFIX@ 514s # enumsince: @enumsince@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END value-tail ***/ 514s # 514s # /*** BEGIN comment ***/ 514s # comment 514s # comment: @comment@ 514s # /*** END comment ***/ 514s # 514s # /*** BEGIN file-tail ***/ 514s # file-tail 514s # /*** END file-tail ***/ 514s # 514s # Response file contains: --template /tmp/tmpe8tord7y/tmp73xkmcnw.template /tmp/tmpe8tord7y/tmpty0eczut.h 514s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpe8tord7y/tmpk_dhf7op'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: comment 514s # 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. 514s # 514s # 514s # file-header 514s # file-production 514s # filename: /tmp/tmpe8tord7y/tmpty0eczut.h 514s # basename: tmpty0eczut.h 514s # enumeration-production 514s # EnumName: QmiWmsMessageProtocol 514s # enum_name: qmi_wms_message_protocol 514s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 514s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 514s # ENUMPREFIX: QMI 514s # enumsince: 1.0 514s # type: enum 514s # Type: Enum 514s # TYPE: ENUM 514s # value-header 514s # EnumName: QmiWmsMessageProtocol 514s # enum_name: qmi_wms_message_protocol 514s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 514s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 514s # ENUMPREFIX: QMI 514s # enumsince: 1.0 514s # type: enum 514s # Type: Enum 514s # TYPE: ENUM 514s # value-production 514s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 514s # valuenick: cdma 514s # valuenum: 0 514s # type: enum 514s # Type: Enum 514s # TYPE: ENUM 514s # value-tail 514s # EnumName: QmiWmsMessageProtocol 514s # enum_name: qmi_wms_message_protocol 514s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 514s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 514s # ENUMPREFIX: QMI 514s # enumsince: 1.0 514s # type: enum 514s # Type: Enum 514s # TYPE: ENUM 514s # file-tail 514s # 514s # comment 514s # comment: Generated data ends here 514s ok 36 __main__.TestRspMkenums.test_with_double_quotes 514s # tmpdir: /tmp/tmpycn37hv7 514s # rspfile: True, mkenums: /usr/bin/glib-mkenums 514s # /tmp/tmpycn37hv7/tmpdlo2o2vc.h: 514s # typedef enum { 514s # FOO_VALUE /*< nick="eek, a comma" >*/ 514s # } Foo; 514s # 514s # /tmp/tmpycn37hv7/tmpn9r700o2.template: 514s # /*** BEGIN file-header ***/ 514s # file-header 514s # /*** END file-header ***/ 514s # 514s # /*** BEGIN file-production ***/ 514s # file-production 514s # filename: @filename@ 514s # basename: @basename@ 514s # /*** END file-production ***/ 514s # 514s # /*** BEGIN enumeration-production ***/ 514s # enumeration-production 514s # EnumName: @EnumName@ 514s # enum_name: @enum_name@ 514s # ENUMNAME: @ENUMNAME@ 514s # ENUMSHORT: @ENUMSHORT@ 514s # ENUMPREFIX: @ENUMPREFIX@ 514s # enumsince: @enumsince@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END enumeration-production ***/ 514s # 514s # /*** BEGIN value-header ***/ 514s # value-header 514s # EnumName: @EnumName@ 514s # enum_name: @enum_name@ 514s # ENUMNAME: @ENUMNAME@ 514s # ENUMSHORT: @ENUMSHORT@ 514s # ENUMPREFIX: @ENUMPREFIX@ 514s # enumsince: @enumsince@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END value-header ***/ 514s # 514s # /*** BEGIN value-production ***/ 514s # value-production 514s # VALUENAME: @VALUENAME@ 514s # valuenick: @valuenick@ 514s # valuenum: @valuenum@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END value-production ***/ 514s # 514s # /*** BEGIN value-tail ***/ 514s # value-tail 514s # EnumName: @EnumName@ 514s # enum_name: @enum_name@ 514s # ENUMNAME: @ENUMNAME@ 514s # ENUMSHORT: @ENUMSHORT@ 514s # ENUMPREFIX: @ENUMPREFIX@ 514s # enumsince: @enumsince@ 514s # type: @type@ 514s # Type: @Type@ 514s # TYPE: @TYPE@ 514s # /*** END value-tail ***/ 514s # 514s # /*** BEGIN comment ***/ 514s # comment 514s # comment: @comment@ 514s # /*** END comment ***/ 514s # 514s # /*** BEGIN file-tail ***/ 514s # file-tail 514s # /*** END file-tail ***/ 514s # 514s # Response file contains: --template /tmp/tmpycn37hv7/tmpn9r700o2.template /tmp/tmpycn37hv7/tmpdlo2o2vc.h 514s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpycn37hv7/tmp8agkxx11'] 514s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 514s # Output: comment 514s # 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. 514s # 514s # 514s # file-header 514s # file-production 514s # filename: /tmp/tmpycn37hv7/tmpdlo2o2vc.h 514s # basename: tmpdlo2o2vc.h 514s # enumeration-production 514s # EnumName: Foo 514s # enum_name: foo_ 514s # ENUMNAME: FOO_ 514s # ENUMSHORT: 514s # ENUMPREFIX: FOO 514s # enumsince: 514s # type: enum 514s # Type: Enum 514s # TYPE: ENUM 514s # value-header 514s # EnumName: Foo 514s # enum_name: foo_ 514s # ENUMNAME: FOO_ 514s # ENUMSHORT: 514s # ENUMPREFIX: FOO 514s # enumsince: 514s # type: enum 514s # Type: Enum 514s # TYPE: ENUM 514s # value-production 514s # VALUENAME: FOO_VALUE 514s # valuenick: eek, a comma 514s # valuenum: 0 514s # type: enum 514s # Type: Enum 514s # TYPE: ENUM 514s # value-tail 514s # EnumName: Foo 514s # enum_name: foo_ 514s # ENUMNAME: FOO_ 514s # ENUMSHORT: 514s # ENUMPREFIX: FOO 514s # enumsince: 514s # type: enum 514s # Type: Enum 514s # TYPE: ENUM 514s # file-tail 514s # 514s # comment 514s # comment: Generated data ends here 514s 1..36 514s ok - glib/mkenums.py.test 514s # Running test: glib/markup-subparser.test 514s TAP version 13 514s # random seed: R02S4d6e8d86ecc9ede359a95f0f5498c0c8 514s 1..14 514s # Start of glib tests 514s # Start of markup tests 514s # Start of subparser tests 514s # Start of success tests 514s ok 1 /glib/markup/subparser/success/0 514s ok 2 /glib/markup/subparser/success/1 514s ok 3 /glib/markup/subparser/success/2 514s ok 4 /glib/markup/subparser/success/3 514s ok 5 /glib/markup/subparser/success/4 514s ok 6 /glib/markup/subparser/success/5 514s ok 7 /glib/markup/subparser/success/6 514s # End of success tests 514s # Start of failure tests 514s ok 8 /glib/markup/subparser/failure/0 514s ok 9 /glib/markup/subparser/failure/1 514s ok 10 /glib/markup/subparser/failure/2 514s ok 11 /glib/markup/subparser/failure/3 514s ok 12 /glib/markup/subparser/failure/4 514s ok 13 /glib/markup/subparser/failure/5 514s ok 14 /glib/markup/subparser/failure/6 514s # End of failure tests 514s # End of subparser tests 514s # End of markup tests 514s # End of glib tests 514s ok - glib/markup-subparser.test 514s # Running test: glib/references.test 514s TAP version 13 514s # random seed: R02S4f2fecd841c320ed8b954202571a154a 514s 1..1 514s # Start of gobject tests 514s ok 1 /gobject/references 514s # End of gobject tests 514s ok - glib/references.test 514s # Running test: glib/performance.test 514s Running test simple-construction 514s # Executing: glib/performance.test 519s # Executing: glib/performance.test 521s Millions of constructed objects per second: 3.808 521s Running test simple-construction1 524s Millions of constructed objects per second: 46.361 524s Running test complex-construction 524s # Executing: glib/performance.test 529s Millions of constructed objects per second: 2.230 529s Running test complex-construction1 529s # Executing: glib/performance.test 534s # Executing: glib/performance.test 535s Millions of constructed objects per second: 2.853 535s Running test complex-construction2 539s # Executing: glib/performance.test 542s Millions of constructed objects per second: 3.108 542s Running test finalization 544s Millions of finalized objects per second: 0.699 544s Running test type-check 544s Million type checks per second: inf 544s Running test emit-unhandled 544s # Executing: glib/performance.test 546s Emissions per second: 995116 546s Running test emit-unhandled-empty 547s Emissions per second: 8568386 547s Running test emit-unhandled-generic 548s Emissions per second: 1204528 548s Running test emit-unhandled-generic-empty 549s # Executing: glib/performance.test 549s Emissions per second: 8563074 549s Running test emit-unhandled-args 551s Emissions per second: 902729 551s Running test emit-handled 553s Emissions per second: 737461 553s Running test emit-handled-empty 554s # Executing: glib/performance.test 555s Emissions per second: 763757 555s Running test emit-handled-generic 556s Emissions per second: 752136 556s Running test emit-handled-generic-empty 558s Emissions per second: 1180896 558s Running test emit-handled-args 559s # Executing: glib/performance.test 560s Emissions per second: 690968 560s Running test notify-unhandled 561s Notify (unhandled) per second: 9834745 561s Running test notify-by-pspec-unhandled 562s Notify (unhandled) per second: 39001119 562s Running test notify-handled 564s Notify per second: 418211 564s Running test notify-by-pspec-handled 564s # Executing: glib/performance.test 566s Notify per second: 435965 566s Running test property-set 568s Property set per second: 2131879 568s Running test property-get 569s Property get per second: 2012252 569s Running test refcount 569s # Executing: glib/performance.test 574s # Executing: glib/performance.test 575s Million refs+unref per second: 5.45 575s ok - glib/performance.test 575s # Running test: glib/sandbox.test 575s TAP version 13 575s # random seed: R02S2efb2e54d4db280c0ff56d34d2912e3a 575s 1..4 575s # Start of sandbox tests 575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_04KLK2/sandbox/none/.dirs/home 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_04KLK2/sandbox/none/.dirs/cache 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_04KLK2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_04KLK2/sandbox/none/.dirs/system-config2 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_04KLK2/sandbox/none/.dirs/config 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_04KLK2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_04KLK2/sandbox/none/.dirs/system-data2 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_04KLK2/sandbox/none/.dirs/data 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_04KLK2/sandbox/none/.dirs/state 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_04KLK2/sandbox/none/.dirs/runtime 575s ok 1 /sandbox/none 575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_04KLK2/sandbox/snap/.dirs/home 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_04KLK2/sandbox/snap/.dirs/cache 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_04KLK2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_04KLK2/sandbox/snap/.dirs/system-config2 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_04KLK2/sandbox/snap/.dirs/config 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_04KLK2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_04KLK2/sandbox/snap/.dirs/system-data2 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_04KLK2/sandbox/snap/.dirs/data 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_04KLK2/sandbox/snap/.dirs/state 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_04KLK2/sandbox/snap/.dirs/runtime 575s # Created snap.yaml in /tmp/test_sandbox_04KLK2/snap/current/meta/snap.yaml 575s ok 2 /sandbox/snap 575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_04KLK2/sandbox/classic-snap/.dirs/home 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_04KLK2/sandbox/classic-snap/.dirs/cache 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_04KLK2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_04KLK2/sandbox/classic-snap/.dirs/system-config2 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_04KLK2/sandbox/classic-snap/.dirs/config 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_04KLK2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_04KLK2/sandbox/classic-snap/.dirs/system-data2 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_04KLK2/sandbox/classic-snap/.dirs/data 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_04KLK2/sandbox/classic-snap/.dirs/state 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_04KLK2/sandbox/classic-snap/.dirs/runtime 575s # Created snap.yaml in /tmp/test_sandbox_04KLK2/snap/current/meta/snap.yaml 575s ok 3 /sandbox/classic-snap 575s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_04KLK2/sandbox/flatpak/.dirs/home 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_04KLK2/sandbox/flatpak/.dirs/cache 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_04KLK2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_04KLK2/sandbox/flatpak/.dirs/system-config2 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_04KLK2/sandbox/flatpak/.dirs/config 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_04KLK2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_04KLK2/sandbox/flatpak/.dirs/system-data2 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_04KLK2/sandbox/flatpak/.dirs/data 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_04KLK2/sandbox/flatpak/.dirs/state 575s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_04KLK2/sandbox/flatpak/.dirs/runtime 575s # Creating .flatpak-info in /tmp/test_sandbox_04KLK2/sandbox/flatpak/.dirs/runtime/.flatpak-info 575s ok 4 /sandbox/flatpak 575s # End of sandbox tests 575s ok - glib/sandbox.test 575s # Running test: glib/hostutils.test 575s TAP version 13 575s # random seed: R02S96902d2304857bed3907ade7d839e616 575s 1..3 575s # Start of hostutils tests 575s ok 1 /hostutils/to_ascii 575s ok 2 /hostutils/to_unicode 575s ok 3 /hostutils/is_ip_addr 575s # End of hostutils tests 575s ok - glib/hostutils.test 575s # Running test: glib/sleepy-stream.test 575s TAP version 13 575s # random seed: R02Sa049f430e22b89f8a98ede5d002f5b81 575s 1..2 575s # Start of filter-stream tests 575s ok 1 /filter-stream/input 575s ok 2 /filter-stream/async 575s # End of filter-stream tests 575s ok - glib/sleepy-stream.test 575s # Running test: glib/thread-pool-slow.test 575s TAP version 13 575s # random seed: R02Sebd2c7bfbdd2a8ecaaa21a297cfe798a 575s 1..7 575s # Start of threadpool tests 575s ok 1 /threadpool/functions 576s ok 2 /threadpool/stop-unused 576s # slow test /threadpool/stop-unused executed in 0.51 secs 576s ok 3 /threadpool/pools 576s # [unsorted] ===> pushed new thread with id:90, number of threads:1, unprocessed:0 576s # [unsorted] ===> pushed new thread with id:28, number of threads:2, unprocessed:1 576s # [unsorted] ===> pushed new thread with id:96, number of threads:3, unprocessed:2 576s # [unsorted] ===> pushed new thread with id:92, number of threads:4, unprocessed:3 576s # [unsorted] ===> pushed new thread with id:58, number of threads:5, unprocessed:4 576s # [unsorted] ===> pushed new thread with id:72, number of threads:6, unprocessed:5 576s # [unsorted] ===> pushed new thread with id:76, number of threads:7, unprocessed:6 576s # [unsorted] ===> pushed new thread with id:34, number of threads:8, unprocessed:7 576s # [unsorted] ===> pushed new thread with id:20, number of threads:9, unprocessed:8 576s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:1 576s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:1 576s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:2 576s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:3 576s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:4 576s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:5 576s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:6 576s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:7 576s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:8 576s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:9 576s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:10 576s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:11 576s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:12 576s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:13 576s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:14 576s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:15 576s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:16 576s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:17 576s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:18 576s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:19 576s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:20 576s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:21 576s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:22 576s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:23 576s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:24 576s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:25 576s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:26 576s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:27 576s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:28 576s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:29 576s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:30 576s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:31 576s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:32 576s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:33 576s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:34 576s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:35 576s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:36 576s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:37 576s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:38 576s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:39 576s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:40 576s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:41 576s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:42 576s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:43 576s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:44 576s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:45 576s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:46 576s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:47 576s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:48 576s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:49 576s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:50 576s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:51 576s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:52 576s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:53 576s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:54 576s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:55 576s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:56 576s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:57 576s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:58 576s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:59 576s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:60 576s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:61 576s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:62 576s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:63 576s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:64 576s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:65 576s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:66 576s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:67 576s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:68 576s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:69 576s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:70 576s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:71 576s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:72 576s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:73 576s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:74 576s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:75 576s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:76 576s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:77 576s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:78 576s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:79 576s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:80 576s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:81 576s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:82 576s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:83 576s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:84 576s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:85 576s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:86 576s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:87 576s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:88 576s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:89 576s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:90 576s ok 4 /threadpool/no-sort 576s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:1 576s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:2 576s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:3 576s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:4 576s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:5 576s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:6 576s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:7 576s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:8 576s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:9 576s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:10 576s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:11 576s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:12 576s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:13 576s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:14 576s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:15 576s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:16 576s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:17 576s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:18 576s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:19 576s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:20 576s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:21 576s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:22 576s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:23 576s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:24 576s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:25 576s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:26 576s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:27 576s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:28 576s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:29 576s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:30 576s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:31 576s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:32 576s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:33 576s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:34 576s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:35 576s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:36 576s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:37 576s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:38 576s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:39 576s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:40 576s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:41 576s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:42 576s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:43 576s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:44 576s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:45 576s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:46 576s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:47 576s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:48 576s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:49 576s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:50 576s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:51 576s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:52 576s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:53 576s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:54 576s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:55 576s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:56 576s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:57 576s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:58 576s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:59 576s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:60 576s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:61 576s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:62 576s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:63 576s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:64 576s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:65 576s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:66 576s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:67 576s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:68 576s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:69 576s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:70 576s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:71 576s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:72 576s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:73 576s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:74 576s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:75 576s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:76 576s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:77 576s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:78 576s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:79 576s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:80 576s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:81 576s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:82 576s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:83 576s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:84 576s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:85 576s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:86 576s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:87 576s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:88 576s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:89 576s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:90 576s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:91 576s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:92 576s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:93 576s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:94 576s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:95 576s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:96 576s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:97 576s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:98 576s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:99 576s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:100 576s # Starting thread pool processing 576s ok 5 /threadpool/sort 576s ok 6 /threadpool/stop-unused-multiple 576s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 576s # Pool idle thread count: 0, unprocessed jobs: 41 577s # Pool idle thread count: 0, unprocessed jobs: 0 577s # Pool idle thread count: 0, unprocessed jobs: 0 577s # Pool idle thread count: 10, unprocessed jobs: 0 577s # Pool idle thread count: 10, unprocessed jobs: 0 578s # Pool idle thread count: 10, unprocessed jobs: 0 578s # Pool idle thread count: 10, unprocessed jobs: 0 578s # Pool idle thread count: 10, unprocessed jobs: 0 578s # Pool idle thread count: 10, unprocessed jobs: 0 579s # Pool idle thread count: 10, unprocessed jobs: 0 579s # Pool idle thread count: 10, unprocessed jobs: 0 579s # Pool idle thread count: 10, unprocessed jobs: 0 579s # Pool idle thread count: 10, unprocessed jobs: 0 579s # Executing: glib/thread-pool-slow.test 580s # Pool idle thread count: 10, unprocessed jobs: 0 580s # Pool idle thread count: 10, unprocessed jobs: 0 580s # Pool idle thread count: 10, unprocessed jobs: 0 580s # Pool idle thread count: 10, unprocessed jobs: 0 581s # Pool idle thread count: 10, unprocessed jobs: 0 581s # Pool idle thread count: 10, unprocessed jobs: 0 581s # Pool idle thread count: 10, unprocessed jobs: 0 581s # Pool idle thread count: 10, unprocessed jobs: 0 582s # Pool idle thread count: 10, unprocessed jobs: 0 582s # Pool idle thread count: 10, unprocessed jobs: 0 582s # Pool idle thread count: 10, unprocessed jobs: 0 582s # Pool idle thread count: 10, unprocessed jobs: 0 583s # Pool idle thread count: 10, unprocessed jobs: 0 583s # Pool idle thread count: 10, unprocessed jobs: 0 583s # Pool idle thread count: 10, unprocessed jobs: 0 583s # Pool idle thread count: 10, unprocessed jobs: 0 584s # Pool idle thread count: 10, unprocessed jobs: 0 584s # Pool idle thread count: 10, unprocessed jobs: 0 584s # Executing: glib/thread-pool-slow.test 584s # Pool idle thread count: 10, unprocessed jobs: 0 584s # Pool idle thread count: 10, unprocessed jobs: 0 585s # Pool idle thread count: 10, unprocessed jobs: 0 585s # Pool idle thread count: 10, unprocessed jobs: 0 585s # Pool idle thread count: 10, unprocessed jobs: 2 585s # Pool idle thread count: 8, unprocessed jobs: 0 585s # Pool idle thread count: 8, unprocessed jobs: 0 585s # Pool idle thread count: 8, unprocessed jobs: 0 586s # Pool idle thread count: 10, unprocessed jobs: 0 586s # Pool idle thread count: 10, unprocessed jobs: 0 586s # Pool idle thread count: 10, unprocessed jobs: 0 586s # Pool idle thread count: 10, unprocessed jobs: 0 587s # Pool idle thread count: 10, unprocessed jobs: 0 587s # Pool idle thread count: 10, unprocessed jobs: 0 587s # Pool idle thread count: 2, unprocessed jobs: 0 587s # Pool idle thread count: 2, unprocessed jobs: 0 588s # Pool idle thread count: 2, unprocessed jobs: 0 588s # Pool idle thread count: 2, unprocessed jobs: 0 588s # Pool idle thread count: 2, unprocessed jobs: 0 588s # Pool idle thread count: 2, unprocessed jobs: 0 589s # Pool idle thread count: 2, unprocessed jobs: 0 589s # Pool idle thread count: 2, unprocessed jobs: 0 589s # Executing: glib/thread-pool-slow.test 589s # Pool idle thread count: 2, unprocessed jobs: 0 589s # Pool idle thread count: 2, unprocessed jobs: 0 590s # Pool idle thread count: 2, unprocessed jobs: 0 590s # Pool idle thread count: 2, unprocessed jobs: 0 590s # Pool idle thread count: 2, unprocessed jobs: 0 590s # Pool idle thread count: 2, unprocessed jobs: 0 591s # Pool idle thread count: 2, unprocessed jobs: 0 591s # Pool idle thread count: 2, unprocessed jobs: 0 591s # Pool idle thread count: 2, unprocessed jobs: 0 591s # Pool idle thread count: 2, unprocessed jobs: 0 592s # Pool idle thread count: 2, unprocessed jobs: 0 592s # Pool idle thread count: 2, unprocessed jobs: 0 592s # Pool idle thread count: 2, unprocessed jobs: 0 592s # Pool idle thread count: 2, unprocessed jobs: 0 593s # Pool idle thread count: 2, unprocessed jobs: 0 593s # Pool idle thread count: 2, unprocessed jobs: 0 593s # Pool idle thread count: 2, unprocessed jobs: 0 593s # Pool idle thread count: 2, unprocessed jobs: 0 594s # Pool idle thread count: 2, unprocessed jobs: 0 594s # Pool idle thread count: 2, unprocessed jobs: 0 594s # Executing: glib/thread-pool-slow.test 594s # Pool idle thread count: 2, unprocessed jobs: 0 594s # Pool idle thread count: 2, unprocessed jobs: 0 595s # Pool idle thread count: 2, unprocessed jobs: 0 595s # Pool idle thread count: 2, unprocessed jobs: 0 595s # Pool idle thread count: 2, unprocessed jobs: 0 595s # Pool idle thread count: 2, unprocessed jobs: 0 596s ok 7 /threadpool/idle-time 596s # slow test /threadpool/idle-time executed in 19.53 secs 596s # End of threadpool tests 596s ok - glib/thread-pool-slow.test 596s # Running test: glib/slice.test 596s TAP version 13 596s # random seed: R02Sd53ddd585243f12188c392e356dc327b 596s 1..3 596s # Start of slice tests 596s ok 1 /slice/copy 596s ok 2 /slice/chain 596s ok 3 /slice/allocate 596s # End of slice tests 596s ok - glib/slice.test 596s # Running test: glib/overflow-fallback.test 596s TAP version 13 596s # random seed: R02S23e744ef46cd33cc1df257f4dca080b1 596s 1..6 596s # Start of glib tests 596s # Start of checked-math tests 596s ok 1 /glib/checked-math/guint-add 596s ok 2 /glib/checked-math/guint-mul 596s ok 3 /glib/checked-math/guint64-add 596s ok 4 /glib/checked-math/guint64-mul 596s ok 5 /glib/checked-math/gsize-add 596s ok 6 /glib/checked-math/gsize-mul 596s # End of checked-math tests 596s # End of glib tests 596s ok - glib/overflow-fallback.test 596s # Running test: glib/file-thumbnail.test 596s TAP version 13 596s # random seed: R02S8f4b91da24d76f79bf6e9a545a98d6b3 596s 1..7 596s # Start of file-thumbnail tests 596s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/fail/.dirs/home 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/fail/.dirs/cache 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_XCBZK2/file-thumbnail/fail/.dirs/system-config2 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/fail/.dirs/config 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_XCBZK2/file-thumbnail/fail/.dirs/system-data2 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/fail/.dirs/data 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/fail/.dirs/state 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/fail/.dirs/runtime 596s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 596s # Created test thumbnail at /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 596s ok 1 /file-thumbnail/fail 596s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/size-priority/.dirs/home 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/size-priority/.dirs/cache 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_XCBZK2/file-thumbnail/size-priority/.dirs/system-config2 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/size-priority/.dirs/config 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_XCBZK2/file-thumbnail/size-priority/.dirs/system-data2 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/size-priority/.dirs/data 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/size-priority/.dirs/state 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/size-priority/.dirs/runtime 596s # Created test thumbnail at /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 596s # Created test thumbnail at /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 596s # Created test thumbnail at /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 596s # Created test thumbnail at /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 596s # Created test thumbnail at /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 596s ok 2 /file-thumbnail/size-priority 596s # Start of valid tests 596s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/normal/.dirs/home 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/normal/.dirs/cache 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/normal/.dirs/system-config2 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/normal/.dirs/config 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/normal/.dirs/system-data2 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/normal/.dirs/data 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/normal/.dirs/state 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/normal/.dirs/runtime 596s # Created test thumbnail at /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 596s ok 3 /file-thumbnail/valid/normal 596s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/large/.dirs/home 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/large/.dirs/cache 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/large/.dirs/system-config2 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/large/.dirs/config 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/large/.dirs/system-data2 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/large/.dirs/data 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/large/.dirs/state 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/large/.dirs/runtime 596s # Created test thumbnail at /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 596s ok 4 /file-thumbnail/valid/large 596s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/x-large/.dirs/home 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/x-large/.dirs/cache 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/x-large/.dirs/system-config2 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/x-large/.dirs/config 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/x-large/.dirs/system-data2 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/x-large/.dirs/data 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/x-large/.dirs/state 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/x-large/.dirs/runtime 596s # Created test thumbnail at /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 596s ok 5 /file-thumbnail/valid/x-large 596s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/xx-large/.dirs/home 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/xx-large/.dirs/cache 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/xx-large/.dirs/system-config2 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/xx-large/.dirs/config 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/xx-large/.dirs/system-data2 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/xx-large/.dirs/data 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/xx-large/.dirs/state 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/xx-large/.dirs/runtime 596s # Created test thumbnail at /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 596s ok 6 /file-thumbnail/valid/xx-large 596s # End of valid tests 596s # Start of unknown tests 596s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/unknown/super-large/.dirs/home 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/unknown/super-large/.dirs/cache 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_XCBZK2/file-thumbnail/unknown/super-large/.dirs/system-config2 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/unknown/super-large/.dirs/config 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_XCBZK2/file-thumbnail/unknown/super-large/.dirs/system-data2 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/unknown/super-large/.dirs/data 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/unknown/super-large/.dirs/state 596s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/unknown/super-large/.dirs/runtime 596s # Created test thumbnail at /tmp/test_file-thumbnail_XCBZK2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 596s ok 7 /file-thumbnail/unknown/super-large 596s # End of unknown tests 596s # End of file-thumbnail tests 596s ok - glib/file-thumbnail.test 596s # Running test: glib/bytes.test 596s TAP version 13 596s # random seed: R02S51c6e1d7165fb01be8c2191f1e0e6ad9 596s 1..21 596s # Start of bytes tests 596s ok 1 /bytes/new 596s ok 2 /bytes/new-take 596s ok 3 /bytes/new-static 596s ok 4 /bytes/new-with-free-func 596s ok 5 /bytes/new-from-bytes 596s ok 6 /bytes/new-from-bytes-slice 596s ok 7 /bytes/new-from-bytes-shared-ref 596s ok 8 /bytes/hash 596s ok 9 /bytes/equal 596s ok 10 /bytes/compare 596s ok 11 /bytes/null 596s ok 12 /bytes/get-region 596s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 596s ok 13 /bytes/unref-null 596s # Start of to-data tests 596s ok 14 /bytes/to-data/transferred 596s ok 15 /bytes/to-data/two-refs 596s ok 16 /bytes/to-data/non-malloc 596s ok 17 /bytes/to-data/different-free-func 596s # End of to-data tests 596s # Start of to-array tests 596s ok 18 /bytes/to-array/transferred 596s ok 19 /bytes/to-array/two-refs 596s ok 20 /bytes/to-array/non-malloc 596s # Start of transferred tests 596s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 596s ok 21 /bytes/to-array/transferred/oversize 596s # End of transferred tests 596s # End of to-array tests 596s # End of bytes tests 596s ok - glib/bytes.test 596s # Running test: glib/slist.test 596s TAP version 13 596s # random seed: R02S29711093206078e78d8da4efdad16fdd 596s 1..14 596s # Start of slist tests 596s ok 1 /slist/sort 596s ok 2 /slist/sort-with-data 596s ok 3 /slist/insert-sorted 596s ok 4 /slist/insert-sorted-with-data 596s ok 5 /slist/reverse 596s ok 6 /slist/nth 596s ok 7 /slist/remove 596s ok 8 /slist/remove-all 596s ok 9 /slist/insert 596s ok 10 /slist/position 596s ok 11 /slist/concat 596s ok 12 /slist/copy 596s # Start of sort tests 596s ok 13 /slist/sort/stable 596s # End of sort tests 596s # Start of copy tests 596s ok 14 /slist/copy/deep 596s # End of copy tests 596s # End of slist tests 596s ok - glib/slist.test 596s # Running test: glib/trash.test 596s TAP version 13 596s # random seed: R02Sb82743f855a9bb9e737900aefd735861 596s 1..2 596s # Start of trash tests 596s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 596s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 596s # File: /tmp/test-trash8V7ZK2 (parent st_dev: 2049) 596s # Home: /home/ubuntu (st_dev: 2049) 596s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 596s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 596s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 596s # End of trash tests 596s ok - glib/trash.test 596s # Running test: glib/enums.test 596s TAP version 13 596s # random seed: R02S4657bda5658758a2dd091ec423f3bd09 596s 1..4 596s # Start of enum tests 596s ok 1 /enum/basic 596s ok 2 /enum/define-type 596s # End of enum tests 596s # Start of flags tests 596s ok 3 /flags/basic 596s ok 4 /flags/define-type 596s # End of flags tests 596s ok - glib/enums.test 596s # Running test: glib/gsubprocess.test 596s TAP version 13 596s # random seed: R02Sb790ef35100cffbac2c86244698532ec 596s 1..83 596s # Start of gsubprocess tests 596s ok 1 /gsubprocess/noop 596s ok 2 /gsubprocess/noop-all-to-null 596s ok 3 /gsubprocess/noop-no-wait 596s ok 4 /gsubprocess/noop-stdin-inherit 596s ok 5 /gsubprocess/search-path 596s ok 6 /gsubprocess/search-path-from-envp 599s # Executing: glib/gsubprocess.test 599s ok 7 /gsubprocess/signal 599s # slow test /gsubprocess/signal executed in 3.27 secs 599s ok 8 /gsubprocess/exit1 599s ok 9 /gsubprocess/echo1 599s ok 10 /gsubprocess/echo-merged 599s ok 11 /gsubprocess/cat-utf8 600s ok 12 /gsubprocess/cat-eof 600s # slow test /gsubprocess/cat-eof executed in 1.00 secs 603s ok 13 /gsubprocess/multi1 603s # slow test /gsubprocess/multi1 executed in 3.01 secs 603s ok 14 /gsubprocess/communicate 604s # Executing: glib/gsubprocess.test 606s ok 15 /gsubprocess/terminate 606s # slow test /gsubprocess/terminate executed in 2.97 secs 606s ok 16 /gsubprocess/env 606s ok 17 /gsubprocess/cwd 606s ok 18 /gsubprocess/launcher-close 606s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 606s ok 19 /gsubprocess/stdout-file 606s ok 20 /gsubprocess/stdout-fd 606s ok 21 /gsubprocess/child-setup 606s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 606s ok 22 /gsubprocess/launcher-environment 606s # Start of exit1 tests 606s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 606s ok 23 /gsubprocess/exit1/cancel 606s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 606s ok 24 /gsubprocess/exit1/cancel_in_cb 606s # End of exit1 tests 606s # Start of communicate tests 606s ok 25 /gsubprocess/communicate/cancelled 606s ok 26 /gsubprocess/communicate/async 606s ok 27 /gsubprocess/communicate/utf8 606s # hello world 606s ok 28 /gsubprocess/communicate/no-pipes 606s ok 29 /gsubprocess/communicate/separate-stderr 606s ok 30 /gsubprocess/communicate/stdout-only 606s # hello world 606s ok 31 /gsubprocess/communicate/stderr-only 606s ok 32 /gsubprocess/communicate/stdout-silence 606s ok 33 /gsubprocess/communicate/nothing 606s # Start of async tests 606s ok 34 /gsubprocess/communicate/async/cancelled 606s # hello world 606s ok 35 /gsubprocess/communicate/async/no-pipes 606s ok 36 /gsubprocess/communicate/async/separate-stderr 606s ok 37 /gsubprocess/communicate/async/stdout-only 606s # hello world 606s ok 38 /gsubprocess/communicate/async/stderr-only 606s ok 39 /gsubprocess/communicate/async/stdout-silence 606s # Start of cancelled tests 606s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 606s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 606s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 606s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 606s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 606s # End of cancelled tests 606s # End of async tests 606s # Start of utf8 tests 606s ok 45 /gsubprocess/communicate/utf8/cancelled 606s ok 46 /gsubprocess/communicate/utf8/async 606s # hello world 606s ok 47 /gsubprocess/communicate/utf8/no-pipes 606s ok 48 /gsubprocess/communicate/utf8/separate-stderr 606s ok 49 /gsubprocess/communicate/utf8/stdout-only 606s # hello world 606s ok 50 /gsubprocess/communicate/utf8/stderr-only 606s ok 51 /gsubprocess/communicate/utf8/stdout-silence 606s ok 52 /gsubprocess/communicate/utf8/invalid 606s # Start of async tests 606s ok 53 /gsubprocess/communicate/utf8/async/cancelled 606s # hello world 606s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 606s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 606s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 606s # hello world 606s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 606s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 606s ok 59 /gsubprocess/communicate/utf8/async/invalid 606s # Start of cancelled tests 606s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 606s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 606s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 606s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 606s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 606s # End of cancelled tests 606s # End of async tests 606s # Start of cancelled tests 606s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 606s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 606s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 606s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 606s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 606s # End of cancelled tests 606s # End of utf8 tests 606s # Start of cancelled tests 606s ok 70 /gsubprocess/communicate/cancelled/no-pipes 606s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 606s ok 72 /gsubprocess/communicate/cancelled/stdout-only 606s ok 73 /gsubprocess/communicate/cancelled/stderr-only 606s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 606s # End of cancelled tests 606s # End of communicate tests 606s # Start of env tests 606s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 606s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 606s ok 75 /gsubprocess/env/inherit 606s # End of env tests 606s # Start of pass-fd tests 606s ok 76 /gsubprocess/pass-fd/basic 606s ok 77 /gsubprocess/pass-fd/empty-child-setup 606s ok 78 /gsubprocess/pass-fd/inherit-fds 606s # End of pass-fd tests 606s # Start of fd-conflation tests 606s ok 79 /gsubprocess/fd-conflation/basic 606s ok 80 /gsubprocess/fd-conflation/empty-child-setup 606s ok 81 /gsubprocess/fd-conflation/inherit-fds 606s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 606s # End of fd-conflation tests 606s # Start of exit-status tests 606s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 606s ok 83 /gsubprocess/exit-status/trapped 606s # End of exit-status tests 606s # End of gsubprocess tests 606s ok - glib/gsubprocess.test 606s # Running test: glib/properties-refcount4.test 606s TAP version 13 606s # random seed: R02S917cbb42d9492f6a550c42d5f5a57480 606s 1..1 606s # Start of gobject tests 606s # Start of refcount tests 606s ok 1 /gobject/refcount/properties-4 606s # End of refcount tests 606s # End of gobject tests 606s ok - glib/properties-refcount4.test 606s # Running test: glib/portal-support-env-var.test 606s TAP version 13 606s # random seed: R02S549ce04129c3dfe11b662281427ab64c 606s 1..1 606s # Start of portal-support tests 606s ok 1 /portal-support/env-var 606s # End of portal-support tests 606s ok - glib/portal-support-env-var.test 606s # Running test: glib/keyfile.test 606s TAP version 13 606s # random seed: R02Sb32e4857a51bc178b7625d5b12878aff 606s 1..36 606s # Start of keyfile tests 606s ok 1 /keyfile/line-ends 606s ok 2 /keyfile/whitespace 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 606s ok 3 /keyfile/comments 606s ok 4 /keyfile/listing 606s ok 5 /keyfile/string 606s ok 6 /keyfile/boolean 606s ok 7 /keyfile/number 606s ok 8 /keyfile/locale-string 606s ok 9 /keyfile/lists 606s ok 10 /keyfile/lists-set-get 606s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 606s ok 11 /keyfile/group-remove 606s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 606s ok 12 /keyfile/key-remove 606s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 606s ok 13 /keyfile/groups 606s ok 14 /keyfile/duplicate-keys 606s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 606s ok 15 /keyfile/duplicate-groups 606s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 606s ok 16 /keyfile/duplicate-groups2 606s ok 17 /keyfile/group-names 606s ok 18 /keyfile/key-names 606s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 606s ok 19 /keyfile/reload 606s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 606s ok 20 /keyfile/int64 606s ok 21 /keyfile/load 606s ok 22 /keyfile/save 606s ok 23 /keyfile/load-fail 606s ok 24 /keyfile/non-utf8 606s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 606s ok 25 /keyfile/page-boundary 606s ok 26 /keyfile/ref 606s ok 27 /keyfile/replace-value 606s ok 28 /keyfile/list-separator 606s ok 29 /keyfile/empty-string 606s ok 30 /keyfile/limbo 606s # Testing invalid encoding ?non-UTF-8? 606s # Testing invalid encoding ?UTF? 606s # Testing invalid encoding ?UTF-9? 606s ok 31 /keyfile/utf8 606s ok 32 /keyfile/roundtrip 606s ok 33 /keyfile/bytes 606s ok 34 /keyfile/get-locale 606s ok 35 /keyfile/free-when-not-last-ref 606s # Start of locale-string tests 606s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 606s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 606s ok 36 /keyfile/locale-string/multiple-loads 606s # End of locale-string tests 606s # End of keyfile tests 606s ok - glib/keyfile.test 606s # Running test: glib/atomic-c-11.test 606s TAP version 13 606s # random seed: R02Sf0cbc200e5858be3f93a7496abba643b 606s 1..2 606s # Start of atomic tests 606s ok 1 /atomic/types 607s ok 2 /atomic/threaded 607s # End of atomic tests 607s ok - glib/atomic-c-11.test 607s # Running test: glib/properties-refcount1.test 607s TAP version 13 607s # random seed: R02S8a92aa37a9b002717955ecbb5389bbb9 607s 1..1 607s # Start of gobject tests 607s # Start of refcount tests 607s # .f 607s # .c 607s # .e 607s # .b 607s # .d 607s # .f 607s # .c 607s # .e 607s # .b 607s # .d 607s # .f 607s # .c 607s # .e 607s # .b 607s # .d 607s # .f 607s # .e 607s # .c 607s # .b 607s # .d 608s # .f 608s # .e 608s # .c 608s # .d 608s # .b 608s # .f 608s # .e 608s # .c 608s # .d 608s # .b 608s # .f 608s # .e 608s # .c 608s # .d 608s # .b 608s # .c 608s # .e 608s # .f 608s # .d 608s # .b 608s # .c 608s # .e 608s # .f 608s # .d 608s # .b 609s # .e 609s # .c 609s # .f 609s # .d 609s # .b 609s # .c 609s # .e 609s # .d 609s # .f 609s # .b 609s # .c 609s # .e 609s # .f 609s # .d 609s # .b 609s # .c 609s # .e 609s # .f 609s # .d 609s # .b 609s # Executing: glib/properties-refcount1.test 609s # .c 609s # .e 609s # .d 609s # .b 609s # .f 610s # .c 610s # .e 610s # .d 610s # .b 610s # .f 610s ok 1 /gobject/refcount/properties-1 610s # slow test /gobject/refcount/properties-1 executed in 3.01 secs 610s # End of refcount tests 610s # End of gobject tests 610s ok - glib/properties-refcount1.test 610s # Running test: glib/gdbus-connection-flush.test 610s TAP version 13 610s # random seed: R02S0c6437751e72702dad83d280bb0c3877 610s 1..2 610s # Start of gdbus tests 610s # Start of connection tests 610s # Start of flush tests 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/busy/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/busy/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/busy/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/busy/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/busy/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/busy/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/busy/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/busy/.dirs/runtime 610s ok 1 /gdbus/connection/flush/busy 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/idle/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/idle/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/idle/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/idle/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/idle/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/idle/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/idle/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_QG1TK2/gdbus/connection/flush/idle/.dirs/runtime 610s ok 2 /gdbus/connection/flush/idle 610s # End of flush tests 610s # End of connection tests 610s # End of gdbus tests 610s ok - glib/gdbus-connection-flush.test 610s # Running test: glib/gdbus-connection.test 610s TAP version 13 610s # random seed: R02S4bce05c41e16fc73323b945cd3546df5 610s 1..9 610s # Start of gdbus tests 610s # Start of connection tests 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/bus-failure/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/bus-failure/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_YBSTK2/gdbus/connection/bus-failure/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/bus-failure/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_YBSTK2/gdbus/connection/bus-failure/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/bus-failure/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/bus-failure/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/bus-failure/.dirs/runtime 610s ok 1 /gdbus/connection/bus-failure 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/basic/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/basic/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_YBSTK2/gdbus/connection/basic/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/basic/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_YBSTK2/gdbus/connection/basic/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/basic/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/basic/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/basic/.dirs/runtime 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s ok 2 /gdbus/connection/basic 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/life-cycle/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/life-cycle/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_YBSTK2/gdbus/connection/life-cycle/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/life-cycle/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_YBSTK2/gdbus/connection/life-cycle/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/life-cycle/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/life-cycle/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/life-cycle/.dirs/runtime 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s ok 3 /gdbus/connection/life-cycle 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/send/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/send/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_YBSTK2/gdbus/connection/send/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/send/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_YBSTK2/gdbus/connection/send/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/send/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/send/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/send/.dirs/runtime 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s ok 4 /gdbus/connection/send 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signals/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signals/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signals/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signals/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signals/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signals/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signals/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signals/.dirs/runtime 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s ok 5 /gdbus/connection/signals 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signal-match-rules/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signal-match-rules/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signal-match-rules/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signal-match-rules/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signal-match-rules/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signal-match-rules/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signal-match-rules/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/signal-match-rules/.dirs/runtime 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s ok 6 /gdbus/connection/signal-match-rules 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/filter/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/filter/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_YBSTK2/gdbus/connection/filter/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/filter/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_YBSTK2/gdbus/connection/filter/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/filter/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/filter/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/filter/.dirs/runtime 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s ok 7 /gdbus/connection/filter 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/serials/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/serials/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_YBSTK2/gdbus/connection/serials/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/serials/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_YBSTK2/gdbus/connection/serials/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/serials/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/serials/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/serials/.dirs/runtime 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s ok 8 /gdbus/connection/serials 610s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/cancel/.dirs/home 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/cancel/.dirs/cache 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_YBSTK2/gdbus/connection/cancel/.dirs/system-config2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/cancel/.dirs/config 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_YBSTK2/gdbus/connection/cancel/.dirs/system-data2 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/cancel/.dirs/data 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/cancel/.dirs/state 610s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_YBSTK2/gdbus/connection/cancel/.dirs/runtime 610s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 610s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 610s ok 9 /gdbus/connection/cancel 610s # End of connection tests 610s # End of gdbus tests 610s ok - glib/gdbus-connection.test 610s # Running test: glib/utils-c-11.test 610s TAP version 13 610s # random seed: R02Sf7763e4bb968cfc03539a73ccc58968a 610s 1..40 610s # Start of utils tests 610s ok 1 /utils/language-names 610s ok 2 /utils/locale-variants 610s ok 3 /utils/version 610s ok 4 /utils/appname 610s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 610s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 610s ok 5 /utils/prgname-thread-safety 610s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 610s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 610s ok 6 /utils/tmpdir 610s ok 7 /utils/basic_bits 610s ok 8 /utils/bits 610s ok 9 /utils/swap 610s ok 10 /utils/find-program 610s ok 11 /utils/find-program-for-path 610s ok 12 /utils/debug 610s ok 13 /utils/codeset 610s ok 14 /utils/codeset2 610s ok 15 /utils/console-charset 610s ok 16 /utils/gettext 610s ok 17 /utils/username 610s ok 18 /utils/realname 610s ok 19 /utils/hostname 610s ok 20 /utils/xdgdirs 610s ok 21 /utils/specialdir 610s # NAME: Ubuntu 610s ok 22 /utils/os-info 610s ok 23 /utils/clear-pointer 610s ok 24 /utils/clear-pointer-cast 610s ok 25 /utils/take-pointer 610s ok 26 /utils/clear-source 610s ok 27 /utils/misc-mem 610s # /utils/aligned-mem summary: Aligned memory allocator 610s # Alignment must not be zero 610s # Alignment must be a power of two 610s # Alignment must be a multiple of sizeof(void*) 610s ok 28 /utils/aligned-mem 610s # /utils/free-sized summary: Check that g_free_sized() works 610s ok 29 /utils/free-sized 610s ok 30 /utils/nullify 610s ok 31 /utils/atexit 610s ok 32 /utils/check-setuid 610s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 610s ok 33 /utils/int-limits 610s ok 34 /utils/clear-list 610s ok 35 /utils/clear-slist 610s # Start of specialdir tests 610s ok 36 /utils/specialdir/desktop 610s # End of specialdir tests 610s # Start of clear-pointer tests 610s ok 37 /utils/clear-pointer/side-effects 610s # End of clear-pointer tests 610s # Start of aligned-mem tests 610s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 610s ok 38 /utils/aligned-mem/alignment 610s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 610s ok 39 /utils/aligned-mem/zeroed 610s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 610s ok 40 /utils/aligned-mem/free-sized 610s # Start of subprocess tests 610s # End of subprocess tests 610s # End of aligned-mem tests 610s # End of utils tests 610s ok - glib/utils-c-11.test 610s # Running test: glib/socket-listener.test 610s TAP version 13 610s # random seed: R02S4509581e1b09fcd0a16b23d9b05fca2e 610s 1..1 610s # Start of socket-listener tests 610s ok 1 /socket-listener/event-signal 610s # End of socket-listener tests 610s ok - glib/socket-listener.test 610s # Running test: glib/gvariant.test 610s TAP version 13 610s # random seed: R02Sc4645d69eabb7b48319d2b43540b6ac7 610s 1..64 610s # Start of gvariant tests 610s ok 1 /gvariant/type 610s ok 2 /gvariant/typeinfo 610s ok 3 /gvariant/string 610s ok 4 /gvariant/utf8 611s ok 5 /gvariant/containers 611s # slow test /gvariant/containers executed in 1.06 secs 611s ok 6 /gvariant/format-strings 611s ok 7 /gvariant/invalid-varargs 611s ok 8 /gvariant/varargs 611s ok 9 /gvariant/valist 611s ok 10 /gvariant/builder-memory 612s ok 11 /gvariant/hashing 612s ok 12 /gvariant/byteswap 614s ok 13 /gvariant/parser 614s # slow test /gvariant/parser executed in 1.95 secs 614s ok 14 /gvariant/parse-failures 614s ok 15 /gvariant/parse-positional 614s ok 16 /gvariant/floating 614s ok 17 /gvariant/bytestring 614s ok 18 /gvariant/lookup-value 614s ok 19 /gvariant/lookup 614s ok 20 /gvariant/compare 614s ok 21 /gvariant/equal 614s ok 22 /gvariant/fixed-array 614s ok 23 /gvariant/check-format-string 614s ok 24 /gvariant/checksum-basic 614s ok 25 /gvariant/checksum-nested 614s ok 26 /gvariant/gbytes 614s ok 27 /gvariant/print-context 614s ok 28 /gvariant/error-quark 614s ok 29 /gvariant/stack-builder-init 614s ok 30 /gvariant/stack-dict-init 614s ok 31 /gvariant/unaligned-construction 614s # Start of type tests 614s # Start of string-scan tests 614s # Start of recursion tests 614s ok 32 /gvariant/type/string-scan/recursion/tuple 614s ok 33 /gvariant/type/string-scan/recursion/array 614s # End of recursion tests 614s # End of string-scan tests 614s # End of type tests 614s # Start of serialiser tests 614s ok 34 /gvariant/serialiser/maybe 614s ok 35 /gvariant/serialiser/array 614s ok 36 /gvariant/serialiser/tuple 614s ok 37 /gvariant/serialiser/variant 614s ok 38 /gvariant/serialiser/strings 614s # Executing: glib/gvariant.test 618s ok 39 /gvariant/serialiser/byteswap 618s # slow test /gvariant/serialiser/byteswap executed in 3.73 secs 618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 618s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 618s ok 40 /gvariant/serialiser/children 618s # Start of fuzz tests 618s ok 41 /gvariant/serialiser/fuzz/1% 619s ok 42 /gvariant/serialiser/fuzz/5% 619s # slow test /gvariant/serialiser/fuzz/5% executed in 0.65 secs 619s # Executing: glib/gvariant.test 620s ok 43 /gvariant/serialiser/fuzz/9% 620s # slow test /gvariant/serialiser/fuzz/9% executed in 1.39 secs 621s ok 44 /gvariant/serialiser/fuzz/13% 622s ok 45 /gvariant/serialiser/fuzz/17% 622s # slow test /gvariant/serialiser/fuzz/17% executed in 0.88 secs 622s # End of fuzz tests 622s # End of serialiser tests 622s # Start of varargs tests 622s # Start of subprocess tests 622s # End of subprocess tests 622s # End of varargs tests 622s # Start of byteswap tests 622s # /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. 622s ok 46 /gvariant/byteswap/non-normal-non-aligned 622s # End of byteswap tests 622s # Start of parser tests 622s ok 47 /gvariant/parser/integer-bounds 622s ok 48 /gvariant/parser/recursion 622s # Start of recursion tests 622s ok 49 /gvariant/parser/recursion/typedecls 622s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 622s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 622s # Text form 0: @mmmu 5 622s # Text form 1: @mmmas ['hello'] 622s # Text form 2: @mmmu just just nothing 622s # Text form 3: @mmmas just just nothing 622s # Text form 4: @mmmu just nothing 622s # Text form 5: @mmmas just nothing 622s # Text form 6: @mmmu nothing 622s # Text form 7: @mmmas nothing 622s ok 50 /gvariant/parser/recursion/maybes 622s # End of recursion tests 622s # End of parser tests 622s # Start of parse tests 622s # Start of subprocess tests 622s # End of subprocess tests 622s # End of parse tests 622s # Start of normal-checking tests 622s ok 51 /gvariant/normal-checking/tuples 622s ok 52 /gvariant/normal-checking/array-offsets 622s ok 53 /gvariant/normal-checking/array-offsets2 622s ok 54 /gvariant/normal-checking/tuple-offsets 622s ok 55 /gvariant/normal-checking/tuple-offsets2 622s ok 56 /gvariant/normal-checking/tuple-offsets3 622s ok 57 /gvariant/normal-checking/tuple-offsets4 622s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 622s ok 58 /gvariant/normal-checking/tuple-offsets5 622s ok 59 /gvariant/normal-checking/empty-object-path 622s # Start of array-offsets tests 622s ok 60 /gvariant/normal-checking/array-offsets/overlapped 622s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 622s # End of array-offsets tests 622s # Start of tuple-offsets tests 622s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 622s # End of tuple-offsets tests 622s # End of normal-checking tests 622s # Start of recursion-limits tests 622s ok 63 /gvariant/recursion-limits/variant-in-variant 622s ok 64 /gvariant/recursion-limits/array-in-variant 622s # End of recursion-limits tests 622s # End of gvariant tests 622s ok - glib/gvariant.test 622s # Running test: glib/gdbus-connection-slow.test 622s TAP version 13 622s # random seed: R02S336e98a4584de4dd5b9b0818aa5f3719 622s 1..2 622s # Start of gdbus tests 622s # Start of connection tests 622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/flush/.dirs/home 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/flush/.dirs/cache 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/flush/.dirs/system-config2 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/flush/.dirs/config 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/flush/.dirs/system-data2 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/flush/.dirs/data 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/flush/.dirs/state 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/flush/.dirs/runtime 622s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s ok 1 /gdbus/connection/flush 622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/large_message/.dirs/home 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/large_message/.dirs/cache 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/large_message/.dirs/system-config2 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/large_message/.dirs/config 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/large_message/.dirs/system-data2 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/large_message/.dirs/data 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/large_message/.dirs/state 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_MV7WK2/gdbus/connection/large_message/.dirs/runtime 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 622s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s ok 2 /gdbus/connection/large_message 622s # End of connection tests 622s # End of gdbus tests 622s ok - glib/gdbus-connection-slow.test 622s # Running test: glib/object-info.test 622s TAP version 13 622s # random seed: R02Sc3039d47b36ee1a7839a90363fd2df7c 622s 1..2 622s # Start of object-info tests 622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_OUFKK2/object-info/find-method-using-interfaces/.dirs/home 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_OUFKK2/object-info/find-method-using-interfaces/.dirs/cache 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_OUFKK2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_OUFKK2/object-info/find-method-using-interfaces/.dirs/system-config2 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_OUFKK2/object-info/find-method-using-interfaces/.dirs/config 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_OUFKK2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_OUFKK2/object-info/find-method-using-interfaces/.dirs/system-data2 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_OUFKK2/object-info/find-method-using-interfaces/.dirs/data 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_OUFKK2/object-info/find-method-using-interfaces/.dirs/state 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_OUFKK2/object-info/find-method-using-interfaces/.dirs/runtime 622s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 622s ok 1 /object-info/find-method-using-interfaces 622s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_OUFKK2/object-info/find-vfunc-using-interfaces/.dirs/home 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_OUFKK2/object-info/find-vfunc-using-interfaces/.dirs/cache 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_OUFKK2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_OUFKK2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_OUFKK2/object-info/find-vfunc-using-interfaces/.dirs/config 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_OUFKK2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_OUFKK2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_OUFKK2/object-info/find-vfunc-using-interfaces/.dirs/data 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_OUFKK2/object-info/find-vfunc-using-interfaces/.dirs/state 622s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_OUFKK2/object-info/find-vfunc-using-interfaces/.dirs/runtime 622s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 622s ok 2 /object-info/find-vfunc-using-interfaces 622s # End of object-info tests 622s ok - glib/object-info.test 622s # Running test: glib/override.test 622s TAP version 13 622s # random seed: R02Sbc516fb4dab9ff909194384750b56fb3 622s 1..1 622s # Start of gobject tests 622s # *** emitting foo on a TestA instance 622s # Expecting: TestA::foo,TestI::foo 622s # Got: TestA::foo,TestI::foo 622s # *** emitting bar on a TestA instance 622s # Expecting: TestA::bar 622s # Got: TestA::bar 622s # *** emitting baz on a TestA instance 622s # Expecting: TestA::baz 622s # Got: TestA::baz 622s # *** emitting foo on a TestB instance 622s # Expecting: TestB::foo,TestA::foo,TestI::foo 622s # Got: TestB::foo,TestA::foo,TestI::foo 622s # *** emitting bar on a TestB instance 622s # Expecting: TestB::bar,TestA::bar 622s # Got: TestB::bar,TestA::bar 622s # *** emitting baz on a TestB instance 622s # Expecting: TestB::baz,TestA::baz 622s # Got: TestB::baz,TestA::baz 622s # *** emitting foo on a TestC instance 622s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 622s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 622s # *** emitting bar on a TestC instance 622s # Expecting: TestC::bar,TestB::bar,TestA::bar 622s # Got: TestC::bar,TestB::bar,TestA::bar 622s # *** emitting baz on a TestC instance 622s # Expecting: TestC::baz,TestB::baz,TestA::baz 622s # Got: TestC::baz,TestB::baz,TestA::baz 622s ok 1 /gobject/override 622s # End of gobject tests 622s ok - glib/override.test 622s # Running test: glib/spawn-singlethread.test 622s TAP version 13 622s # random seed: R02S0d2fefd0b59fc9e6e6ad8d367dc8ffa5 622s 1..9 622s # Start of gthread tests 622s ok 1 /gthread/spawn-single-sync 622s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 622s ok 2 /gthread/spawn-stderr-socket 622s ok 3 /gthread/spawn-single-async 622s # thread 1 622s # thread 1 622s ok 4 /gthread/spawn-single-async-with-fds 622s ok 5 /gthread/spawn-async-with-invalid-fds 622s ok 6 /gthread/spawn-script 622s ok 7 /gthread/spawn-posix-spawn 622s # Start of spawn tests 622s ok 8 /gthread/spawn/nonexistent 622s # FD map: 622s # • 5 → 15 622s # • 6 → 16 622s # • 7 → 17 622s # • 8 → 18 622s # • 9 → 19 622s # • 10 → 20 622s # • 11 → 21 622s # • 12 → 22 622s # • 13 → 23 622s # • 3 → 13 622s ok 9 /gthread/spawn/fd-assignment-clash 622s # End of spawn tests 622s # End of gthread tests 622s ok - glib/spawn-singlethread.test 622s # Running test: glib/actions.test 622s TAP version 13 622s # random seed: R02S05b53a5d0ba18dd640c21865f16d2aaf 622s 1..12 622s # Start of actions tests 622s ok 1 /actions/basic 622s ok 2 /actions/name 622s ok 3 /actions/simplegroup 622s ok 4 /actions/stateful 622s ok 5 /actions/default-activate 622s ok 6 /actions/entries 622s ok 7 /actions/parse-detailed 622s ok 8 /actions/property 622s ok 9 /actions/no-properties 622s # Start of dbus tests 622s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s ok 10 /actions/dbus/export 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 622s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 622s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 624s # Executing: glib/actions.test 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s ok 11 /actions/dbus/threaded 625s # slow test /actions/dbus/threaded executed in 2.26 secs 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 625s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 625s ok 12 /actions/dbus/bug679509 625s # End of dbus tests 625s # End of actions tests 625s ok - glib/actions.test 625s # Running test: glib/memory-monitor.test 625s TAP version 13 625s # random seed: R02Sf0ba2c767273a289ddb53853240c9b60 625s 1..1 625s # Start of memory-monitor tests 625s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 625s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 625s ok 1 /memory-monitor/default 625s # End of memory-monitor tests 625s ok - glib/memory-monitor.test 625s # Running test: glib/mainloop.test 625s TAP version 13 625s # random seed: R02Sd41bd5dd146b1041514ffa252a85ae61 625s 1..45 625s # Start of maincontext tests 625s ok 1 /maincontext/basic 625s # Add same-priority sources: 21 625s # Find each source: 9 625s # Remove in random order: 33 625s ok 2 /maincontext/nsources_same_priority 625s # Add different-priority sources: 25 625s # Find each source: 8 625s # Remove in random order: 38 625s ok 3 /maincontext/nsources_different_priority 625s # Add sources from threads: 232 625s # Remove sources from threads: 179 625s ok 4 /maincontext/nsources_threadpool 625s ok 5 /maincontext/source_finalization 625s # /maincontext/idle-once summary: Test g_idle_add_once() works 625s ok 6 /maincontext/idle-once 625s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 625s ok 7 /maincontext/timeout-once 625s # Start of source_finalization_from_source tests 625s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 625s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 625s ok 8 /maincontext/source_finalization_from_source/0 625s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 625s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 625s ok 9 /maincontext/source_finalization_from_source/1 625s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 625s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 625s ok 10 /maincontext/source_finalization_from_source/2 625s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 625s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 625s ok 11 /maincontext/source_finalization_from_source/3 625s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 625s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 625s ok 12 /maincontext/source_finalization_from_source/4 625s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 625s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 625s ok 13 /maincontext/source_finalization_from_source/5 625s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 625s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 625s ok 14 /maincontext/source_finalization_from_source/6 625s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 625s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 625s ok 15 /maincontext/source_finalization_from_source/7 625s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 625s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 625s ok 16 /maincontext/source_finalization_from_source/8 625s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 625s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 625s ok 17 /maincontext/source_finalization_from_source/9 625s # End of source_finalization_from_source tests 625s # Start of source_finalization_from_dispatch tests 625s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 625s ok 18 /maincontext/source_finalization_from_dispatch/0 625s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 625s ok 19 /maincontext/source_finalization_from_dispatch/1 625s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 625s ok 20 /maincontext/source_finalization_from_dispatch/2 625s # End of source_finalization_from_dispatch tests 625s # End of maincontext tests 625s # Start of mainloop tests 625s ok 21 /mainloop/basic 625s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 625s ok 23 /mainloop/priorities 626s ok 24 /mainloop/invoke 626s # slow test /mainloop/invoke executed in 0.50 secs 627s ok 25 /mainloop/child_sources 627s # slow test /mainloop/child_sources executed in 1.19 secs 629s # Executing: glib/mainloop.test 629s ok 26 /mainloop/recursive_child_sources 629s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 629s ok 27 /mainloop/recursive_loop_child_sources 629s ok 28 /mainloop/swapping_child_sources 629s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 629s ok 29 /mainloop/blocked_child_sources 630s ok 30 /mainloop/source_time 630s # slow test /mainloop/source_time executed in 1.00 secs 630s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 630s ok 31 /mainloop/overflow 631s ok 32 /mainloop/ready-time 631s # slow test /mainloop/ready-time executed in 0.50 secs 631s ok 33 /mainloop/wakeup 631s ok 34 /mainloop/remove-invalid 631s ok 35 /mainloop/unref-while-pending 632s ok 36 /mainloop/unix-fd 632s # slow test /mainloop/unix-fd executed in 1.45 secs 632s ok 37 /mainloop/unix-fd-source 632s ok 38 /mainloop/source-unix-fd-api 633s ok 39 /mainloop/wait 633s ok 40 /mainloop/unix-file-poll 633s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 633s ok 41 /mainloop/unix-fd-priority 633s ok 42 /mainloop/nfds 633s ok 43 /mainloop/steal-fd 633s # Start of ownerless-polling tests 633s ok 44 /mainloop/ownerless-polling/attach-first 633s ok 45 /mainloop/ownerless-polling/pop-first 633s # End of ownerless-polling tests 633s # End of mainloop tests 633s ok - glib/mainloop.test 633s # Running test: glib/data-output-stream.test 633s TAP version 13 633s # random seed: R02S4c7c90deeda5cd7735af8dc0f5b4738f 633s 1..7 633s # Start of data-output-stream tests 633s ok 1 /data-output-stream/basic 633s ok 2 /data-output-stream/write-lines-LF 633s ok 3 /data-output-stream/write-lines-CR 633s ok 4 /data-output-stream/write-lines-CR-LF 633s ok 5 /data-output-stream/write-int 633s ok 6 /data-output-stream/seek 633s ok 7 /data-output-stream/truncate 633s # End of data-output-stream tests 633s ok - glib/data-output-stream.test 633s # Running test: glib/spawn-multithreaded.test 633s TAP version 13 633s # random seed: R02Sd076c36061a9dc53c2234c8a6914bbd7 633s 1..4 633s # Start of gthread tests 634s # Child 3734 (ttl 1) exited, status 0 634s # Executing: glib/spawn-multithreaded.test 635s # Child 3735 (ttl 2) exited, status 0 635s ok 1 /gthread/spawn-childs 635s # slow test /gthread/spawn-childs executed in 2.00 secs 635s # Created pid: 3739 (ttl 1) 635s # Created pid: 3740 (ttl 2) 636s # Child 3739 (ttl 1) exited, status 0 637s # Child 3740 (ttl 2) exited, status 0 637s ok 2 /gthread/spawn-childs-threads 637s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 637s ok 3 /gthread/spawn-sync 637s ok 4 /gthread/spawn-async 637s # End of gthread tests 637s ok - glib/spawn-multithreaded.test 637s # Running test: glib/g-icon.test 637s TAP version 13 637s # random seed: R02S7b6481381e8b0ced96506d78a8473cdd 637s 1..6 637s # Start of icons tests 637s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 637s ok 1 /icons/to-string 637s ok 2 /icons/serialize 637s ok 3 /icons/themed 637s ok 4 /icons/emblemed 637s ok 5 /icons/file 637s ok 6 /icons/bytes 637s # End of icons tests 637s ok - glib/g-icon.test 637s # Running test: glib/defaultvalue.test 637s TAP version 13 637s # random seed: R02Sab092166dc0b6c74aa90ae8b23165d28 637s 1..84 637s # Start of Default Values tests 637s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 637s ok 2 /Default Values/GAppLaunchContext 637s ok 3 /Default Values/GApplicationCommandLine 637s # skipping GApplication:is-remote 637s ok 4 /Default Values/GApplication 637s ok 5 /Default Values/GBinding # SKIP mandatory construct params 637s ok 6 /Default Values/GBindingGroup 637s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 637s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 637s ok 9 /Default Values/GBytesIcon 637s ok 10 /Default Values/GCancellable 637s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 637s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 637s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 637s ok 14 /Default Values/GCredentials 637s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 637s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 637s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 637s ok 18 /Default Values/GDBusAuthObserver 637s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 637s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 637s ok 21 /Default Values/GDBusMessage 637s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 637s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 637s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 637s ok 25 /Default Values/GDBusObjectProxy 637s ok 26 /Default Values/GDBusObjectSkeleton 637s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 637s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 637s ok 29 /Default Values/GEmblem 637s ok 30 /Default Values/GEmblemedIcon 637s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 637s ok 32 /Default Values/GFileInfo 637s ok 33 /Default Values/GFileInputStream 637s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 637s ok 35 /Default Values/GFileOutputStream 637s ok 36 /Default Values/GFilenameCompleter 637s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 637s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 637s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 637s ok 40 /Default Values/GInitiallyUnowned 637s ok 41 /Default Values/GIOModule 637s ok 42 /Default Values/GListStore 637s ok 43 /Default Values/GMemoryInputStream 637s ok 44 /Default Values/GMemoryOutputStream 637s ok 45 /Default Values/GMenu 637s ok 46 /Default Values/GMenuItem 637s ok 47 /Default Values/GMountOperation 637s ok 48 /Default Values/GNativeSocketAddress 637s ok 49 /Default Values/GNetworkAddress 637s ok 50 /Default Values/GNetworkService 637s ok 51 /Default Values/GNotification 637s ok 52 /Default Values/GObject 637s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 637s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 637s # skipping GProxyAddressEnumerator:proxy-resolver 637s ok 54 /Default Values/GProxyAddressEnumerator 637s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 637s ok 56 /Default Values/GSettings # SKIP mandatory construct params 637s ok 57 /Default Values/GSignalGroup 637s ok 58 /Default Values/GSimpleAction 637s ok 59 /Default Values/GSimpleActionGroup 637s ok 60 /Default Values/GSimpleAsyncResult 637s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 637s ok 62 /Default Values/GSimplePermission 637s ok 63 /Default Values/GSimpleProxyResolver 637s # skipping GSocketClient:proxy-resolver 637s ok 64 /Default Values/GSocketClient 637s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 637s ok 66 /Default Values/GSocket # SKIP initialization failed 637s ok 67 /Default Values/GSocketListener 637s ok 68 /Default Values/GSocketService 637s ok 69 /Default Values/GSubprocess # SKIP initialization failed 637s ok 70 /Default Values/GSubprocessLauncher 637s # GLib-GIO-DEBUG: GTask 0x90c3b265f70 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 637s ok 71 /Default Values/GTask 637s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 637s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 637s ok 74 /Default Values/GTestDBus 637s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 637s ok 76 /Default Values/GThreadedSocketService 637s ok 77 /Default Values/GTlsInteraction 637s ok 78 /Default Values/GTlsPassword 637s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 637s ok 80 /Default Values/GUnixFDList 637s ok 81 /Default Values/GVfs 637s ok 82 /Default Values/GVolumeMonitor 637s ok 83 /Default Values/GZlibCompressor 637s ok 84 /Default Values/GZlibDecompressor 637s # End of Default Values tests 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s ok - glib/defaultvalue.test 637s # Running test: glib/gdbus-connection-loss.test 637s TAP version 13 637s # random seed: R02Sab9591aa92802f251056add396d17c23 637s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 637s 1..1 637s # Start of gdbus tests 637s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_RMWYK2/gdbus/connection-loss/.dirs/home 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_RMWYK2/gdbus/connection-loss/.dirs/cache 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_RMWYK2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_RMWYK2/gdbus/connection-loss/.dirs/system-config2 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_RMWYK2/gdbus/connection-loss/.dirs/config 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_RMWYK2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_RMWYK2/gdbus/connection-loss/.dirs/system-data2 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_RMWYK2/gdbus/connection-loss/.dirs/data 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_RMWYK2/gdbus/connection-loss/.dirs/state 637s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_RMWYK2/gdbus/connection-loss/.dirs/runtime 637s ok 1 /gdbus/connection-loss 637s # End of gdbus tests 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s ok - glib/gdbus-connection-loss.test 637s # Running test: glib/array-test.test 637s TAP version 13 637s # random seed: R02Sc33a7b5c467dcfaf5a6e12b29236282a 637s 1..113 637s # Start of array tests 637s ok 1 /array/ref-count 637s ok 2 /array/steal 637s ok 3 /array/clear-func 637s ok 4 /array/binary-search 637s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 637s ok 5 /array/copy-sized 637s ok 6 /array/overflow-append-vals 637s ok 7 /array/overflow-set-size 637s # Start of new tests 637s ok 8 /array/new/zero-terminated 637s ok 9 /array/new/take 637s ok 10 /array/new/take-zero-terminated 637s # Start of take tests 637s ok 11 /array/new/take/empty 637s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 637s # End of take tests 637s # End of new tests 637s # Start of set-size tests 637s ok 13 /array/set-size/non-zero-terminated-no-clear 637s ok 14 /array/set-size/non-zero-terminated-clear 637s ok 15 /array/set-size/zero-terminated-no-clear 637s ok 16 /array/set-size/zero-terminated-clear 637s # Start of sized tests 637s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 637s ok 18 /array/set-size/sized/non-zero-terminated-clear 637s ok 19 /array/set-size/sized/zero-terminated-no-clear 637s ok 20 /array/set-size/sized/zero-terminated-clear 637s # End of sized tests 637s # End of set-size tests 637s # Start of append-val tests 637s ok 21 /array/append-val/non-zero-terminated-no-clear 637s ok 22 /array/append-val/non-zero-terminated-clear 637s ok 23 /array/append-val/zero-terminated-no-clear 637s ok 24 /array/append-val/zero-terminated-clear 637s # End of append-val tests 637s # Start of prepend-val tests 637s ok 25 /array/prepend-val/non-zero-terminated-no-clear 637s ok 26 /array/prepend-val/non-zero-terminated-clear 637s ok 27 /array/prepend-val/zero-terminated-no-clear 637s ok 28 /array/prepend-val/zero-terminated-clear 637s # End of prepend-val tests 637s # Start of prepend-vals tests 637s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 637s ok 30 /array/prepend-vals/non-zero-terminated-clear 637s ok 31 /array/prepend-vals/zero-terminated-no-clear 637s ok 32 /array/prepend-vals/zero-terminated-clear 637s # End of prepend-vals tests 637s # Start of insert-vals tests 637s ok 33 /array/insert-vals/non-zero-terminated-no-clear 637s ok 34 /array/insert-vals/non-zero-terminated-clear 637s ok 35 /array/insert-vals/zero-terminated-no-clear 637s ok 36 /array/insert-vals/zero-terminated-clear 637s # End of insert-vals tests 637s # Start of remove-index tests 637s ok 37 /array/remove-index/non-zero-terminated-no-clear 637s ok 38 /array/remove-index/non-zero-terminated-clear 637s ok 39 /array/remove-index/zero-terminated-no-clear 637s ok 40 /array/remove-index/zero-terminated-clear 637s # End of remove-index tests 637s # Start of remove-index-fast tests 637s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 637s ok 42 /array/remove-index-fast/non-zero-terminated-clear 637s ok 43 /array/remove-index-fast/zero-terminated-no-clear 637s ok 44 /array/remove-index-fast/zero-terminated-clear 637s # End of remove-index-fast tests 637s # Start of remove-range tests 637s ok 45 /array/remove-range/non-zero-terminated-no-clear 637s ok 46 /array/remove-range/non-zero-terminated-clear 637s ok 47 /array/remove-range/zero-terminated-no-clear 637s ok 48 /array/remove-range/zero-terminated-clear 637s # End of remove-range tests 637s # Start of copy tests 637s ok 49 /array/copy/non-zero-terminated-no-clear 637s ok 50 /array/copy/non-zero-terminated-clear 637s ok 51 /array/copy/zero-terminated-no-clear 637s ok 52 /array/copy/zero-terminated-clear 637s # End of copy tests 637s # Start of sort tests 637s ok 53 /array/sort/non-zero-terminated-no-clear 637s ok 54 /array/sort/non-zero-terminated-clear 637s ok 55 /array/sort/zero-terminated-no-clear 637s ok 56 /array/sort/zero-terminated-clear 637s # End of sort tests 637s # Start of sort-with-data tests 637s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 637s ok 58 /array/sort-with-data/non-zero-terminated-clear 637s ok 59 /array/sort-with-data/zero-terminated-no-clear 637s ok 60 /array/sort-with-data/zero-terminated-clear 637s # End of sort-with-data tests 637s # End of array tests 637s # Start of pointerarray tests 637s ok 61 /pointerarray/add 637s ok 62 /pointerarray/insert 637s ok 63 /pointerarray/new-take 637s ok 64 /pointerarray/new-take-null-terminated 637s ok 65 /pointerarray/new-from-array 637s ok 66 /pointerarray/new-from-null-terminated-array 637s ok 67 /pointerarray/free-func 637s ok 68 /pointerarray/array_extend_and_steal 637s ok 69 /pointerarray/sort 637s ok 70 /pointerarray/sort-with-data 637s ok 71 /pointerarray/sort-values 637s ok 72 /pointerarray/sort-values-with-data 637s ok 73 /pointerarray/remove-range 637s ok 74 /pointerarray/steal 637s # Start of free tests 637s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 637s ok 75 /pointerarray/free/null-terminated 637s # End of free tests 637s # Start of new-take tests 637s ok 76 /pointerarray/new-take/empty 637s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 637s ok 78 /pointerarray/new-take/with-free-func 637s # End of new-take tests 637s # Start of new-take-null-terminated tests 637s ok 79 /pointerarray/new-take-null-terminated/empty 637s ok 80 /pointerarray/new-take-null-terminated/with-free-func 637s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 637s # End of new-take-null-terminated tests 637s # Start of new-from-array tests 637s ok 82 /pointerarray/new-from-array/empty 637s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 637s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 637s # End of new-from-array tests 637s # Start of new-from-null-terminated-array tests 637s ok 85 /pointerarray/new-from-null-terminated-array/empty 637s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 637s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 637s # End of new-from-null-terminated-array tests 637s # Start of ref-count tests 637s ok 88 /pointerarray/ref-count/not-null-terminated 637s ok 89 /pointerarray/ref-count/null-terminated 637s # End of ref-count tests 637s # Start of array_copy tests 637s # /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 637s ok 90 /pointerarray/array_copy/not-null-terminated 637s # /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 637s ok 91 /pointerarray/array_copy/null-terminated 637s # End of array_copy tests 637s # Start of array_extend tests 637s ok 92 /pointerarray/array_extend/not-null-terminated 637s ok 93 /pointerarray/array_extend/null-terminated 637s # End of array_extend tests 637s # Start of sort tests 637s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 637s ok 94 /pointerarray/sort/example 637s # End of sort tests 637s # Start of sort-with-data tests 637s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 637s ok 95 /pointerarray/sort-with-data/example 637s # End of sort-with-data tests 637s # Start of sort-values tests 637s ok 96 /pointerarray/sort-values/example 637s # End of sort-values tests 637s # Start of sort-values-with-data tests 637s ok 97 /pointerarray/sort-values-with-data/example 637s # End of sort-values-with-data tests 637s # Start of find tests 637s ok 98 /pointerarray/find/empty 637s ok 99 /pointerarray/find/non-empty 637s # End of find tests 637s # Start of steal_index tests 637s ok 100 /pointerarray/steal_index/not-null-terminated 637s ok 101 /pointerarray/steal_index/null-terminated 637s # End of steal_index tests 637s # End of pointerarray tests 637s # Start of bytearray tests 637s ok 102 /bytearray/steal 637s ok 103 /bytearray/append 637s ok 104 /bytearray/prepend 637s ok 105 /bytearray/remove 637s ok 106 /bytearray/remove-fast 637s ok 107 /bytearray/remove-range 637s ok 108 /bytearray/ref-count 637s ok 109 /bytearray/sort 637s ok 110 /bytearray/sort-with-data 637s ok 111 /bytearray/new-take 637s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 637s ok 113 /bytearray/free-to-bytes 637s # End of bytearray tests 637s ok - glib/array-test.test 637s # Running test: glib/signals.test 637s TAP version 13 637s # random seed: R02S136d4f39fb896c8bde838a833d6c4a9b 637s 1..31 637s # Start of gobject tests 637s # Start of signals tests 637s ok 1 /gobject/signals/all-types 637s ok 2 /gobject/signals/variant 637s ok 3 /gobject/signals/destroy-target-object 637s ok 4 /gobject/signals/generic-marshaller-1 637s ok 5 /gobject/signals/generic-marshaller-2 637s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 637s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 637s ok 8 /gobject/signals/generic-marshaller-int-return 637s ok 9 /gobject/signals/generic-marshaller-uint-return 637s ok 10 /gobject/signals/generic-marshaller-interface-return 637s ok 11 /gobject/signals/custom-marshaller 637s ok 12 /gobject/signals/connect 637s ok 13 /gobject/signals/emission-hook 637s ok 14 /gobject/signals/emitv 637s ok 15 /gobject/signals/accumulator 637s # Signal: accumulator-class-first 637s # Signal: accumulator-class-last 637s # Signal: accumulator-class-cleanup 637s # Signal: accumulator-class-first-last 637s # Signal: accumulator-class-first-last-cleanup 637s # Signal: accumulator-class-last-cleanup 637s ok 16 /gobject/signals/accumulator-class 637s ok 17 /gobject/signals/introspection 637s ok 18 /gobject/signals/block-handler 637s ok 19 /gobject/signals/stop-emission 637s ok 20 /gobject/signals/invocation-hint 637s ok 21 /gobject/signals/test-disconnection-wrong-object 637s ok 22 /gobject/signals/clear-signal-handler 637s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 637s ok 23 /gobject/signals/lookup 637s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 637s ok 24 /gobject/signals/parse-name 637s ok 25 /gobject/signals/is-valid-name 637s ok 26 /gobject/signals/weak-ref-disconnect 637s # Start of lookup tests 637s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 637s ok 27 /gobject/signals/lookup/invalid 637s # End of lookup tests 637s # Start of parse-name tests 637s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 637s # Parser input: 637s # Parser input: 7zip 637s # Parser input: invalid:signal 637s # Parser input: simple-detailed:: 637s # Parser input: simple-detailed: 637s # Parser input: : 637s # Parser input: :: 637s # Parser input: :valid-detail 637s # Parser input: ::valid-detail 637s ok 28 /gobject/signals/parse-name/invalid 637s # End of parse-name tests 637s # Start of invalid-name tests 637s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 637s ok 29 /gobject/signals/invalid-name/colon 637s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 637s ok 30 /gobject/signals/invalid-name/first-char 637s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 637s ok 31 /gobject/signals/invalid-name/empty 637s # End of invalid-name tests 637s # End of signals tests 637s # End of gobject tests 637s ok - glib/signals.test 637s # Running test: glib/debugcontroller.test 637s TAP version 13 637s # random seed: R02S833ecc1b1ffbe5916191918237c2950c 637s 1..3 637s # Start of debug-controller tests 637s # Start of dbus tests 637s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 637s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 637s # GLib-GIO-DEBUG: Debug output enabled 637s # GLib-GIO-DEBUG: Debug output disabled 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s ok 1 /debug-controller/dbus/basic 637s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 637s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s ok 2 /debug-controller/dbus/duplicate 637s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 637s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 637s # End of dbus tests 637s # End of debug-controller tests 637s ok - glib/debugcontroller.test 637s # Running test: glib/atomic-c-99.test 637s TAP version 13 637s # random seed: R02S0208c4beb32a573a18a870732ad13abc 637s 1..2 637s # Start of atomic tests 637s ok 1 /atomic/types 637s ok 2 /atomic/threaded 637s # End of atomic tests 637s ok - glib/atomic-c-99.test 637s # Running test: glib/node.test 637s TAP version 13 637s # random seed: R02Sf97efcce40b6cfdd4803eb7d64c48f7e 637s 1..6 637s # Start of node tests 637s ok 1 /node/allocation 637s ok 2 /node/construction 637s ok 3 /node/traversal 637s ok 4 /node/misc 637s ok 5 /node/unlink 637s ok 6 /node/copy 637s # End of node tests 637s ok - glib/node.test 637s # Running test: glib/onceinit.test 637s TAP version 13 637s # random seed: R02Se2de3bb0368d914a0ce5f74844ba2ae7 637s 1..1 637s # Start of thread tests 637s ok 1 /thread/onceinit 637s # End of thread tests 637s ok - glib/onceinit.test 637s # Running test: glib/fdo-notification-backend.test 637s TAP version 13 637s # random seed: R02S4c30048577bf01055b723471ce408b02 637s 1..2 637s # Start of fdo-notification-backend tests 637s # Test constructing a GFdoNotificationBackend 637s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s ok 1 /fdo-notification-backend/construction 637s # Start of dbus tests 637s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 637s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 637s ok 2 /fdo-notification-backend/dbus/activate-action 637s # End of dbus tests 637s # End of fdo-notification-backend tests 637s ok - glib/fdo-notification-backend.test 637s # Running test: glib/asyncqueue.test 637s TAP version 13 637s # random seed: R02Sa366eddec1d9d2ff6d1edc8d8a498c2f 637s 1..7 637s # Start of asyncqueue tests 637s ok 1 /asyncqueue/basics 637s ok 2 /asyncqueue/sort 637s ok 3 /asyncqueue/destroy 637s ok 4 /asyncqueue/threads 638s ok 5 /asyncqueue/timed 638s ok 6 /asyncqueue/remove 638s ok 7 /asyncqueue/push_front 638s # End of asyncqueue tests 638s ok - glib/asyncqueue.test 638s # Running test: glib/gdbus-sasl.test 638s TAP version 13 638s # random seed: R02S248682586dd4f2b0c273e9227a0af85f 638s 1..1 638s # Start of gdbus tests 638s # Start of sasl tests 638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_ETXYK2/gdbus/sasl/server/.dirs/home 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_ETXYK2/gdbus/sasl/server/.dirs/cache 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_ETXYK2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_ETXYK2/gdbus/sasl/server/.dirs/system-config2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_ETXYK2/gdbus/sasl/server/.dirs/config 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_ETXYK2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_ETXYK2/gdbus/sasl/server/.dirs/system-data2 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_ETXYK2/gdbus/sasl/server/.dirs/data 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_ETXYK2/gdbus/sasl/server/.dirs/state 638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_ETXYK2/gdbus/sasl/server/.dirs/runtime 638s # New handshake: EXTERNAL with incorrect initial response 638s # C:“AUTH EXTERNAL 30” 638s # Expect: /^REJECTED.*$/ 638s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 638s # New handshake: EXTERNAL without initial response, failing to authenticate 638s # C:“AUTH EXTERNAL” 638s # Expect: /^DATA$/ 638s # S:“DATA” 638s # C:“DATA 30” 638s # Expect: /^REJECTED.*$/ 638s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 638s # New handshake: EXTERNAL with initial response 638s # C:“AUTH EXTERNAL 31303030” 638s # Expect: /^OK [0-9a-f]+$/ 638s # S:“OK e3bd6c2ca2a300450f25495c65fa7c10” 638s # New handshake: EXTERNAL without initial response 638s # C:“AUTH EXTERNAL” 638s # Expect: /^DATA$/ 638s # S:“DATA” 638s # C:“DATA 31303030” 638s # Expect: /^OK [0-9a-f]+$/ 638s # S:“OK e3bd6c2ca2a300450f25495c65fa7c10” 638s # New handshake: EXTERNAL with empty authorization identity 638s # C:“AUTH EXTERNAL” 638s # Expect: /^DATA$/ 638s # S:“DATA” 638s # C:“DATA” 638s # Expect: /^OK [0-9a-f]+$/ 638s # S:“OK e3bd6c2ca2a300450f25495c65fa7c10” 638s # New handshake: EXTERNAL with empty authorization identity and whitespace 638s # C:“AUTH EXTERNAL” 638s # Expect: /^DATA$/ 638s # S:“DATA” 638s # C:“DATA ” 638s # Expect: /^OK [0-9a-f]+$/ 638s # S:“OK e3bd6c2ca2a300450f25495c65fa7c10” 638s ok 1 /gdbus/sasl/server 638s # End of sasl tests 638s # End of gdbus tests 638s ok - glib/gdbus-sasl.test 638s # Running test: glib/io-channel.test 638s TAP version 13 638s # random seed: R02S2ab891031c39cd6fb7400d70f19ce956 638s 1..2 638s # Start of io-channel tests 638s # Line one 638s # 638s # Line two 638s # 638s # Line three 638s # 638s # /* Hello */ 638s # 638s # \x1234\x567890\x6666 638s # 638s # read 62 bytes, wrote 62 bytes 638s ok 1 /io-channel/read-write 638s # Start of read-line tests 638s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 638s ok 2 /io-channel/read-line/embedded-nuls 638s # End of read-line tests 638s # End of io-channel tests 638s ok - glib/io-channel.test 638s # Running test: glib/cxx-17.test 638s TAP version 13 638s # random seed: R02S0b257ac2a527601031f3a00fa36ba905 638s 1..2 638s # Start of gtask tests 638s # 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. 638s ok 1 /gtask/name 638s # Start of name tests 638s # 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. 638s ok 2 /gtask/name/macro-wrapper 638s # End of name tests 638s # End of gtask tests 638s ok - glib/cxx-17.test 638s # Running test: glib/hook.test 638s TAP version 13 638s # random seed: R02Sf6007375260aa7e4febe0f09dd5b3017 638s 1..2 638s # Start of hook tests 638s ok 1 /hook/basics 638s ok 2 /hook/corner-cases 638s # End of hook tests 638s ok - glib/hook.test 638s # Running test: glib/tls-database.test 638s TAP version 13 638s # random seed: R02Sc1cda826d80019ac1d2598540c82ca43 638s 1..1 638s # Start of tls-backend tests 638s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 638s ok 1 /tls-backend/set-default-database 638s # End of tls-backend tests 638s ok - glib/tls-database.test 638s # Running test: glib/environment.test 638s TAP version 13 638s # random seed: R02S67513e6a4b8edcbe662fe8f8c81df1ca 638s 1..6 638s # Start of environ tests 638s # /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. 638s ok 1 /environ/listenv 638s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 638s ok 2 /environ/getenv 638s ok 3 /environ/setenv 638s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 638s ok 4 /environ/array 638s # /environ/null summary: Test getting and setting variables on a NULL envp array. 638s ok 5 /environ/null 638s # /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. 638s ok 6 /environ/case 638s # End of environ tests 638s ok - glib/environment.test 638s # Running test: glib/refcount-macro.test 638s TAP version 13 638s # random seed: R02S5929407c9c27cdeea6ec43f1ee948a60 638s 1..4 638s # Start of refcount tests 638s ok 1 /refcount/grefcount 638s ok 2 /refcount/gatomicrefcount 638s # Start of grefcount tests 638s ok 3 /refcount/grefcount/saturation 638s # End of grefcount tests 638s # Start of gatomicrefcount tests 638s ok 4 /refcount/gatomicrefcount/saturation 638s # End of gatomicrefcount tests 638s # End of refcount tests 638s ok - glib/refcount-macro.test 638s # Running test: glib/socket.test 638s TAP version 13 638s # random seed: R02S1e46effcb6d189fbe2c10294e7517986 638s 1..28 638s # Start of socket tests 639s ok 1 /socket/ipv4_sync 639s # slow test /socket/ipv4_sync executed in 1.00 secs 639s # Executing: glib/socket.test 640s ok 2 /socket/ipv4_async 640s # slow test /socket/ipv4_async executed in 1.00 secs 640s ok 3 /socket/ipv6_sync 640s ok 4 /socket/ipv6_async 640s ok 5 /socket/ipv6_v4mapped 641s ok 6 /socket/close_graceful 641s # slow test /socket/close_graceful executed in 1.00 secs 641s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 641s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 641s ok 8 /socket/fd_reuse 641s ok 9 /socket/address 641s ok 10 /socket/unix-from-fd 641s ok 11 /socket/unix-connection 641s ok 12 /socket/unix-connection-ancillary-data 641s ok 13 /socket/source-postmortem 641s ok 14 /socket/read_write 641s ok 15 /socket/read_writev 641s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 641s ok 16 /socket/receive_bytes 641s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 641s ok 17 /socket/receive_bytes_from 641s # Start of ipv4_sync tests 641s ok 18 /socket/ipv4_sync/datagram 641s # Start of datagram tests 642s ok 19 /socket/ipv4_sync/datagram/timeouts 642s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 642s # End of datagram tests 642s # End of ipv4_sync tests 642s # Start of ipv6_sync tests 642s ok 20 /socket/ipv6_sync/datagram 642s # Start of datagram tests 643s ok 21 /socket/ipv6_sync/datagram/timeouts 643s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 643s # End of datagram tests 643s # End of ipv6_sync tests 643s # Start of reuse tests 643s ok 22 /socket/reuse/tcp 643s ok 23 /socket/reuse/udp 643s # End of reuse tests 643s # Start of get_available tests 643s ok 24 /socket/get_available/datagram 643s ok 25 /socket/get_available/stream 643s # End of get_available tests 643s # Start of credentials tests 643s # Supported on this OS: GCredentials:linux-ucred:pid=0 643s ok 26 /socket/credentials/tcp_client 643s # Supported on this OS: GCredentials:linux-ucred:pid=0 643s ok 27 /socket/credentials/tcp_server 643s # Supported on this OS: GCredentials:linux-ucred:pid=3878,uid=1000,gid=1000 643s ok 28 /socket/credentials/unix_socketpair 643s # End of credentials tests 643s # End of socket tests 643s ok - glib/socket.test 643s # Running test: glib/custom-dispatch.test 643s TAP version 13 643s # random seed: R02Sb2d3aa181b7fe44a4537af4c3e408361 643s 1..2 643s # Start of properties tests 643s # Start of custom-dispatch tests 643s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 643s ok 1 /properties/custom-dispatch/init 643s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 643s ok 2 /properties/custom-dispatch/set 643s # End of custom-dispatch tests 643s # End of properties tests 643s ok - glib/custom-dispatch.test 643s # Running test: glib/gobject-query.py.test 643s TAP version 13 643s ok 1 __main__.TestGobjectQuery.test_froots 643s # gobject-query: /usr/bin/gobject-query 643s # Running: ['/usr/bin/gobject-query', 'froots'] 643s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 643s # Output: ├void 643s # ├GInterface 643s # │ └GTypePlugin 643s # ├gchar 643s # ├guchar 643s # ├gboolean 643s # ├gint 643s # ├guint 643s # ├glong 643s # ├gulong 643s # ├gint64 643s # ├guint64 643s # ├GEnum 643s # ├GFlags 643s # ├gfloat 643s # ├gdouble 643s # ├gchararray 643s # ├gpointer 643s # │ └GType 643s # ├GBoxed 643s # │ └GValueArray 643s # ├GParam 643s # │ ├GParamChar 643s # │ ├GParamUChar 643s # │ ├GParamBoolean 643s # │ ├GParamInt 643s # │ ├GParamUInt 643s # │ ├GParamLong 643s # │ ├GParamULong 643s # │ ├GParamInt64 643s # │ ├GParamUInt64 643s # │ ├GParamUnichar 643s # │ ├GParamEnum 643s # │ ├GParamFlags 643s # │ ├GParamFloat 643s # │ ├GParamDouble 643s # │ ├GParamString 643s # │ ├GParamParam 643s # │ ├GParamBoxed 643s # │ ├GParamPointer 643s # │ ├GParamValueArray 643s # │ ├GParamObject 643s # │ ├GParamOverride 643s # │ ├GParamGType 643s # │ └GParamVariant 643s # ├GObject 643s # └GVariant 643s ok 2 __main__.TestGobjectQuery.test_help 643s # gobject-query: /usr/bin/gobject-query 643s # Running: ['/usr/bin/gobject-query', '--help'] 643s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 643s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 643s # -r specify root type 643s # -n don't descend type tree 643s # -h show help 643s # -b specify indent string 643s # -i specify incremental indent string 643s # -s specify line spacing 643s # qualifiers: 643s # froots iterate over fundamental roots 643s # tree print type tree 643s ok 3 __main__.TestGobjectQuery.test_tree 643s # gobject-query: /usr/bin/gobject-query 643s # Running: ['/usr/bin/gobject-query', 'tree'] 643s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 643s # Output: GObject 643s ok 4 __main__.TestGobjectQuery.test_version 643s # gobject-query: /usr/bin/gobject-query 643s # Running: ['/usr/bin/gobject-query', '--version'] 643s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 643s # Output: 2.79.2 643s 1..4 643s ok - glib/gobject-query.py.test 643s # Running test: glib/flags.test 643s TAP version 13 643s # random seed: R02S963552f9674cd058f1361d22bc2bd7a3 643s 1..1 643s # Start of gobject tests 643s # Start of flags tests 643s ok 1 /gobject/flags/validate 643s # End of flags tests 643s # End of gobject tests 643s ok - glib/flags.test 643s # Running test: glib/bitlock.test 643s TAP version 13 643s # random seed: R02S675af028dac054fd06c99bc8f52422c3 643s 1..1 643s # Start of bitlock tests 643s # Start of performance tests 643s # max perf: iterations per second 643s ok 1 /bitlock/performance/uncontended 643s # End of performance tests 643s # End of bitlock tests 643s ok - glib/bitlock.test 643s # Running test: glib/union-info.test 643s TAP version 13 643s # random seed: R02S4645ae5c18a68c0efd760bdd62fccdaa 643s 1..2 643s # Start of union-info tests 643s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_CAHMK2/union-info/basic/.dirs/home 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_CAHMK2/union-info/basic/.dirs/cache 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_CAHMK2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_CAHMK2/union-info/basic/.dirs/system-config2 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_CAHMK2/union-info/basic/.dirs/config 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_CAHMK2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_CAHMK2/union-info/basic/.dirs/system-data2 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_CAHMK2/union-info/basic/.dirs/data 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_CAHMK2/union-info/basic/.dirs/state 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_CAHMK2/union-info/basic/.dirs/runtime 643s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 643s # /union-info/basic summary: Test basic properties of GIUnionInfo 643s ok 1 /union-info/basic 643s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_CAHMK2/union-info/methods/.dirs/home 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_CAHMK2/union-info/methods/.dirs/cache 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_CAHMK2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_CAHMK2/union-info/methods/.dirs/system-config2 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_CAHMK2/union-info/methods/.dirs/config 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_CAHMK2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_CAHMK2/union-info/methods/.dirs/system-data2 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_CAHMK2/union-info/methods/.dirs/data 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_CAHMK2/union-info/methods/.dirs/state 643s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_CAHMK2/union-info/methods/.dirs/runtime 643s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 643s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 643s ok 2 /union-info/methods 643s # End of union-info tests 643s ok - glib/union-info.test 643s # Running test: glib/codegen.py.test 643s TAP version 13 643s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 643s # tmpdir: /tmp/tmpd1l7q6hs 643s # codegen: /usr/bin/gdbus-codegen 643s # /tmp/tmpd1l7q6hs/tmpnk76ni2i.xml: 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd1l7q6hs/tmpnk76ni2i.xml', '--output', '-', '--header'] 643s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 643s # Output: /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifndef __STDOUT__ 643s # #define __STDOUT__ 643s # 643s # #include 643s # 643s # G_BEGIN_DECLS 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # /* Declarations for org.project.UsefulInterface */ 643s # 643s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 643s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 643s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 643s # 643s # struct _OrgProjectUsefulInterface; 643s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 643s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 643s # 643s # struct _OrgProjectUsefulInterfaceIface 643s # { 643s # GTypeInterface parent_iface; 643s # 643s # gboolean (*handle_useful_method) ( 643s # OrgProjectUsefulInterface *object, 643s # GDBusMethodInvocation *invocation); 643s # 643s # }; 643s # 643s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 643s # 643s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 643s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 643s # 643s # 643s # /* D-Bus method call completion functions: */ 643s # void org_project_useful_interface_complete_useful_method ( 643s # OrgProjectUsefulInterface *object, 643s # GDBusMethodInvocation *invocation); 643s # 643s # 643s # 643s # /* D-Bus method calls: */ 643s # void org_project_useful_interface_call_useful_method ( 643s # OrgProjectUsefulInterface *proxy, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data); 643s # 643s # gboolean org_project_useful_interface_call_useful_method_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error); 643s # 643s # gboolean org_project_useful_interface_call_useful_method_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # GCancellable *cancellable, 643s # GError **error); 643s # 643s # 643s # 643s # /* ---- */ 643s # 643s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 643s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 643s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 643s # 643s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 643s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 643s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 643s # 643s # struct _OrgProjectUsefulInterfaceProxy 643s # { 643s # /*< private >*/ 643s # GDBusProxy parent_instance; 643s # OrgProjectUsefulInterfaceProxyPrivate *priv; 643s # }; 643s # 643s # struct _OrgProjectUsefulInterfaceProxyClass 643s # { 643s # GDBusProxyClass parent_class; 643s # }; 643s # 643s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 643s # 643s # #if GLIB_CHECK_VERSION(2, 44, 0) 643s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 643s # #endif 643s # 643s # void org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data); 643s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error); 643s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error); 643s # 643s # void org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data); 643s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error); 643s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error); 643s # 643s # 643s # /* ---- */ 643s # 643s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 643s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 643s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 643s # 643s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 643s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 643s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 643s # 643s # struct _OrgProjectUsefulInterfaceSkeleton 643s # { 643s # /*< private >*/ 643s # GDBusInterfaceSkeleton parent_instance; 643s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 643s # }; 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonClass 643s # { 643s # GDBusInterfaceSkeletonClass parent_class; 643s # }; 643s # 643s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 643s # 643s # #if GLIB_CHECK_VERSION(2, 44, 0) 643s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 643s # #endif 643s # 643s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 643s # 643s # 643s # G_END_DECLS 643s # 643s # #endif /* __STDOUT__ */ 643s # /tmp/tmpd1l7q6hs/tmpql5ft3gy.xml: 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd1l7q6hs/tmpql5ft3gy.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 643s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 643s # Output: /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifndef __STDOUT__ 643s # #define __STDOUT__ 643s # 643s # #include 643s # 643s # G_BEGIN_DECLS 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # /* Declarations for org.project.UsefulInterface */ 643s # 643s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 643s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 643s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 643s # 643s # struct _OrgProjectUsefulInterface; 643s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 643s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 643s # 643s # struct _OrgProjectUsefulInterfaceIface 643s # { 643s # GTypeInterface parent_iface; 643s # 643s # gboolean (*handle_useful_method) ( 643s # OrgProjectUsefulInterface *object, 643s # GDBusMethodInvocation *invocation); 643s # 643s # }; 643s # 643s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 643s # 643s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 643s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 643s # 643s # 643s # /* D-Bus method call completion functions: */ 643s # void org_project_useful_interface_complete_useful_method ( 643s # OrgProjectUsefulInterface *object, 643s # GDBusMethodInvocation *invocation); 643s # 643s # 643s # 643s # /* D-Bus method calls: */ 643s # void org_project_useful_interface_call_useful_method ( 643s # OrgProjectUsefulInterface *proxy, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data); 643s # 643s # gboolean org_project_useful_interface_call_useful_method_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error); 643s # 643s # gboolean org_project_useful_interface_call_useful_method_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # GCancellable *cancellable, 643s # GError **error); 643s # 643s # 643s # 643s # /* ---- */ 643s # 643s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 643s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 643s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 643s # 643s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 643s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 643s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 643s # 643s # struct _OrgProjectUsefulInterfaceProxy 643s # { 643s # /*< private >*/ 643s # GDBusProxy parent_instance; 643s # OrgProjectUsefulInterfaceProxyPrivate *priv; 643s # }; 643s # 643s # struct _OrgProjectUsefulInterfaceProxyClass 643s # { 643s # GDBusProxyClass parent_class; 643s # }; 643s # 643s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 643s # 643s # #if GLIB_CHECK_VERSION(2, 44, 0) 643s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 643s # #endif 643s # 643s # void org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data); 643s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error); 643s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error); 643s # 643s # void org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data); 643s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error); 643s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error); 643s # 643s # 643s # /* ---- */ 643s # 643s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 643s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 643s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 643s # 643s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 643s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 643s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 643s # 643s # struct _OrgProjectUsefulInterfaceSkeleton 643s # { 643s # /*< private >*/ 643s # GDBusInterfaceSkeleton parent_instance; 643s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 643s # }; 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonClass 643s # { 643s # GDBusInterfaceSkeletonClass parent_class; 643s # }; 643s # 643s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 643s # 643s # #if GLIB_CHECK_VERSION(2, 44, 0) 643s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 643s # #endif 643s # 643s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 643s # 643s # 643s # G_END_DECLS 643s # 643s # #endif /* __STDOUT__ */ 643s # /tmp/tmpd1l7q6hs/tmpfa88cx9w.xml: 643s # 643s # 643s # 643s # 643s # 643s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd1l7q6hs/tmpfa88cx9w.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 643s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 643s # Output: /* 643s # * This file is generated by gdbus-codegen, do not modify it. 643s # * 643s # * The license of this code is the same as for the D-Bus interface description 643s # * it was derived from. Note that it links to GLib, so must comply with the 643s # * LGPL linking clauses. 643s # */ 643s # 643s # #ifndef __STDOUT__ 643s # #define __STDOUT__ 643s # 643s # #include 643s # 643s # G_BEGIN_DECLS 643s # 643s # 643s # /* ------------------------------------------------------------------------ */ 643s # /* Declarations for org.project.UsefulInterface */ 643s # 643s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 643s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 643s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 643s # 643s # struct _OrgProjectUsefulInterface; 643s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 643s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 643s # 643s # struct _OrgProjectUsefulInterfaceIface 643s # { 643s # GTypeInterface parent_iface; 643s # 643s # gboolean (*handle_useful_method) ( 643s # OrgProjectUsefulInterface *object, 643s # GDBusMethodInvocation *invocation); 643s # 643s # }; 643s # 643s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 643s # 643s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 643s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 643s # 643s # 643s # /* D-Bus method call completion functions: */ 643s # void org_project_useful_interface_complete_useful_method ( 643s # OrgProjectUsefulInterface *object, 643s # GDBusMethodInvocation *invocation); 643s # 643s # 643s # 643s # /* D-Bus method calls: */ 643s # void org_project_useful_interface_call_useful_method ( 643s # OrgProjectUsefulInterface *proxy, 643s # GDBusCallFlags call_flags, 643s # gint timeout_msec, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data); 643s # 643s # gboolean org_project_useful_interface_call_useful_method_finish ( 643s # OrgProjectUsefulInterface *proxy, 643s # GAsyncResult *res, 643s # GError **error); 643s # 643s # gboolean org_project_useful_interface_call_useful_method_sync ( 643s # OrgProjectUsefulInterface *proxy, 643s # GDBusCallFlags call_flags, 643s # gint timeout_msec, 643s # GCancellable *cancellable, 643s # GError **error); 643s # 643s # 643s # 643s # /* ---- */ 643s # 643s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 643s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 643s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 643s # 643s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 643s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 643s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 643s # 643s # struct _OrgProjectUsefulInterfaceProxy 643s # { 643s # /*< private >*/ 643s # GDBusProxy parent_instance; 643s # OrgProjectUsefulInterfaceProxyPrivate *priv; 643s # }; 643s # 643s # struct _OrgProjectUsefulInterfaceProxyClass 643s # { 643s # GDBusProxyClass parent_class; 643s # }; 643s # 643s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 643s # 643s # #if GLIB_CHECK_VERSION(2, 44, 0) 643s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 643s # #endif 643s # 643s # void org_project_useful_interface_proxy_new ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data); 643s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 643s # GAsyncResult *res, 643s # GError **error); 643s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 643s # GDBusConnection *connection, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error); 643s # 643s # void org_project_useful_interface_proxy_new_for_bus ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GAsyncReadyCallback callback, 643s # gpointer user_data); 643s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 643s # GAsyncResult *res, 643s # GError **error); 643s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 643s # GBusType bus_type, 643s # GDBusProxyFlags flags, 643s # const gchar *name, 643s # const gchar *object_path, 643s # GCancellable *cancellable, 643s # GError **error); 643s # 643s # 643s # /* ---- */ 643s # 643s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 643s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 643s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 643s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 643s # 643s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 643s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 643s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 643s # 643s # struct _OrgProjectUsefulInterfaceSkeleton 643s # { 643s # /*< private >*/ 643s # GDBusInterfaceSkeleton parent_instance; 643s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 643s # }; 643s # 643s # struct _OrgProjectUsefulInterfaceSkeletonClass 643s # { 643s # GDBusInterfaceSkeletonClass parent_class; 643s # }; 643s # 643s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 643s # 643s # #if GLIB_CHECK_VERSION(2, 44, 0) 643s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 643s # #endif 643s # 643s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 643s # 643s # 643s # G_END_DECLS 643s # 643s # #endif /* __STDOUT__ */ 644s ok 2 __main__.TestCodegen.test_dbus_types 644s # tmpdir: /tmp/tmpxh4xyn00 644s # codegen: /usr/bin/gdbus-codegen 644s # /tmp/tmpxh4xyn00/tmpaib40p9x.xml: 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxh4xyn00/tmpaib40p9x.xml', '--output', '-', '--body'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # /tmp/tmpxh4xyn00/tmpsa79n4us.xml: 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxh4xyn00/tmpsa79n4us.xml', '--output', '-', '--body'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # /tmp/tmpxh4xyn00/tmpjrtzy1vx.xml: 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxh4xyn00/tmpjrtzy1vx.xml', '--output', '-', '--body'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # /tmp/tmpxh4xyn00/tmppkzy77yx.xml: 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxh4xyn00/tmppkzy77yx.xml', '--output', '-', '--body'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # /tmp/tmpxh4xyn00/tmpm_wc1ixw.xml: 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxh4xyn00/tmpm_wc1ixw.xml', '--output', '-', '--body'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # /tmp/tmpxh4xyn00/tmpitnk__gl.xml: 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxh4xyn00/tmpitnk__gl.xml', '--output', '-', '--body'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # /tmp/tmpxh4xyn00/tmp1zsf22ib.xml: 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxh4xyn00/tmp1zsf22ib.xml', '--output', '-', '--body'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # /tmp/tmpxh4xyn00/tmpt7y3556f.xml: 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxh4xyn00/tmpt7y3556f.xml', '--output', '-', '--body'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # /tmp/tmpxh4xyn00/tmphjgqbm1z.xml: 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxh4xyn00/tmphjgqbm1z.xml', '--output', '-', '--body'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # /tmp/tmpxh4xyn00/tmpikhlvien.xml: 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxh4xyn00/tmpikhlvien.xml', '--output', '-', '--body'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # /tmp/tmpxh4xyn00/tmp2f6ocr2z.xml: 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxh4xyn00/tmp2f6ocr2z.xml', '--output', '-', '--body'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # /tmp/tmpxh4xyn00/tmp7r69knoj.xml: 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxh4xyn00/tmp7r69knoj.xml', '--output', '-', '--body'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # /tmp/tmpxh4xyn00/tmp351kvyq5.xml: 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxh4xyn00/tmp351kvyq5.xml', '--output', '-', '--body'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # /tmp/tmpxh4xyn00/tmpj56ec0oo.xml: 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxh4xyn00/tmpj56ec0oo.xml', '--output', '-', '--body'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # Output: /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface GoodTypes 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:GoodTypes 644s # * @title: GoodTypes 644s # * @short_description: Generated C code for the GoodTypes D-Bus interface 644s # * 644s # * This section contains code for working with the GoodTypes D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for GoodTypes ---- */ 644s # 644s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 644s # { 644s # { 644s # -1, 644s # (gchar *) "GoodPropertyType", 644s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 644s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 644s # NULL 644s # }, 644s # "good-property-type", 644s # FALSE, 644s # TRUE 644s # }; 644s # 644s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 644s # { 644s # &_good_types_property_info_good_property_type.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "GoodTypes", 644s # NULL, 644s # NULL, 644s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 644s # NULL 644s # }, 644s # "good-types", 644s # }; 644s # 644s # 644s # /** 644s # * good_types_interface_info: 644s # * 644s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # good_types_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * good_types_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 644s # { 644s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # 644s # /** 644s # * GoodTypes: 644s # * 644s # * Abstract interface type for the D-Bus interface GoodTypes. 644s # */ 644s # 644s # /** 644s # * GoodTypesIface: 644s # * @parent_iface: The parent interface. 644s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 644s # * 644s # * Virtual table for the D-Bus interface GoodTypes. 644s # */ 644s # 644s # typedef GoodTypesIface GoodTypesInterface; 644s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 644s # 644s # static void 644s # good_types_default_init (GoodTypesIface *iface) 644s # { 644s # /* GObject properties for D-Bus properties: */ 644s # /** 644s # * GoodTypes:good-property-type: 644s # * 644s # * Represents the D-Bus property "GoodPropertyType". 644s # * 644s # * 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. 644s # */ 644s # g_object_interface_install_property (iface, 644s # 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)); 644s # } 644s # 644s # /** 644s # * good_types_get_good_property_type: (skip) 644s # * @object: A GoodTypes. 644s # * 644s # * Gets the value of the "GoodPropertyType" D-Bus property. 644s # * 644s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # GVariant * 644s # good_types_get_good_property_type (GoodTypes *object) 644s # { 644s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 644s # 644s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 644s # } 644s # 644s # /** 644s # * good_types_dup_good_property_type: (skip) 644s # * @object: A GoodTypes. 644s # * 644s # * Gets a copy of the "GoodPropertyType" D-Bus property. 644s # * 644s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 644s # * 644s # * 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(). 644s # */ 644s # GVariant * 644s # good_types_dup_good_property_type (GoodTypes *object) 644s # { 644s # GVariant *value; 644s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 644s # return value; 644s # } 644s # 644s # /** 644s # * good_types_set_good_property_type: (skip) 644s # * @object: A GoodTypes. 644s # * @value: The value to set. 644s # * 644s # * Sets the "GoodPropertyType" D-Bus property to @value. 644s # * 644s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 644s # */ 644s # void 644s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 644s # { 644s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * GoodTypesProxy: 644s # * 644s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * GoodTypesProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for GoodTypesProxy. 644s # */ 644s # 644s # struct _GoodTypesProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (GoodTypesProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # good_types_proxy_finalize (GObject *object) 644s # { 644s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # good_types_proxy_get_property (GObject *object, 644s # guint prop_id, 644s # GValue *value, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # GVariant *variant; 644s # g_assert (prop_id != 0 && prop_id - 1 < 1); 644s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 644s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 644s # if (info->use_gvariant) 644s # { 644s # g_value_set_variant (value, variant); 644s # } 644s # else 644s # { 644s # if (variant != NULL) 644s # g_dbus_gvariant_to_gvalue (variant, value); 644s # } 644s # if (variant != NULL) 644s # g_variant_unref (variant); 644s # } 644s # 644s # static void 644s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 644s # GAsyncResult *res, 644s # gpointer user_data) 644s # { 644s # const _ExtendedGDBusPropertyInfo *info = user_data; 644s # GError *error; 644s # GVariant *_ret; 644s # error = NULL; 644s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 644s # if (!_ret) 644s # { 644s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 644s # info->parent_struct.name, 644s # error->message, g_quark_to_string (error->domain), error->code); 644s # g_error_free (error); 644s # } 644s # else 644s # { 644s # g_variant_unref (_ret); 644s # } 644s # } 644s # 644s # static void 644s # good_types_proxy_set_property (GObject *object, 644s # guint prop_id, 644s # const GValue *value, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # GVariant *variant; 644s # g_assert (prop_id != 0 && prop_id - 1 < 1); 644s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 644s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_dbus_proxy_call (G_DBUS_PROXY (object), 644s # "org.freedesktop.DBus.Properties.Set", 644s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 644s # g_variant_unref (variant); 644s # } 644s # 644s # static void 644s # good_types_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static GVariant * 644s # good_types_proxy_get_good_property_type (GoodTypes *object) 644s # { 644s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 644s # GVariant *variant; 644s # GVariant *value = NULL; 644s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 644s # value = variant; 644s # if (variant != NULL) 644s # g_variant_unref (variant); 644s # return value; 644s # } 644s # 644s # static void 644s # good_types_proxy_init (GoodTypesProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = good_types_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 644s # } 644s # 644s # static void 644s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = good_types_proxy_finalize; 644s # gobject_class->get_property = good_types_proxy_get_property; 644s # gobject_class->set_property = good_types_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = good_types_proxy_g_signal; 644s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 644s # 644s # good_types_override_properties (gobject_class, 1); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # good_types_proxy_iface_init (GoodTypesIface *iface) 644s # { 644s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 644s # } 644s # 644s # /** 644s # * good_types_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # good_types_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * good_types_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with good_types_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # GoodTypes * 644s # good_types_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return GOOD_TYPES (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * good_types_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See good_types_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # GoodTypes * 644s # good_types_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return GOOD_TYPES (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * good_types_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # good_types_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * good_types_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with good_types_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # GoodTypes * 644s # good_types_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return GOOD_TYPES (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * good_types_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # GoodTypes * 644s # good_types_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return GOOD_TYPES (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * GoodTypesSkeleton: 644s # * 644s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * GoodTypesSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for GoodTypesSkeleton. 644s # */ 644s # 644s # struct _GoodTypesSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _good_types_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _good_types_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _good_types_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 644s # { 644s # _good_types_skeleton_handle_method_call, 644s # _good_types_skeleton_handle_get_property, 644s # _good_types_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return good_types_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # if (_good_types_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static gboolean _good_types_emit_changed (gpointer user_data); 644s # 644s # static void 644s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 644s # gboolean emit_changed = FALSE; 644s # 644s # g_mutex_lock (&skeleton->priv->lock); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # { 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # skeleton->priv->changed_properties_idle_source = NULL; 644s # emit_changed = TRUE; 644s # } 644s # g_mutex_unlock (&skeleton->priv->lock); 644s # 644s # if (emit_changed) 644s # _good_types_emit_changed (skeleton); 644s # } 644s # 644s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (GoodTypesSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # good_types_skeleton_finalize (GObject *object) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 644s # guint n; 644s # for (n = 0; n < 1; n++) 644s # g_value_unset (&skeleton->priv->properties[n]); 644s # g_free (skeleton->priv->properties); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # good_types_skeleton_get_property (GObject *object, 644s # guint prop_id, 644s # GValue *value, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 644s # g_assert (prop_id != 0 && prop_id - 1 < 1); 644s # g_mutex_lock (&skeleton->priv->lock); 644s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 644s # g_mutex_unlock (&skeleton->priv->lock); 644s # } 644s # 644s # static gboolean 644s # _good_types_emit_changed (gpointer user_data) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 644s # GList *l; 644s # GVariantBuilder builder; 644s # GVariantBuilder invalidated_builder; 644s # guint num_changes; 644s # 644s # g_mutex_lock (&skeleton->priv->lock); 644s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 644s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 644s # { 644s # ChangedProperty *cp = l->data; 644s # GVariant *variant; 644s # const GValue *cur_value; 644s # 644s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 644s # if (!_g_value_equal (cur_value, &cp->orig_value)) 644s # { 644s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 644s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 644s # g_variant_unref (variant); 644s # num_changes++; 644s # } 644s # } 644s # if (num_changes > 0) 644s # { 644s # GList *connections, *ll; 644s # GVariant *signal_variant; 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 644s # &builder, &invalidated_builder)); 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # for (ll = connections; ll != NULL; ll = ll->next) 644s # { 644s # GDBusConnection *connection = ll->data; 644s # 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 644s # "org.freedesktop.DBus.Properties", 644s # "PropertiesChanged", 644s # signal_variant, 644s # NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # else 644s # { 644s # g_variant_builder_clear (&builder); 644s # g_variant_builder_clear (&invalidated_builder); 644s # } 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # skeleton->priv->changed_properties = NULL; 644s # skeleton->priv->changed_properties_idle_source = NULL; 644s # g_mutex_unlock (&skeleton->priv->lock); 644s # return FALSE; 644s # } 644s # 644s # static void 644s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 644s # { 644s # ChangedProperty *cp; 644s # GList *l; 644s # cp = NULL; 644s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 644s # { 644s # ChangedProperty *i_cp = l->data; 644s # if (i_cp->info == info) 644s # { 644s # cp = i_cp; 644s # break; 644s # } 644s # } 644s # if (cp == NULL) 644s # { 644s # cp = g_new0 (ChangedProperty, 1); 644s # cp->prop_id = prop_id; 644s # cp->info = info; 644s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 644s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 644s # g_value_copy (orig_value, &cp->orig_value); 644s # } 644s # } 644s # 644s # static void 644s # good_types_skeleton_notify (GObject *object, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 644s # g_mutex_lock (&skeleton->priv->lock); 644s # if (skeleton->priv->changed_properties != NULL && 644s # skeleton->priv->changed_properties_idle_source == NULL) 644s # { 644s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 644s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 644s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 644s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 644s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 644s # g_source_unref (skeleton->priv->changed_properties_idle_source); 644s # } 644s # g_mutex_unlock (&skeleton->priv->lock); 644s # } 644s # 644s # static void 644s # good_types_skeleton_set_property (GObject *object, 644s # guint prop_id, 644s # const GValue *value, 644s # GParamSpec *pspec) 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 644s # g_assert (prop_id != 0 && prop_id - 1 < 1); 644s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 644s # g_mutex_lock (&skeleton->priv->lock); 644s # g_object_freeze_notify (object); 644s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 644s # { 644s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 644s # info->emits_changed_signal) 644s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 644s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 644s # g_object_notify_by_pspec (object, pspec); 644s # } 644s # g_mutex_unlock (&skeleton->priv->lock); 644s # g_object_thaw_notify (object); 644s # } 644s # 644s # static void 644s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # skeleton->priv->properties = g_new0 (GValue, 1); 644s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 644s # } 644s # 644s # static GVariant * 644s # good_types_skeleton_get_good_property_type (GoodTypes *object) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 644s # GVariant *value; 644s # g_mutex_lock (&skeleton->priv->lock); 644s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 644s # g_mutex_unlock (&skeleton->priv->lock); 644s # return value; 644s # } 644s # 644s # static void 644s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = good_types_skeleton_finalize; 644s # gobject_class->get_property = good_types_skeleton_get_property; 644s # gobject_class->set_property = good_types_skeleton_set_property; 644s # gobject_class->notify = good_types_skeleton_notify; 644s # 644s # 644s # good_types_override_properties (gobject_class, 1); 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # good_types_skeleton_iface_init (GoodTypesIface *iface) 644s # { 644s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 644s # } 644s # 644s # /** 644s # * good_types_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface GoodTypes. 644s # * 644s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 644s # */ 644s # GoodTypes * 644s # good_types_skeleton_new (void) 644s # { 644s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 644s # } 644s # /tmp/tmpxh4xyn00/tmpesnlm968.xml: 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxh4xyn00/tmpesnlm968.xml', '--output', '-', '--body'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # Output: /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface GoodTypes 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:GoodTypes 644s # * @title: GoodTypes 644s # * @short_description: Generated C code for the GoodTypes D-Bus interface 644s # * 644s # * This section contains code for working with the GoodTypes D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for GoodTypes ---- */ 644s # 644s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 644s # { 644s # { 644s # -1, 644s # (gchar *) "GoodPropertyType", 644s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 644s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 644s # NULL 644s # }, 644s # "good-property-type", 644s # FALSE, 644s # TRUE 644s # }; 644s # 644s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 644s # { 644s # &_good_types_property_info_good_property_type.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "GoodTypes", 644s # NULL, 644s # NULL, 644s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 644s # NULL 644s # }, 644s # "good-types", 644s # }; 644s # 644s # 644s # /** 644s # * good_types_interface_info: 644s # * 644s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # good_types_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * good_types_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 644s # { 644s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # 644s # /** 644s # * GoodTypes: 644s # * 644s # * Abstract interface type for the D-Bus interface GoodTypes. 644s # */ 644s # 644s # /** 644s # * GoodTypesIface: 644s # * @parent_iface: The parent interface. 644s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 644s # * 644s # * Virtual table for the D-Bus interface GoodTypes. 644s # */ 644s # 644s # typedef GoodTypesIface GoodTypesInterface; 644s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 644s # 644s # static void 644s # good_types_default_init (GoodTypesIface *iface) 644s # { 644s # /* GObject properties for D-Bus properties: */ 644s # /** 644s # * GoodTypes:good-property-type: 644s # * 644s # * Represents the D-Bus property "GoodPropertyType". 644s # * 644s # * 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. 644s # */ 644s # g_object_interface_install_property (iface, 644s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 644s # } 644s # 644s # /** 644s # * good_types_get_good_property_type: (skip) 644s # * @object: A GoodTypes. 644s # * 644s # * Gets the value of the "GoodPropertyType" D-Bus property. 644s # * 644s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # GVariant * 644s # good_types_get_good_property_type (GoodTypes *object) 644s # { 644s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 644s # 644s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 644s # } 644s # 644s # /** 644s # * good_types_dup_good_property_type: (skip) 644s # * @object: A GoodTypes. 644s # * 644s # * Gets a copy of the "GoodPropertyType" D-Bus property. 644s # * 644s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 644s # * 644s # * 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(). 644s # */ 644s # GVariant * 644s # good_types_dup_good_property_type (GoodTypes *object) 644s # { 644s # GVariant *value; 644s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 644s # return value; 644s # } 644s # 644s # /** 644s # * good_types_set_good_property_type: (skip) 644s # * @object: A GoodTypes. 644s # * @value: The value to set. 644s # * 644s # * Sets the "GoodPropertyType" D-Bus property to @value. 644s # * 644s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 644s # */ 644s # void 644s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 644s # { 644s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * GoodTypesProxy: 644s # * 644s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * GoodTypesProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for GoodTypesProxy. 644s # */ 644s # 644s # struct _GoodTypesProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (GoodTypesProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # good_types_proxy_finalize (GObject *object) 644s # { 644s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # good_types_proxy_get_property (GObject *object, 644s # guint prop_id, 644s # GValue *value, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # GVariant *variant; 644s # g_assert (prop_id != 0 && prop_id - 1 < 1); 644s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 644s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 644s # if (info->use_gvariant) 644s # { 644s # g_value_set_variant (value, variant); 644s # } 644s # else 644s # { 644s # if (variant != NULL) 644s # g_dbus_gvariant_to_gvalue (variant, value); 644s # } 644s # if (variant != NULL) 644s # g_variant_unref (variant); 644s # } 644s # 644s # static void 644s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 644s # GAsyncResult *res, 644s # gpointer user_data) 644s # { 644s # const _ExtendedGDBusPropertyInfo *info = user_data; 644s # GError *error; 644s # GVariant *_ret; 644s # error = NULL; 644s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 644s # if (!_ret) 644s # { 644s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 644s # info->parent_struct.name, 644s # error->message, g_quark_to_string (error->domain), error->code); 644s # g_error_free (error); 644s # } 644s # else 644s # { 644s # g_variant_unref (_ret); 644s # } 644s # } 644s # 644s # static void 644s # good_types_proxy_set_property (GObject *object, 644s # guint prop_id, 644s # const GValue *value, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # GVariant *variant; 644s # g_assert (prop_id != 0 && prop_id - 1 < 1); 644s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 644s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_dbus_proxy_call (G_DBUS_PROXY (object), 644s # "org.freedesktop.DBus.Properties.Set", 644s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 644s # g_variant_unref (variant); 644s # } 644s # 644s # static void 644s # good_types_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static GVariant * 644s # good_types_proxy_get_good_property_type (GoodTypes *object) 644s # { 644s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 644s # GVariant *variant; 644s # GVariant *value = NULL; 644s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 644s # value = variant; 644s # if (variant != NULL) 644s # g_variant_unref (variant); 644s # return value; 644s # } 644s # 644s # static void 644s # good_types_proxy_init (GoodTypesProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = good_types_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 644s # } 644s # 644s # static void 644s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = good_types_proxy_finalize; 644s # gobject_class->get_property = good_types_proxy_get_property; 644s # gobject_class->set_property = good_types_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = good_types_proxy_g_signal; 644s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 644s # 644s # good_types_override_properties (gobject_class, 1); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # good_types_proxy_iface_init (GoodTypesIface *iface) 644s # { 644s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 644s # } 644s # 644s # /** 644s # * good_types_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # good_types_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * good_types_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with good_types_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # GoodTypes * 644s # good_types_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return GOOD_TYPES (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * good_types_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See good_types_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # GoodTypes * 644s # good_types_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return GOOD_TYPES (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * good_types_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # good_types_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * good_types_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with good_types_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # GoodTypes * 644s # good_types_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return GOOD_TYPES (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * good_types_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # GoodTypes * 644s # good_types_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return GOOD_TYPES (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * GoodTypesSkeleton: 644s # * 644s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * GoodTypesSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for GoodTypesSkeleton. 644s # */ 644s # 644s # struct _GoodTypesSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _good_types_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _good_types_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _good_types_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 644s # { 644s # _good_types_skeleton_handle_method_call, 644s # _good_types_skeleton_handle_get_property, 644s # _good_types_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return good_types_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # if (_good_types_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static gboolean _good_types_emit_changed (gpointer user_data); 644s # 644s # static void 644s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 644s # gboolean emit_changed = FALSE; 644s # 644s # g_mutex_lock (&skeleton->priv->lock); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # { 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # skeleton->priv->changed_properties_idle_source = NULL; 644s # emit_changed = TRUE; 644s # } 644s # g_mutex_unlock (&skeleton->priv->lock); 644s # 644s # if (emit_changed) 644s # _good_types_emit_changed (skeleton); 644s # } 644s # 644s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (GoodTypesSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # good_types_skeleton_finalize (GObject *object) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 644s # guint n; 644s # for (n = 0; n < 1; n++) 644s # g_value_unset (&skeleton->priv->properties[n]); 644s # g_free (skeleton->priv->properties); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # good_types_skeleton_get_property (GObject *object, 644s # guint prop_id, 644s # GValue *value, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 644s # g_assert (prop_id != 0 && prop_id - 1 < 1); 644s # g_mutex_lock (&skeleton->priv->lock); 644s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 644s # g_mutex_unlock (&skeleton->priv->lock); 644s # } 644s # 644s # static gboolean 644s # _good_types_emit_changed (gpointer user_data) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 644s # GList *l; 644s # GVariantBuilder builder; 644s # GVariantBuilder invalidated_builder; 644s # guint num_changes; 644s # 644s # g_mutex_lock (&skeleton->priv->lock); 644s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 644s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 644s # { 644s # ChangedProperty *cp = l->data; 644s # GVariant *variant; 644s # const GValue *cur_value; 644s # 644s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 644s # if (!_g_value_equal (cur_value, &cp->orig_value)) 644s # { 644s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 644s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 644s # g_variant_unref (variant); 644s # num_changes++; 644s # } 644s # } 644s # if (num_changes > 0) 644s # { 644s # GList *connections, *ll; 644s # GVariant *signal_variant; 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 644s # &builder, &invalidated_builder)); 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # for (ll = connections; ll != NULL; ll = ll->next) 644s # { 644s # GDBusConnection *connection = ll->data; 644s # 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 644s # "org.freedesktop.DBus.Properties", 644s # "PropertiesChanged", 644s # signal_variant, 644s # NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # else 644s # { 644s # g_variant_builder_clear (&builder); 644s # g_variant_builder_clear (&invalidated_builder); 644s # } 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # skeleton->priv->changed_properties = NULL; 644s # skeleton->priv->changed_properties_idle_source = NULL; 644s # g_mutex_unlock (&skeleton->priv->lock); 644s # return FALSE; 644s # } 644s # 644s # static void 644s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 644s # { 644s # ChangedProperty *cp; 644s # GList *l; 644s # cp = NULL; 644s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 644s # { 644s # ChangedProperty *i_cp = l->data; 644s # if (i_cp->info == info) 644s # { 644s # cp = i_cp; 644s # break; 644s # } 644s # } 644s # if (cp == NULL) 644s # { 644s # cp = g_new0 (ChangedProperty, 1); 644s # cp->prop_id = prop_id; 644s # cp->info = info; 644s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 644s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 644s # g_value_copy (orig_value, &cp->orig_value); 644s # } 644s # } 644s # 644s # static void 644s # good_types_skeleton_notify (GObject *object, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 644s # g_mutex_lock (&skeleton->priv->lock); 644s # if (skeleton->priv->changed_properties != NULL && 644s # skeleton->priv->changed_properties_idle_source == NULL) 644s # { 644s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 644s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 644s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 644s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 644s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 644s # g_source_unref (skeleton->priv->changed_properties_idle_source); 644s # } 644s # g_mutex_unlock (&skeleton->priv->lock); 644s # } 644s # 644s # static void 644s # good_types_skeleton_set_property (GObject *object, 644s # guint prop_id, 644s # const GValue *value, 644s # GParamSpec *pspec) 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 644s # g_assert (prop_id != 0 && prop_id - 1 < 1); 644s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 644s # g_mutex_lock (&skeleton->priv->lock); 644s # g_object_freeze_notify (object); 644s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 644s # { 644s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 644s # info->emits_changed_signal) 644s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 644s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 644s # g_object_notify_by_pspec (object, pspec); 644s # } 644s # g_mutex_unlock (&skeleton->priv->lock); 644s # g_object_thaw_notify (object); 644s # } 644s # 644s # static void 644s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # skeleton->priv->properties = g_new0 (GValue, 1); 644s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 644s # } 644s # 644s # static GVariant * 644s # good_types_skeleton_get_good_property_type (GoodTypes *object) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 644s # GVariant *value; 644s # g_mutex_lock (&skeleton->priv->lock); 644s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 644s # g_mutex_unlock (&skeleton->priv->lock); 644s # return value; 644s # } 644s # 644s # static void 644s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = good_types_skeleton_finalize; 644s # gobject_class->get_property = good_types_skeleton_get_property; 644s # gobject_class->set_property = good_types_skeleton_set_property; 644s # gobject_class->notify = good_types_skeleton_notify; 644s # 644s # 644s # good_types_override_properties (gobject_class, 1); 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # good_types_skeleton_iface_init (GoodTypesIface *iface) 644s # { 644s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 644s # } 644s # 644s # /** 644s # * good_types_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface GoodTypes. 644s # * 644s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 644s # */ 644s # GoodTypes * 644s # good_types_skeleton_new (void) 644s # { 644s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 644s # } 644s # /tmp/tmpxh4xyn00/tmprfk4y4nf.xml: 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxh4xyn00/tmprfk4y4nf.xml', '--output', '-', '--body'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # Output: /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface GoodTypes 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:GoodTypes 644s # * @title: GoodTypes 644s # * @short_description: Generated C code for the GoodTypes D-Bus interface 644s # * 644s # * This section contains code for working with the GoodTypes D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for GoodTypes ---- */ 644s # 644s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 644s # { 644s # { 644s # -1, 644s # (gchar *) "GoodPropertyType", 644s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 644s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 644s # NULL 644s # }, 644s # "good-property-type", 644s # FALSE, 644s # TRUE 644s # }; 644s # 644s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 644s # { 644s # &_good_types_property_info_good_property_type.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "GoodTypes", 644s # NULL, 644s # NULL, 644s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 644s # NULL 644s # }, 644s # "good-types", 644s # }; 644s # 644s # 644s # /** 644s # * good_types_interface_info: 644s # * 644s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # good_types_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * good_types_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 644s # { 644s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # 644s # /** 644s # * GoodTypes: 644s # * 644s # * Abstract interface type for the D-Bus interface GoodTypes. 644s # */ 644s # 644s # /** 644s # * GoodTypesIface: 644s # * @parent_iface: The parent interface. 644s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 644s # * 644s # * Virtual table for the D-Bus interface GoodTypes. 644s # */ 644s # 644s # typedef GoodTypesIface GoodTypesInterface; 644s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 644s # 644s # static void 644s # good_types_default_init (GoodTypesIface *iface) 644s # { 644s # /* GObject properties for D-Bus properties: */ 644s # /** 644s # * GoodTypes:good-property-type: 644s # * 644s # * Represents the D-Bus property "GoodPropertyType". 644s # * 644s # * 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. 644s # */ 644s # g_object_interface_install_property (iface, 644s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 644s # } 644s # 644s # /** 644s # * good_types_get_good_property_type: (skip) 644s # * @object: A GoodTypes. 644s # * 644s # * Gets the value of the "GoodPropertyType" D-Bus property. 644s # * 644s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # GVariant * 644s # good_types_get_good_property_type (GoodTypes *object) 644s # { 644s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 644s # 644s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 644s # } 644s # 644s # /** 644s # * good_types_dup_good_property_type: (skip) 644s # * @object: A GoodTypes. 644s # * 644s # * Gets a copy of the "GoodPropertyType" D-Bus property. 644s # * 644s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 644s # * 644s # * 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(). 644s # */ 644s # GVariant * 644s # good_types_dup_good_property_type (GoodTypes *object) 644s # { 644s # GVariant *value; 644s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 644s # return value; 644s # } 644s # 644s # /** 644s # * good_types_set_good_property_type: (skip) 644s # * @object: A GoodTypes. 644s # * @value: The value to set. 644s # * 644s # * Sets the "GoodPropertyType" D-Bus property to @value. 644s # * 644s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 644s # */ 644s # void 644s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 644s # { 644s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * GoodTypesProxy: 644s # * 644s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * GoodTypesProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for GoodTypesProxy. 644s # */ 644s # 644s # struct _GoodTypesProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (GoodTypesProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # good_types_proxy_finalize (GObject *object) 644s # { 644s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # good_types_proxy_get_property (GObject *object, 644s # guint prop_id, 644s # GValue *value, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # GVariant *variant; 644s # g_assert (prop_id != 0 && prop_id - 1 < 1); 644s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 644s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 644s # if (info->use_gvariant) 644s # { 644s # g_value_set_variant (value, variant); 644s # } 644s # else 644s # { 644s # if (variant != NULL) 644s # g_dbus_gvariant_to_gvalue (variant, value); 644s # } 644s # if (variant != NULL) 644s # g_variant_unref (variant); 644s # } 644s # 644s # static void 644s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 644s # GAsyncResult *res, 644s # gpointer user_data) 644s # { 644s # const _ExtendedGDBusPropertyInfo *info = user_data; 644s # GError *error; 644s # GVariant *_ret; 644s # error = NULL; 644s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 644s # if (!_ret) 644s # { 644s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 644s # info->parent_struct.name, 644s # error->message, g_quark_to_string (error->domain), error->code); 644s # g_error_free (error); 644s # } 644s # else 644s # { 644s # g_variant_unref (_ret); 644s # } 644s # } 644s # 644s # static void 644s # good_types_proxy_set_property (GObject *object, 644s # guint prop_id, 644s # const GValue *value, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # GVariant *variant; 644s # g_assert (prop_id != 0 && prop_id - 1 < 1); 644s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 644s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_dbus_proxy_call (G_DBUS_PROXY (object), 644s # "org.freedesktop.DBus.Properties.Set", 644s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 644s # g_variant_unref (variant); 644s # } 644s # 644s # static void 644s # good_types_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 644s # g_datalist_remove_data (&proxy->priv->qdata, key); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # g_variant_iter_free (iter); 644s # for (n = 0; invalidated_properties[n] != NULL; n++) 644s # { 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 644s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 644s # if (info != NULL) 644s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 644s # } 644s # } 644s # 644s # static GVariant * 644s # good_types_proxy_get_good_property_type (GoodTypes *object) 644s # { 644s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 644s # GVariant *variant; 644s # GVariant *value = NULL; 644s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 644s # value = variant; 644s # if (variant != NULL) 644s # g_variant_unref (variant); 644s # return value; 644s # } 644s # 644s # static void 644s # good_types_proxy_init (GoodTypesProxy *proxy) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # proxy->priv = good_types_proxy_get_instance_private (proxy); 644s # #else 644s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 644s # #endif 644s # 644s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 644s # } 644s # 644s # static void 644s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusProxyClass *proxy_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = good_types_proxy_finalize; 644s # gobject_class->get_property = good_types_proxy_get_property; 644s # gobject_class->set_property = good_types_proxy_set_property; 644s # 644s # proxy_class = G_DBUS_PROXY_CLASS (klass); 644s # proxy_class->g_signal = good_types_proxy_g_signal; 644s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 644s # 644s # good_types_override_properties (gobject_class, 1); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # good_types_proxy_iface_init (GoodTypesIface *iface) 644s # { 644s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 644s # } 644s # 644s # /** 644s # * good_types_proxy_new: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 644s # * 644s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # good_types_proxy_new ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * good_types_proxy_new_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with good_types_proxy_new(). 644s # * 644s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # GoodTypes * 644s # good_types_proxy_new_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return GOOD_TYPES (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * good_types_proxy_new_sync: 644s # * @connection: A #GDBusConnection. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See good_types_proxy_new() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # GoodTypes * 644s # good_types_proxy_new_sync ( 644s # GDBusConnection *connection, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return GOOD_TYPES (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /** 644s # * good_types_proxy_new_for_bus: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 644s # * 644s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 644s # */ 644s # void 644s # good_types_proxy_new_for_bus ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # 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); 644s # } 644s # 644s # /** 644s # * good_types_proxy_new_for_bus_finish: 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 644s # * @error: Return location for error or %NULL 644s # * 644s # * Finishes an operation started with good_types_proxy_new_for_bus(). 644s # * 644s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # GoodTypes * 644s # good_types_proxy_new_for_bus_finish ( 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GObject *ret; 644s # GObject *source_object; 644s # source_object = g_async_result_get_source_object (res); 644s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 644s # g_object_unref (source_object); 644s # if (ret != NULL) 644s # return GOOD_TYPES (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # /** 644s # * good_types_proxy_new_for_bus_sync: 644s # * @bus_type: A #GBusType. 644s # * @flags: Flags from the #GDBusProxyFlags enumeration. 644s # * @name: A bus name (well-known or unique). 644s # * @object_path: An object path. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL 644s # * 644s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 644s # * 644s # * The calling thread is blocked until a reply is received. 644s # * 644s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 644s # * 644s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 644s # */ 644s # GoodTypes * 644s # good_types_proxy_new_for_bus_sync ( 644s # GBusType bus_type, 644s # GDBusProxyFlags flags, 644s # const gchar *name, 644s # const gchar *object_path, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GInitable *ret; 644s # 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); 644s # if (ret != NULL) 644s # return GOOD_TYPES (ret); 644s # else 644s # return NULL; 644s # } 644s # 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * GoodTypesSkeleton: 644s # * 644s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * GoodTypesSkeletonClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for GoodTypesSkeleton. 644s # */ 644s # 644s # struct _GoodTypesSkeletonPrivate 644s # { 644s # GValue *properties; 644s # GList *changed_properties; 644s # GSource *changed_properties_idle_source; 644s # GMainContext *context; 644s # GMutex lock; 644s # }; 644s # 644s # static void 644s # _good_types_skeleton_handle_method_call ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name, 644s # const gchar *method_name, 644s # GVariant *parameters, 644s # GDBusMethodInvocation *invocation, 644s # gpointer user_data) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 644s # _ExtendedGDBusMethodInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # guint num_extra; 644s # gsize n; 644s # guint signal_id; 644s # GValue return_value = G_VALUE_INIT; 644s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 644s # g_assert (info != NULL); 644s # num_params = g_variant_n_children (parameters); 644s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 644s # n = 0; 644s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 644s # g_value_set_object (¶mv[n++], skeleton); 644s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 644s # g_value_set_object (¶mv[n++], invocation); 644s # if (info->pass_fdlist) 644s # { 644s # #ifdef G_OS_UNIX 644s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 644s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 644s # #else 644s # g_assert_not_reached (); 644s # #endif 644s # } 644s # g_variant_iter_init (&iter, parameters); 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 644s # g_value_init (&return_value, G_TYPE_BOOLEAN); 644s # g_signal_emitv (paramv, signal_id, 0, &return_value); 644s # if (!g_value_get_boolean (&return_value)) 644s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 644s # g_value_unset (&return_value); 644s # for (n = 0; n < num_params + num_extra; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static GVariant * 644s # _good_types_skeleton_handle_get_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # GVariant *ret; 644s # ret = NULL; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # g_value_init (&value, pspec->value_type); 644s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 644s # g_value_unset (&value); 644s # } 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _good_types_skeleton_handle_set_property ( 644s # GDBusConnection *connection G_GNUC_UNUSED, 644s # const gchar *sender G_GNUC_UNUSED, 644s # const gchar *object_path G_GNUC_UNUSED, 644s # const gchar *interface_name G_GNUC_UNUSED, 644s # const gchar *property_name, 644s # GVariant *variant, 644s # GError **error, 644s # gpointer user_data) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 644s # GValue value = G_VALUE_INIT; 644s # GParamSpec *pspec; 644s # _ExtendedGDBusPropertyInfo *info; 644s # gboolean ret; 644s # ret = FALSE; 644s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 644s # g_assert (info != NULL); 644s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 644s # if (pspec == NULL) 644s # { 644s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 644s # } 644s # else 644s # { 644s # if (info->use_gvariant) 644s # g_value_set_variant (&value, variant); 644s # else 644s # g_dbus_gvariant_to_gvalue (variant, &value); 644s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 644s # g_value_unset (&value); 644s # ret = TRUE; 644s # } 644s # return ret; 644s # } 644s # 644s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 644s # { 644s # _good_types_skeleton_handle_method_call, 644s # _good_types_skeleton_handle_get_property, 644s # _good_types_skeleton_handle_set_property, 644s # {NULL} 644s # }; 644s # 644s # static GDBusInterfaceInfo * 644s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return good_types_interface_info (); 644s # } 644s # 644s # static GDBusInterfaceVTable * 644s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 644s # { 644s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 644s # } 644s # 644s # static GVariant * 644s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 644s # 644s # GVariantBuilder builder; 644s # guint n; 644s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # if (_good_types_interface_info.parent_struct.properties == NULL) 644s # goto out; 644s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 644s # { 644s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 644s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 644s # { 644s # GVariant *value; 644s # 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); 644s # if (value != NULL) 644s # { 644s # g_variant_take_ref (value); 644s # g_variant_builder_add (&builder, "{sv}", info->name, value); 644s # g_variant_unref (value); 644s # } 644s # } 644s # } 644s # out: 644s # return g_variant_builder_end (&builder); 644s # } 644s # 644s # static gboolean _good_types_emit_changed (gpointer user_data); 644s # 644s # static void 644s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 644s # gboolean emit_changed = FALSE; 644s # 644s # g_mutex_lock (&skeleton->priv->lock); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # { 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # skeleton->priv->changed_properties_idle_source = NULL; 644s # emit_changed = TRUE; 644s # } 644s # g_mutex_unlock (&skeleton->priv->lock); 644s # 644s # if (emit_changed) 644s # _good_types_emit_changed (skeleton); 644s # } 644s # 644s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_ADD_PRIVATE (GoodTypesSkeleton) 644s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 644s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 644s # 644s # #endif 644s # static void 644s # good_types_skeleton_finalize (GObject *object) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 644s # guint n; 644s # for (n = 0; n < 1; n++) 644s # g_value_unset (&skeleton->priv->properties[n]); 644s # g_free (skeleton->priv->properties); 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # if (skeleton->priv->changed_properties_idle_source != NULL) 644s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 644s # g_main_context_unref (skeleton->priv->context); 644s # g_mutex_clear (&skeleton->priv->lock); 644s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # good_types_skeleton_get_property (GObject *object, 644s # guint prop_id, 644s # GValue *value, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 644s # g_assert (prop_id != 0 && prop_id - 1 < 1); 644s # g_mutex_lock (&skeleton->priv->lock); 644s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 644s # g_mutex_unlock (&skeleton->priv->lock); 644s # } 644s # 644s # static gboolean 644s # _good_types_emit_changed (gpointer user_data) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 644s # GList *l; 644s # GVariantBuilder builder; 644s # GVariantBuilder invalidated_builder; 644s # guint num_changes; 644s # 644s # g_mutex_lock (&skeleton->priv->lock); 644s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 644s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 644s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 644s # { 644s # ChangedProperty *cp = l->data; 644s # GVariant *variant; 644s # const GValue *cur_value; 644s # 644s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 644s # if (!_g_value_equal (cur_value, &cp->orig_value)) 644s # { 644s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 644s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 644s # g_variant_unref (variant); 644s # num_changes++; 644s # } 644s # } 644s # if (num_changes > 0) 644s # { 644s # GList *connections, *ll; 644s # GVariant *signal_variant; 644s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 644s # &builder, &invalidated_builder)); 644s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 644s # for (ll = connections; ll != NULL; ll = ll->next) 644s # { 644s # GDBusConnection *connection = ll->data; 644s # 644s # g_dbus_connection_emit_signal (connection, 644s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 644s # "org.freedesktop.DBus.Properties", 644s # "PropertiesChanged", 644s # signal_variant, 644s # NULL); 644s # } 644s # g_variant_unref (signal_variant); 644s # g_list_free_full (connections, g_object_unref); 644s # } 644s # else 644s # { 644s # g_variant_builder_clear (&builder); 644s # g_variant_builder_clear (&invalidated_builder); 644s # } 644s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 644s # skeleton->priv->changed_properties = NULL; 644s # skeleton->priv->changed_properties_idle_source = NULL; 644s # g_mutex_unlock (&skeleton->priv->lock); 644s # return FALSE; 644s # } 644s # 644s # static void 644s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 644s # { 644s # ChangedProperty *cp; 644s # GList *l; 644s # cp = NULL; 644s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 644s # { 644s # ChangedProperty *i_cp = l->data; 644s # if (i_cp->info == info) 644s # { 644s # cp = i_cp; 644s # break; 644s # } 644s # } 644s # if (cp == NULL) 644s # { 644s # cp = g_new0 (ChangedProperty, 1); 644s # cp->prop_id = prop_id; 644s # cp->info = info; 644s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 644s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 644s # g_value_copy (orig_value, &cp->orig_value); 644s # } 644s # } 644s # 644s # static void 644s # good_types_skeleton_notify (GObject *object, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 644s # g_mutex_lock (&skeleton->priv->lock); 644s # if (skeleton->priv->changed_properties != NULL && 644s # skeleton->priv->changed_properties_idle_source == NULL) 644s # { 644s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 644s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 644s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 644s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 644s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 644s # g_source_unref (skeleton->priv->changed_properties_idle_source); 644s # } 644s # g_mutex_unlock (&skeleton->priv->lock); 644s # } 644s # 644s # static void 644s # good_types_skeleton_set_property (GObject *object, 644s # guint prop_id, 644s # const GValue *value, 644s # GParamSpec *pspec) 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 644s # g_assert (prop_id != 0 && prop_id - 1 < 1); 644s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 644s # g_mutex_lock (&skeleton->priv->lock); 644s # g_object_freeze_notify (object); 644s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 644s # { 644s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 644s # info->emits_changed_signal) 644s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 644s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 644s # g_object_notify_by_pspec (object, pspec); 644s # } 644s # g_mutex_unlock (&skeleton->priv->lock); 644s # g_object_thaw_notify (object); 644s # } 644s # 644s # static void 644s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 644s # { 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 644s # #else 644s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 644s # #endif 644s # 644s # g_mutex_init (&skeleton->priv->lock); 644s # skeleton->priv->context = g_main_context_ref_thread_default (); 644s # skeleton->priv->properties = g_new0 (GValue, 1); 644s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 644s # } 644s # 644s # static GVariant * 644s # good_types_skeleton_get_good_property_type (GoodTypes *object) 644s # { 644s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 644s # GVariant *value; 644s # g_mutex_lock (&skeleton->priv->lock); 644s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 644s # g_mutex_unlock (&skeleton->priv->lock); 644s # return value; 644s # } 644s # 644s # static void 644s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 644s # { 644s # GObjectClass *gobject_class; 644s # GDBusInterfaceSkeletonClass *skeleton_class; 644s # 644s # gobject_class = G_OBJECT_CLASS (klass); 644s # gobject_class->finalize = good_types_skeleton_finalize; 644s # gobject_class->get_property = good_types_skeleton_get_property; 644s # gobject_class->set_property = good_types_skeleton_set_property; 644s # gobject_class->notify = good_types_skeleton_notify; 644s # 644s # 644s # good_types_override_properties (gobject_class, 1); 644s # 644s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 644s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 644s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 644s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 644s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 644s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 644s # #endif 644s # } 644s # 644s # static void 644s # good_types_skeleton_iface_init (GoodTypesIface *iface) 644s # { 644s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 644s # } 644s # 644s # /** 644s # * good_types_skeleton_new: 644s # * 644s # * Creates a skeleton object for the D-Bus interface GoodTypes. 644s # * 644s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 644s # */ 644s # GoodTypes * 644s # good_types_skeleton_new (void) 644s # { 644s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 644s # } 644s ok 3 __main__.TestCodegen.test_empty_interface_body 644s # tmpdir: /tmp/tmpcq7hgih9 644s # codegen: /usr/bin/gdbus-codegen 644s # /tmp/tmpcq7hgih9/tmpog_6trzt.xml: 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcq7hgih9/tmpog_6trzt.xml', '--output', '-', '--body'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # Output: /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s ok 4 __main__.TestCodegen.test_empty_interface_header 644s # tmpdir: /tmp/tmpv2l716p6 644s # codegen: /usr/bin/gdbus-codegen 644s # /tmp/tmpv2l716p6/tmpuz3unbqz.xml: 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv2l716p6/tmpuz3unbqz.xml', '--output', '-', '--header'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # Output: /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifndef __STDOUT__ 644s # #define __STDOUT__ 644s # 644s # #include 644s # 644s # G_BEGIN_DECLS 644s # 644s # 644s # G_END_DECLS 644s # 644s # #endif /* __STDOUT__ */ 644s ok 5 __main__.TestCodegen.test_empty_interface_info_body 644s # tmpdir: /tmp/tmp7gjj14qp 644s # codegen: /usr/bin/gdbus-codegen 644s # /tmp/tmp7gjj14qp/tmpa_qs8aql.xml: 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7gjj14qp/tmpa_qs8aql.xml', '--output', '-', '--interface-info-body'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # Output: /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s ok 6 __main__.TestCodegen.test_empty_interface_info_header 644s # tmpdir: /tmp/tmpz4p5xr3s 644s # codegen: /usr/bin/gdbus-codegen 644s # /tmp/tmpz4p5xr3s/tmp864tcy12.xml: 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz4p5xr3s/tmp864tcy12.xml', '--output', '-', '--interface-info-header'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # Output: /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifndef __STDOUT__ 644s # #define __STDOUT__ 644s # 644s # #include 644s # 644s # G_BEGIN_DECLS 644s # 644s # 644s # G_END_DECLS 644s # 644s # #endif /* __STDOUT__ */ 644s # Executing: glib/codegen.py.test 644s ok 7 __main__.TestCodegen.test_generate_docbook 644s # tmpdir: /tmp/tmplcr9pfg3 644s # codegen: /usr/bin/gdbus-codegen 644s # /tmp/tmplcr9pfg3/tmpe96__zs_.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplcr9pfg3/tmpe96__zs_.xml', '--generate-docbook', 'test'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # Output: 644s ok 8 __main__.TestCodegen.test_generate_md 644s # tmpdir: /tmp/tmppp54ovxq 644s # codegen: /usr/bin/gdbus-codegen 644s # /tmp/tmppp54ovxq/tmp0f1gg18x.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppp54ovxq/tmp0f1gg18x.xml', '--generate-md', 'test'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # Output: 644s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 644s # tmpdir: /tmp/tmp2dnjztsq 644s # codegen: /usr/bin/gdbus-codegen 644s # /tmp/tmp2dnjztsq/tmpr49qvofv.xml: 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # 644s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2dnjztsq/tmpr49qvofv.xml', '--output', '-', '--body'] 644s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 644s # Output: /* 644s # * This file is generated by gdbus-codegen, do not modify it. 644s # * 644s # * The license of this code is the same as for the D-Bus interface description 644s # * it was derived from. Note that it links to GLib, so must comply with the 644s # * LGPL linking clauses. 644s # */ 644s # 644s # #ifdef HAVE_CONFIG_H 644s # # include "config.h" 644s # #endif 644s # 644s # #include 644s # #ifdef G_OS_UNIX 644s # # include 644s # #endif 644s # 644s # #ifdef G_ENABLE_DEBUG 644s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 644s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 644s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 644s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 644s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 644s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 644s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 644s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 644s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 644s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 644s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 644s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 644s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 644s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 644s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 644s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 644s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 644s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 644s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 644s # #else /* !G_ENABLE_DEBUG */ 644s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 644s # * Do not access GValues directly in your code. Instead, use the 644s # * g_value_get_*() functions 644s # */ 644s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 644s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 644s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 644s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 644s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 644s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 644s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 644s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 644s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 644s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 644s # #endif /* !G_ENABLE_DEBUG */ 644s # 644s # typedef struct 644s # { 644s # GDBusArgInfo parent_struct; 644s # gboolean use_gvariant; 644s # } _ExtendedGDBusArgInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusMethodInfo parent_struct; 644s # const gchar *signal_name; 644s # gboolean pass_fdlist; 644s # } _ExtendedGDBusMethodInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusSignalInfo parent_struct; 644s # const gchar *signal_name; 644s # } _ExtendedGDBusSignalInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusPropertyInfo parent_struct; 644s # const gchar *hyphen_name; 644s # guint use_gvariant : 1; 644s # guint emits_changed_signal : 1; 644s # } _ExtendedGDBusPropertyInfo; 644s # 644s # typedef struct 644s # { 644s # GDBusInterfaceInfo parent_struct; 644s # const gchar *hyphen_name; 644s # } _ExtendedGDBusInterfaceInfo; 644s # 644s # typedef struct 644s # { 644s # const _ExtendedGDBusPropertyInfo *info; 644s # guint prop_id; 644s # GValue orig_value; /* the value before the change */ 644s # } ChangedProperty; 644s # 644s # static void 644s # _changed_property_free (ChangedProperty *data) 644s # { 644s # g_value_unset (&data->orig_value); 644s # g_free (data); 644s # } 644s # 644s # static gboolean 644s # _g_strv_equal0 (gchar **a, gchar **b) 644s # { 644s # gboolean ret = FALSE; 644s # guint n; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # if (g_strv_length (a) != g_strv_length (b)) 644s # goto out; 644s # for (n = 0; a[n] != NULL; n++) 644s # if (g_strcmp0 (a[n], b[n]) != 0) 644s # goto out; 644s # ret = TRUE; 644s # out: 644s # return ret; 644s # } 644s # 644s # static gboolean 644s # _g_variant_equal0 (GVariant *a, GVariant *b) 644s # { 644s # gboolean ret = FALSE; 644s # if (a == NULL && b == NULL) 644s # { 644s # ret = TRUE; 644s # goto out; 644s # } 644s # if (a == NULL || b == NULL) 644s # goto out; 644s # ret = g_variant_equal (a, b); 644s # out: 644s # return ret; 644s # } 644s # 644s # G_GNUC_UNUSED static gboolean 644s # _g_value_equal (const GValue *a, const GValue *b) 644s # { 644s # gboolean ret = FALSE; 644s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 644s # switch (G_VALUE_TYPE (a)) 644s # { 644s # case G_TYPE_BOOLEAN: 644s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 644s # break; 644s # case G_TYPE_UCHAR: 644s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 644s # break; 644s # case G_TYPE_INT: 644s # ret = (g_value_get_int (a) == g_value_get_int (b)); 644s # break; 644s # case G_TYPE_UINT: 644s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 644s # break; 644s # case G_TYPE_INT64: 644s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 644s # break; 644s # case G_TYPE_UINT64: 644s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 644s # break; 644s # case G_TYPE_DOUBLE: 644s # { 644s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 644s # gdouble da = g_value_get_double (a); 644s # gdouble db = g_value_get_double (b); 644s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 644s # } 644s # break; 644s # case G_TYPE_STRING: 644s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 644s # break; 644s # case G_TYPE_VARIANT: 644s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 644s # break; 644s # default: 644s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 644s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 644s # else 644s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 644s # break; 644s # } 644s # return ret; 644s # } 644s # 644s # static void 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint G_GNUC_UNUSED, 644s # void *marshal_data) 644s # { 644s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (void *data1, 644s # GDBusMethodInvocation *arg_method_invocation, 644s # void *data2); 644s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 644s # GCClosure *cc = (GCClosure*) closure; 644s # void *data1, *data2; 644s # gboolean v_return; 644s # 644s # g_return_if_fail (return_value != NULL); 644s # g_return_if_fail (n_param_values == 2); 644s # 644s # if (G_CCLOSURE_SWAP_DATA (closure)) 644s # { 644s # data1 = closure->data; 644s # data2 = g_value_peek_pointer (param_values + 0); 644s # } 644s # else 644s # { 644s # data1 = g_value_peek_pointer (param_values + 0); 644s # data2 = closure->data; 644s # } 644s # 644s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 644s # (marshal_data ? marshal_data : cc->callback); 644s # 644s # v_return = 644s # callback (data1, 644s # g_marshal_value_peek_object (param_values + 1), 644s # data2); 644s # 644s # g_value_set_boolean (return_value, v_return); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ 644s # * Code for interface org.project.CallableIface 644s # * ------------------------------------------------------------------------ 644s # */ 644s # 644s # /** 644s # * SECTION:OrgProjectCallableIface 644s # * @title: OrgProjectCallableIface 644s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 644s # * 644s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 644s # */ 644s # 644s # /* ---- Introspection data for org.project.CallableIface ---- */ 644s # 644s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 644s # { 644s # { 644s # -1, 644s # (gchar *) "SimpleMethod", 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "handle-simple-method", 644s # FALSE 644s # }; 644s # 644s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 644s # { 644s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 644s # NULL 644s # }; 644s # 644s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 644s # { 644s # { 644s # -1, 644s # (gchar *) "org.project.CallableIface", 644s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 644s # NULL, 644s # NULL, 644s # NULL 644s # }, 644s # "org-project-callable-iface", 644s # }; 644s # 644s # 644s # /** 644s # * org_project_callable_iface_interface_info: 644s # * 644s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 644s # * 644s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 644s # */ 644s # GDBusInterfaceInfo * 644s # org_project_callable_iface_interface_info (void) 644s # { 644s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_override_properties: 644s # * @klass: The class structure for a #GObject derived class. 644s # * @property_id_begin: The property id to assign to the first overridden property. 644s # * 644s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 644s # * The properties are overridden in the order they are defined. 644s # * 644s # * Returns: The last property id. 644s # */ 644s # guint 644s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 644s # { 644s # return property_id_begin - 1; 644s # } 644s # 644s # 644s # inline static void 644s # org_project_callable_iface_method_marshal_simple_method ( 644s # GClosure *closure, 644s # GValue *return_value, 644s # unsigned int n_param_values, 644s # const GValue *param_values, 644s # void *invocation_hint, 644s # void *marshal_data) 644s # { 644s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 644s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 644s # } 644s # 644s # 644s # /** 644s # * OrgProjectCallableIface: 644s # * 644s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 644s # */ 644s # 644s # /** 644s # * OrgProjectCallableIfaceIface: 644s # * @parent_iface: The parent interface. 644s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 644s # * 644s # * Virtual table for the D-Bus interface org.project.CallableIface. 644s # */ 644s # 644s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 644s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 644s # 644s # static void 644s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 644s # { 644s # /* GObject signals for incoming D-Bus method calls: */ 644s # /** 644s # * OrgProjectCallableIface::handle-simple-method: 644s # * @object: A #OrgProjectCallableIface. 644s # * @invocation: A #GDBusMethodInvocation. 644s # * 644s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 644s # * 644s # * 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. 644s # * 644s # * 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. 644s # */ 644s # g_signal_new ("handle-simple-method", 644s # G_TYPE_FROM_INTERFACE (iface), 644s # G_SIGNAL_RUN_LAST, 644s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 644s # g_signal_accumulator_true_handled, 644s # NULL, 644s # org_project_callable_iface_method_marshal_simple_method, 644s # G_TYPE_BOOLEAN, 644s # 1, 644s # G_TYPE_DBUS_METHOD_INVOCATION); 644s # 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_call_simple_method: 644s # * @proxy: A #OrgProjectCallableIfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 644s # * @user_data: User data to pass to @callback. 644s # * 644s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 644s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 644s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 644s # * 644s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 644s # */ 644s # void 644s # org_project_callable_iface_call_simple_method ( 644s # OrgProjectCallableIface *proxy, 644s # GCancellable *cancellable, 644s # GAsyncReadyCallback callback, 644s # gpointer user_data) 644s # { 644s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 644s # "SimpleMethod", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # callback, 644s # user_data); 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_call_simple_method_finish: 644s # * @proxy: A #OrgProjectCallableIfaceProxy. 644s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_callable_iface_call_simple_method_finish ( 644s # OrgProjectCallableIface *proxy, 644s # GAsyncResult *res, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "()"); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_call_simple_method_sync: 644s # * @proxy: A #OrgProjectCallableIfaceProxy. 644s # * @cancellable: (nullable): A #GCancellable or %NULL. 644s # * @error: Return location for error or %NULL. 644s # * 644s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 644s # * 644s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 644s # * 644s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 644s # */ 644s # gboolean 644s # org_project_callable_iface_call_simple_method_sync ( 644s # OrgProjectCallableIface *proxy, 644s # GCancellable *cancellable, 644s # GError **error) 644s # { 644s # GVariant *_ret; 644s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 644s # "SimpleMethod", 644s # g_variant_new ("()"), 644s # G_DBUS_CALL_FLAGS_NONE, 644s # -1, 644s # cancellable, 644s # error); 644s # if (_ret == NULL) 644s # goto _out; 644s # g_variant_get (_ret, 644s # "()"); 644s # g_variant_unref (_ret); 644s # _out: 644s # return _ret != NULL; 644s # } 644s # 644s # /** 644s # * org_project_callable_iface_complete_simple_method: 644s # * @object: A #OrgProjectCallableIface. 644s # * @invocation: (transfer full): A #GDBusMethodInvocation. 644s # * 644s # * 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. 644s # * 644s # * This method will free @invocation, you cannot use it afterwards. 644s # */ 644s # void 644s # org_project_callable_iface_complete_simple_method ( 644s # OrgProjectCallableIface *object G_GNUC_UNUSED, 644s # GDBusMethodInvocation *invocation) 644s # { 644s # g_dbus_method_invocation_return_value (invocation, 644s # g_variant_new ("()")); 644s # } 644s # 644s # /* ------------------------------------------------------------------------ */ 644s # 644s # /** 644s # * OrgProjectCallableIfaceProxy: 644s # * 644s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 644s # */ 644s # 644s # /** 644s # * OrgProjectCallableIfaceProxyClass: 644s # * @parent_class: The parent class. 644s # * 644s # * Class structure for #OrgProjectCallableIfaceProxy. 644s # */ 644s # 644s # struct _OrgProjectCallableIfaceProxyPrivate 644s # { 644s # GData *qdata; 644s # }; 644s # 644s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 644s # 644s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 644s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 644s # 644s # #else 644s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 644s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 644s # 644s # #endif 644s # static void 644s # org_project_callable_iface_proxy_finalize (GObject *object) 644s # { 644s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 644s # g_datalist_clear (&proxy->priv->qdata); 644s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 644s # } 644s # 644s # static void 644s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 644s # guint prop_id G_GNUC_UNUSED, 644s # const GValue *value G_GNUC_UNUSED, 644s # GParamSpec *pspec G_GNUC_UNUSED) 644s # { 644s # } 644s # 644s # static void 644s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 644s # const gchar *sender_name G_GNUC_UNUSED, 644s # const gchar *signal_name, 644s # GVariant *parameters) 644s # { 644s # _ExtendedGDBusSignalInfo *info; 644s # GVariantIter iter; 644s # GVariant *child; 644s # GValue *paramv; 644s # gsize num_params; 644s # gsize n; 644s # guint signal_id; 644s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 644s # if (info == NULL) 644s # return; 644s # num_params = g_variant_n_children (parameters); 644s # paramv = g_new0 (GValue, num_params + 1); 644s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 644s # g_value_set_object (¶mv[0], proxy); 644s # g_variant_iter_init (&iter, parameters); 644s # n = 1; 644s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 644s # { 644s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 644s # if (arg_info->use_gvariant) 644s # { 644s # g_value_init (¶mv[n], G_TYPE_VARIANT); 644s # g_value_set_variant (¶mv[n], child); 644s # n++; 644s # } 644s # else 644s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 644s # g_variant_unref (child); 644s # } 644s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 644s # g_signal_emitv (paramv, signal_id, 0, NULL); 644s # for (n = 0; n < num_params + 1; n++) 644s # g_value_unset (¶mv[n]); 644s # g_free (paramv); 644s # } 644s # 644s # static void 644s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 644s # GVariant *changed_properties, 644s # const gchar *const *invalidated_properties) 644s # { 644s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 644s # guint n; 644s # const gchar *key; 644s # GVariantIter *iter; 644s # _ExtendedGDBusPropertyInfo *info; 644s # g_variant_get (changed_properties, "a{sv}", &iter); 644s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 644s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_callable_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_callable_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_callable_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectCallableIface * 645s # org_project_callable_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_CALLABLE_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_callable_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectCallableIface * 645s # org_project_callable_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_CALLABLE_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_callable_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_callable_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_callable_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectCallableIface * 645s # org_project_callable_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_CALLABLE_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_callable_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectCallableIface * 645s # org_project_callable_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_CALLABLE_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectCallableIfaceSkeleton: 645s # * 645s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectCallableIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectCallableIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectCallableIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_callable_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_callable_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_callable_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 645s # { 645s # _org_project_callable_iface_skeleton_handle_method_call, 645s # _org_project_callable_iface_skeleton_handle_get_property, 645s # _org_project_callable_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_callable_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_callable_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_callable_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectCallableIface * 645s # org_project_callable_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.OtherCallableIface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectOtherCallableIface 645s # * @title: OrgProjectOtherCallableIface 645s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 645s # */ 645s # 645s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 645s # 645s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SimpleMethod", 645s # NULL, 645s # NULL, 645s # NULL 645s # }, 645s # "handle-simple-method", 645s # FALSE 645s # }; 645s # 645s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 645s # { 645s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.OtherCallableIface", 645s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 645s # NULL, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-other-callable-iface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_other_callable_iface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_other_callable_iface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_other_callable_iface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_other_callable_iface_method_marshal_simple_method ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectOtherCallableIface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 645s # */ 645s # 645s # /** 645s # * OrgProjectOtherCallableIfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 645s # */ 645s # 645s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 645s # { 645s # /* GObject signals for incoming D-Bus method calls: */ 645s # /** 645s # * OrgProjectOtherCallableIface::handle-simple-method: 645s # * @object: A #OrgProjectOtherCallableIface. 645s # * @invocation: A #GDBusMethodInvocation. 645s # * 645s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 645s # * 645s # * 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. 645s # * 645s # * 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. 645s # */ 645s # g_signal_new ("handle-simple-method", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 645s # g_signal_accumulator_true_handled, 645s # NULL, 645s # org_project_other_callable_iface_method_marshal_simple_method, 645s # G_TYPE_BOOLEAN, 645s # 1, 645s # G_TYPE_DBUS_METHOD_INVOCATION); 645s # 645s # } 645s # 645s # /** 645s # * org_project_other_callable_iface_call_simple_method: 645s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 645s # * 645s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 645s # */ 645s # void 645s # org_project_other_callable_iface_call_simple_method ( 645s # OrgProjectOtherCallableIface *proxy, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 645s # "SimpleMethod", 645s # g_variant_new ("()"), 645s # G_DBUS_CALL_FLAGS_NONE, 645s # -1, 645s # cancellable, 645s # callback, 645s # user_data); 645s # } 645s # 645s # /** 645s # * org_project_other_callable_iface_call_simple_method_finish: 645s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 645s # * @error: Return location for error or %NULL. 645s # * 645s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 645s # * 645s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 645s # */ 645s # gboolean 645s # org_project_other_callable_iface_call_simple_method_finish ( 645s # OrgProjectOtherCallableIface *proxy, 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GVariant *_ret; 645s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 645s # if (_ret == NULL) 645s # goto _out; 645s # g_variant_get (_ret, 645s # "()"); 645s # g_variant_unref (_ret); 645s # _out: 645s # return _ret != NULL; 645s # } 645s # 645s # /** 645s # * org_project_other_callable_iface_call_simple_method_sync: 645s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL. 645s # * 645s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 645s # * 645s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 645s # */ 645s # gboolean 645s # org_project_other_callable_iface_call_simple_method_sync ( 645s # OrgProjectOtherCallableIface *proxy, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GVariant *_ret; 645s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 645s # "SimpleMethod", 645s # g_variant_new ("()"), 645s # G_DBUS_CALL_FLAGS_NONE, 645s # -1, 645s # cancellable, 645s # error); 645s # if (_ret == NULL) 645s # goto _out; 645s # g_variant_get (_ret, 645s # "()"); 645s # g_variant_unref (_ret); 645s # _out: 645s # return _ret != NULL; 645s # } 645s # 645s # /** 645s # * org_project_other_callable_iface_complete_simple_method: 645s # * @object: A #OrgProjectOtherCallableIface. 645s # * @invocation: (transfer full): A #GDBusMethodInvocation. 645s # * 645s # * 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. 645s # * 645s # * This method will free @invocation, you cannot use it afterwards. 645s # */ 645s # void 645s # org_project_other_callable_iface_complete_simple_method ( 645s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 645s # GDBusMethodInvocation *invocation) 645s # { 645s # g_dbus_method_invocation_return_value (invocation, 645s # g_variant_new ("()")); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectOtherCallableIfaceProxy: 645s # * 645s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectOtherCallableIfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectOtherCallableIfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_other_callable_iface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 645s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 645s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_other_callable_iface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_other_callable_iface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_other_callable_iface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectOtherCallableIface * 645s # org_project_other_callable_iface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_other_callable_iface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectOtherCallableIface * 645s # org_project_other_callable_iface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_other_callable_iface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_other_callable_iface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # 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); 645s # } 645s # 645s # /** 645s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectOtherCallableIface * 645s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectOtherCallableIface * 645s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectOtherCallableIfaceSkeleton: 645s # * 645s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectOtherCallableIfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_other_callable_iface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_other_callable_iface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_other_callable_iface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 645s # { 645s # _org_project_other_callable_iface_skeleton_handle_method_call, 645s # _org_project_other_callable_iface_skeleton_handle_get_property, 645s # _org_project_other_callable_iface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_other_callable_iface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_other_callable_iface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectOtherCallableIface * 645s # org_project_other_callable_iface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 645s # } 645s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 645s # tmpdir: /tmp/tmpos1byynm 645s # codegen: /usr/bin/gdbus-codegen 645s # /tmp/tmpos1byynm/tmpgaj_apeq.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpos1byynm/tmpgaj_apeq.xml', '--output', '-', '--body'] 645s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 645s # Output: /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # static void 645s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint G_GNUC_UNUSED, 645s # void *marshal_data) 645s # { 645s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 645s # (void *data1, 645s # GDBusMethodInvocation *arg_method_invocation, 645s # gboolean arg_arg_b, 645s # void *data2); 645s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 645s # GCClosure *cc = (GCClosure*) closure; 645s # void *data1, *data2; 645s # gboolean v_return; 645s # 645s # g_return_if_fail (return_value != NULL); 645s # g_return_if_fail (n_param_values == 3); 645s # 645s # if (G_CCLOSURE_SWAP_DATA (closure)) 645s # { 645s # data1 = closure->data; 645s # data2 = g_value_peek_pointer (param_values + 0); 645s # } 645s # else 645s # { 645s # data1 = g_value_peek_pointer (param_values + 0); 645s # data2 = closure->data; 645s # } 645s # 645s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 645s # (marshal_data ? marshal_data : cc->callback); 645s # 645s # v_return = 645s # callback (data1, 645s # g_marshal_value_peek_object (param_values + 1), 645s # g_marshal_value_peek_boolean (param_values + 2), 645s # data2); 645s # 645s # g_value_set_boolean (return_value, v_return); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.UsefulInterface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectUsefulInterface 645s # * @title: OrgProjectUsefulInterface 645s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 645s # */ 645s # 645s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_b", 645s # (gchar *) "b", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 645s # { 645s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgMethodB", 645s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "handle-single-arg-method-b", 645s # FALSE 645s # }; 645s # 645s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 645s # { 645s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.UsefulInterface", 645s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 645s # NULL, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-useful-interface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_useful_interface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_useful_interface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_useful_interface_method_marshal_single_arg_method_b ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectUsefulInterface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 645s # */ 645s # 645s # /** 645s # * OrgProjectUsefulInterfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 645s # */ 645s # 645s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 645s # { 645s # /* GObject signals for incoming D-Bus method calls: */ 645s # /** 645s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 645s # * @object: A #OrgProjectUsefulInterface. 645s # * @invocation: A #GDBusMethodInvocation. 645s # * @arg_arg_b: Argument passed by remote caller. 645s # * 645s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 645s # * 645s # * 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. 645s # * 645s # * 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. 645s # */ 645s # g_signal_new ("handle-single-arg-method-b", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 645s # g_signal_accumulator_true_handled, 645s # NULL, 645s # org_project_useful_interface_method_marshal_single_arg_method_b, 645s # G_TYPE_BOOLEAN, 645s # 2, 645s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 645s # 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_call_single_arg_method_b: 645s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 645s # * @arg_arg_b: Argument to pass with the method invocation. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 645s # * 645s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 645s # */ 645s # void 645s # org_project_useful_interface_call_single_arg_method_b ( 645s # OrgProjectUsefulInterface *proxy, 645s # gboolean arg_arg_b, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 645s # "SingleArgMethodB", 645s # g_variant_new ("(b)", 645s # arg_arg_b), 645s # G_DBUS_CALL_FLAGS_NONE, 645s # -1, 645s # cancellable, 645s # callback, 645s # user_data); 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_call_single_arg_method_b_finish: 645s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 645s # * @error: Return location for error or %NULL. 645s # * 645s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 645s # * 645s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 645s # */ 645s # gboolean 645s # org_project_useful_interface_call_single_arg_method_b_finish ( 645s # OrgProjectUsefulInterface *proxy, 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GVariant *_ret; 645s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 645s # if (_ret == NULL) 645s # goto _out; 645s # g_variant_get (_ret, 645s # "()"); 645s # g_variant_unref (_ret); 645s # _out: 645s # return _ret != NULL; 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_call_single_arg_method_b_sync: 645s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 645s # * @arg_arg_b: Argument to pass with the method invocation. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL. 645s # * 645s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 645s # * 645s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 645s # */ 645s # gboolean 645s # org_project_useful_interface_call_single_arg_method_b_sync ( 645s # OrgProjectUsefulInterface *proxy, 645s # gboolean arg_arg_b, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GVariant *_ret; 645s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 645s # "SingleArgMethodB", 645s # g_variant_new ("(b)", 645s # arg_arg_b), 645s # G_DBUS_CALL_FLAGS_NONE, 645s # -1, 645s # cancellable, 645s # error); 645s # if (_ret == NULL) 645s # goto _out; 645s # g_variant_get (_ret, 645s # "()"); 645s # g_variant_unref (_ret); 645s # _out: 645s # return _ret != NULL; 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_complete_single_arg_method_b: 645s # * @object: A #OrgProjectUsefulInterface. 645s # * @invocation: (transfer full): A #GDBusMethodInvocation. 645s # * 645s # * 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. 645s # * 645s # * This method will free @invocation, you cannot use it afterwards. 645s # */ 645s # void 645s # org_project_useful_interface_complete_single_arg_method_b ( 645s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 645s # GDBusMethodInvocation *invocation) 645s # { 645s # g_dbus_method_invocation_return_value (invocation, 645s # g_variant_new ("()")); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectUsefulInterfaceProxy: 645s # * 645s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectUsefulInterfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectUsefulInterfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectUsefulInterfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_useful_interface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 645s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 645s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_useful_interface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # g_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); 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectUsefulInterface * 645s # org_project_useful_interface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectUsefulInterface * 645s # org_project_useful_interface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_useful_interface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_useful_interface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # g_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); 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectUsefulInterface * 645s # org_project_useful_interface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectUsefulInterface * 645s # org_project_useful_interface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectUsefulInterfaceSkeleton: 645s # * 645s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectUsefulInterfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_useful_interface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_useful_interface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_useful_interface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 645s # { 645s # _org_project_useful_interface_skeleton_handle_method_call, 645s # _org_project_useful_interface_skeleton_handle_get_property, 645s # _org_project_useful_interface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_useful_interface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_useful_interface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectUsefulInterface * 645s # org_project_useful_interface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 645s # } 645s # /tmp/tmpos1byynm/tmpv1zowg9b.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpos1byynm/tmpv1zowg9b.xml', '--output', '-', '--body'] 645s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 645s # Output: /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # static void 645s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint G_GNUC_UNUSED, 645s # void *marshal_data) 645s # { 645s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 645s # (void *data1, 645s # GDBusMethodInvocation *arg_method_invocation, 645s # guchar arg_arg_y, 645s # void *data2); 645s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 645s # GCClosure *cc = (GCClosure*) closure; 645s # void *data1, *data2; 645s # gboolean v_return; 645s # 645s # g_return_if_fail (return_value != NULL); 645s # g_return_if_fail (n_param_values == 3); 645s # 645s # if (G_CCLOSURE_SWAP_DATA (closure)) 645s # { 645s # data1 = closure->data; 645s # data2 = g_value_peek_pointer (param_values + 0); 645s # } 645s # else 645s # { 645s # data1 = g_value_peek_pointer (param_values + 0); 645s # data2 = closure->data; 645s # } 645s # 645s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 645s # (marshal_data ? marshal_data : cc->callback); 645s # 645s # v_return = 645s # callback (data1, 645s # g_marshal_value_peek_object (param_values + 1), 645s # g_marshal_value_peek_uchar (param_values + 2), 645s # data2); 645s # 645s # g_value_set_boolean (return_value, v_return); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.UsefulInterface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectUsefulInterface 645s # * @title: OrgProjectUsefulInterface 645s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 645s # */ 645s # 645s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_y", 645s # (gchar *) "y", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 645s # { 645s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgMethodY", 645s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "handle-single-arg-method-y", 645s # FALSE 645s # }; 645s # 645s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 645s # { 645s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.UsefulInterface", 645s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 645s # NULL, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-useful-interface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_useful_interface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_useful_interface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_useful_interface_method_marshal_single_arg_method_y ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectUsefulInterface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 645s # */ 645s # 645s # /** 645s # * OrgProjectUsefulInterfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 645s # */ 645s # 645s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 645s # { 645s # /* GObject signals for incoming D-Bus method calls: */ 645s # /** 645s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 645s # * @object: A #OrgProjectUsefulInterface. 645s # * @invocation: A #GDBusMethodInvocation. 645s # * @arg_arg_y: Argument passed by remote caller. 645s # * 645s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 645s # * 645s # * 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. 645s # * 645s # * 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. 645s # */ 645s # g_signal_new ("handle-single-arg-method-y", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 645s # g_signal_accumulator_true_handled, 645s # NULL, 645s # org_project_useful_interface_method_marshal_single_arg_method_y, 645s # G_TYPE_BOOLEAN, 645s # 2, 645s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 645s # 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_call_single_arg_method_y: 645s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 645s # * @arg_arg_y: Argument to pass with the method invocation. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 645s # * 645s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 645s # */ 645s # void 645s # org_project_useful_interface_call_single_arg_method_y ( 645s # OrgProjectUsefulInterface *proxy, 645s # guchar arg_arg_y, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 645s # "SingleArgMethodY", 645s # g_variant_new ("(y)", 645s # arg_arg_y), 645s # G_DBUS_CALL_FLAGS_NONE, 645s # -1, 645s # cancellable, 645s # callback, 645s # user_data); 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_call_single_arg_method_y_finish: 645s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 645s # * @error: Return location for error or %NULL. 645s # * 645s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 645s # * 645s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 645s # */ 645s # gboolean 645s # org_project_useful_interface_call_single_arg_method_y_finish ( 645s # OrgProjectUsefulInterface *proxy, 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GVariant *_ret; 645s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 645s # if (_ret == NULL) 645s # goto _out; 645s # g_variant_get (_ret, 645s # "()"); 645s # g_variant_unref (_ret); 645s # _out: 645s # return _ret != NULL; 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_call_single_arg_method_y_sync: 645s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 645s # * @arg_arg_y: Argument to pass with the method invocation. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL. 645s # * 645s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 645s # * 645s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 645s # */ 645s # gboolean 645s # org_project_useful_interface_call_single_arg_method_y_sync ( 645s # OrgProjectUsefulInterface *proxy, 645s # guchar arg_arg_y, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GVariant *_ret; 645s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 645s # "SingleArgMethodY", 645s # g_variant_new ("(y)", 645s # arg_arg_y), 645s # G_DBUS_CALL_FLAGS_NONE, 645s # -1, 645s # cancellable, 645s # error); 645s # if (_ret == NULL) 645s # goto _out; 645s # g_variant_get (_ret, 645s # "()"); 645s # g_variant_unref (_ret); 645s # _out: 645s # return _ret != NULL; 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_complete_single_arg_method_y: 645s # * @object: A #OrgProjectUsefulInterface. 645s # * @invocation: (transfer full): A #GDBusMethodInvocation. 645s # * 645s # * 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. 645s # * 645s # * This method will free @invocation, you cannot use it afterwards. 645s # */ 645s # void 645s # org_project_useful_interface_complete_single_arg_method_y ( 645s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 645s # GDBusMethodInvocation *invocation) 645s # { 645s # g_dbus_method_invocation_return_value (invocation, 645s # g_variant_new ("()")); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectUsefulInterfaceProxy: 645s # * 645s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectUsefulInterfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectUsefulInterfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectUsefulInterfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_useful_interface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 645s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 645s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_useful_interface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # g_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); 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectUsefulInterface * 645s # org_project_useful_interface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectUsefulInterface * 645s # org_project_useful_interface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_useful_interface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_useful_interface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # g_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); 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectUsefulInterface * 645s # org_project_useful_interface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectUsefulInterface * 645s # org_project_useful_interface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectUsefulInterfaceSkeleton: 645s # * 645s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectUsefulInterfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_useful_interface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_useful_interface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_useful_interface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 645s # { 645s # _org_project_useful_interface_skeleton_handle_method_call, 645s # _org_project_useful_interface_skeleton_handle_get_property, 645s # _org_project_useful_interface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_useful_interface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_useful_interface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectUsefulInterface * 645s # org_project_useful_interface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 645s # } 645s # /tmp/tmpos1byynm/tmp_5yuzfua.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpos1byynm/tmp_5yuzfua.xml', '--output', '-', '--body'] 645s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 645s # Output: /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # static void 645s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint G_GNUC_UNUSED, 645s # void *marshal_data) 645s # { 645s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 645s # (void *data1, 645s # GDBusMethodInvocation *arg_method_invocation, 645s # gint16 arg_arg_n, 645s # void *data2); 645s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 645s # GCClosure *cc = (GCClosure*) closure; 645s # void *data1, *data2; 645s # gboolean v_return; 645s # 645s # g_return_if_fail (return_value != NULL); 645s # g_return_if_fail (n_param_values == 3); 645s # 645s # if (G_CCLOSURE_SWAP_DATA (closure)) 645s # { 645s # data1 = closure->data; 645s # data2 = g_value_peek_pointer (param_values + 0); 645s # } 645s # else 645s # { 645s # data1 = g_value_peek_pointer (param_values + 0); 645s # data2 = closure->data; 645s # } 645s # 645s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 645s # (marshal_data ? marshal_data : cc->callback); 645s # 645s # v_return = 645s # callback (data1, 645s # g_marshal_value_peek_object (param_values + 1), 645s # g_marshal_value_peek_int (param_values + 2), 645s # data2); 645s # 645s # g_value_set_boolean (return_value, v_return); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.UsefulInterface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectUsefulInterface 645s # * @title: OrgProjectUsefulInterface 645s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 645s # */ 645s # 645s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_n", 645s # (gchar *) "n", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 645s # { 645s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgMethodN", 645s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "handle-single-arg-method-n", 645s # FALSE 645s # }; 645s # 645s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 645s # { 645s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.UsefulInterface", 645s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 645s # NULL, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-useful-interface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_useful_interface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_useful_interface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_useful_interface_method_marshal_single_arg_method_n ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectUsefulInterface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 645s # */ 645s # 645s # /** 645s # * OrgProjectUsefulInterfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 645s # */ 645s # 645s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 645s # { 645s # /* GObject signals for incoming D-Bus method calls: */ 645s # /** 645s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 645s # * @object: A #OrgProjectUsefulInterface. 645s # * @invocation: A #GDBusMethodInvocation. 645s # * @arg_arg_n: Argument passed by remote caller. 645s # * 645s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 645s # * 645s # * 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. 645s # * 645s # * 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. 645s # */ 645s # g_signal_new ("handle-single-arg-method-n", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 645s # g_signal_accumulator_true_handled, 645s # NULL, 645s # org_project_useful_interface_method_marshal_single_arg_method_n, 645s # G_TYPE_BOOLEAN, 645s # 2, 645s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 645s # 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_call_single_arg_method_n: 645s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 645s # * @arg_arg_n: Argument to pass with the method invocation. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 645s # * 645s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 645s # */ 645s # void 645s # org_project_useful_interface_call_single_arg_method_n ( 645s # OrgProjectUsefulInterface *proxy, 645s # gint16 arg_arg_n, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 645s # "SingleArgMethodN", 645s # g_variant_new ("(n)", 645s # arg_arg_n), 645s # G_DBUS_CALL_FLAGS_NONE, 645s # -1, 645s # cancellable, 645s # callback, 645s # user_data); 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_call_single_arg_method_n_finish: 645s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 645s # * @error: Return location for error or %NULL. 645s # * 645s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 645s # * 645s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 645s # */ 645s # gboolean 645s # org_project_useful_interface_call_single_arg_method_n_finish ( 645s # OrgProjectUsefulInterface *proxy, 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GVariant *_ret; 645s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 645s # if (_ret == NULL) 645s # goto _out; 645s # g_variant_get (_ret, 645s # "()"); 645s # g_variant_unref (_ret); 645s # _out: 645s # return _ret != NULL; 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_call_single_arg_method_n_sync: 645s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 645s # * @arg_arg_n: Argument to pass with the method invocation. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL. 645s # * 645s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 645s # * 645s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 645s # */ 645s # gboolean 645s # org_project_useful_interface_call_single_arg_method_n_sync ( 645s # OrgProjectUsefulInterface *proxy, 645s # gint16 arg_arg_n, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GVariant *_ret; 645s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 645s # "SingleArgMethodN", 645s # g_variant_new ("(n)", 645s # arg_arg_n), 645s # G_DBUS_CALL_FLAGS_NONE, 645s # -1, 645s # cancellable, 645s # error); 645s # if (_ret == NULL) 645s # goto _out; 645s # g_variant_get (_ret, 645s # "()"); 645s # g_variant_unref (_ret); 645s # _out: 645s # return _ret != NULL; 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_complete_single_arg_method_n: 645s # * @object: A #OrgProjectUsefulInterface. 645s # * @invocation: (transfer full): A #GDBusMethodInvocation. 645s # * 645s # * 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. 645s # * 645s # * This method will free @invocation, you cannot use it afterwards. 645s # */ 645s # void 645s # org_project_useful_interface_complete_single_arg_method_n ( 645s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 645s # GDBusMethodInvocation *invocation) 645s # { 645s # g_dbus_method_invocation_return_value (invocation, 645s # g_variant_new ("()")); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectUsefulInterfaceProxy: 645s # * 645s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectUsefulInterfaceProxyClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectUsefulInterfaceProxy. 645s # */ 645s # 645s # struct _OrgProjectUsefulInterfaceProxyPrivate 645s # { 645s # GData *qdata; 645s # }; 645s # 645s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 645s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_useful_interface_proxy_finalize (GObject *object) 645s # { 645s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 645s # g_datalist_clear (&proxy->priv->qdata); 645s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 645s # guint prop_id G_GNUC_UNUSED, 645s # const GValue *value G_GNUC_UNUSED, 645s # GParamSpec *pspec G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 645s # const gchar *sender_name G_GNUC_UNUSED, 645s # const gchar *signal_name, 645s # GVariant *parameters) 645s # { 645s # _ExtendedGDBusSignalInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # gsize n; 645s # guint signal_id; 645s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 645s # if (info == NULL) 645s # return; 645s # num_params = g_variant_n_children (parameters); 645s # paramv = g_new0 (GValue, num_params + 1); 645s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 645s # g_value_set_object (¶mv[0], proxy); 645s # g_variant_iter_init (&iter, parameters); 645s # n = 1; 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 645s # g_signal_emitv (paramv, signal_id, 0, NULL); 645s # for (n = 0; n < num_params + 1; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 645s # GVariant *changed_properties, 645s # const gchar *const *invalidated_properties) 645s # { 645s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 645s # guint n; 645s # const gchar *key; 645s # GVariantIter *iter; 645s # _ExtendedGDBusPropertyInfo *info; 645s # g_variant_get (changed_properties, "a{sv}", &iter); 645s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 645s # g_datalist_remove_data (&proxy->priv->qdata, key); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # g_variant_iter_free (iter); 645s # for (n = 0; invalidated_properties[n] != NULL; n++) 645s # { 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 645s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 645s # if (info != NULL) 645s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 645s # } 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 645s # #else 645s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 645s # #endif 645s # 645s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusProxyClass *proxy_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 645s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 645s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 645s # 645s # proxy_class = G_DBUS_PROXY_CLASS (klass); 645s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 645s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_proxy_new: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 645s # * 645s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_useful_interface_proxy_new ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # g_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); 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_proxy_new_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectUsefulInterface * 645s # org_project_useful_interface_proxy_new_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_proxy_new_sync: 645s # * @connection: A #GDBusConnection. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectUsefulInterface * 645s # org_project_useful_interface_proxy_new_sync ( 645s # GDBusConnection *connection, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /** 645s # * org_project_useful_interface_proxy_new_for_bus: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 645s # * 645s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 645s # */ 645s # void 645s # org_project_useful_interface_proxy_new_for_bus ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # g_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); 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_proxy_new_for_bus_finish: 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 645s # * @error: Return location for error or %NULL 645s # * 645s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 645s # * 645s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectUsefulInterface * 645s # org_project_useful_interface_proxy_new_for_bus_finish ( 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GObject *ret; 645s # GObject *source_object; 645s # source_object = g_async_result_get_source_object (res); 645s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 645s # g_object_unref (source_object); 645s # if (ret != NULL) 645s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_proxy_new_for_bus_sync: 645s # * @bus_type: A #GBusType. 645s # * @flags: Flags from the #GDBusProxyFlags enumeration. 645s # * @name: A bus name (well-known or unique). 645s # * @object_path: An object path. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL 645s # * 645s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 645s # * 645s # * The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 645s # * 645s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 645s # */ 645s # OrgProjectUsefulInterface * 645s # org_project_useful_interface_proxy_new_for_bus_sync ( 645s # GBusType bus_type, 645s # GDBusProxyFlags flags, 645s # const gchar *name, 645s # const gchar *object_path, 645s # GCancellable *cancellable, 645s # GError **error) 645s # { 645s # GInitable *ret; 645s # 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); 645s # if (ret != NULL) 645s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 645s # else 645s # return NULL; 645s # } 645s # 645s # 645s # /* ------------------------------------------------------------------------ */ 645s # 645s # /** 645s # * OrgProjectUsefulInterfaceSkeleton: 645s # * 645s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 645s # */ 645s # 645s # /** 645s # * OrgProjectUsefulInterfaceSkeletonClass: 645s # * @parent_class: The parent class. 645s # * 645s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 645s # */ 645s # 645s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 645s # { 645s # GValue *properties; 645s # GList *changed_properties; 645s # GSource *changed_properties_idle_source; 645s # GMainContext *context; 645s # GMutex lock; 645s # }; 645s # 645s # static void 645s # _org_project_useful_interface_skeleton_handle_method_call ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name, 645s # const gchar *method_name, 645s # GVariant *parameters, 645s # GDBusMethodInvocation *invocation, 645s # gpointer user_data) 645s # { 645s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 645s # _ExtendedGDBusMethodInfo *info; 645s # GVariantIter iter; 645s # GVariant *child; 645s # GValue *paramv; 645s # gsize num_params; 645s # guint num_extra; 645s # gsize n; 645s # guint signal_id; 645s # GValue return_value = G_VALUE_INIT; 645s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 645s # g_assert (info != NULL); 645s # num_params = g_variant_n_children (parameters); 645s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 645s # n = 0; 645s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 645s # g_value_set_object (¶mv[n++], skeleton); 645s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 645s # g_value_set_object (¶mv[n++], invocation); 645s # if (info->pass_fdlist) 645s # { 645s # #ifdef G_OS_UNIX 645s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 645s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 645s # #else 645s # g_assert_not_reached (); 645s # #endif 645s # } 645s # g_variant_iter_init (&iter, parameters); 645s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 645s # { 645s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 645s # if (arg_info->use_gvariant) 645s # { 645s # g_value_init (¶mv[n], G_TYPE_VARIANT); 645s # g_value_set_variant (¶mv[n], child); 645s # n++; 645s # } 645s # else 645s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 645s # g_variant_unref (child); 645s # } 645s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 645s # g_value_init (&return_value, G_TYPE_BOOLEAN); 645s # g_signal_emitv (paramv, signal_id, 0, &return_value); 645s # if (!g_value_get_boolean (&return_value)) 645s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 645s # g_value_unset (&return_value); 645s # for (n = 0; n < num_params + num_extra; n++) 645s # g_value_unset (¶mv[n]); 645s # g_free (paramv); 645s # } 645s # 645s # static GVariant * 645s # _org_project_useful_interface_skeleton_handle_get_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # GVariant *ret; 645s # ret = NULL; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # g_value_init (&value, pspec->value_type); 645s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 645s # g_value_unset (&value); 645s # } 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _org_project_useful_interface_skeleton_handle_set_property ( 645s # GDBusConnection *connection G_GNUC_UNUSED, 645s # const gchar *sender G_GNUC_UNUSED, 645s # const gchar *object_path G_GNUC_UNUSED, 645s # const gchar *interface_name G_GNUC_UNUSED, 645s # const gchar *property_name, 645s # GVariant *variant, 645s # GError **error, 645s # gpointer user_data) 645s # { 645s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 645s # GValue value = G_VALUE_INIT; 645s # GParamSpec *pspec; 645s # _ExtendedGDBusPropertyInfo *info; 645s # gboolean ret; 645s # ret = FALSE; 645s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 645s # g_assert (info != NULL); 645s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 645s # if (pspec == NULL) 645s # { 645s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 645s # } 645s # else 645s # { 645s # if (info->use_gvariant) 645s # g_value_set_variant (&value, variant); 645s # else 645s # g_dbus_gvariant_to_gvalue (variant, &value); 645s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 645s # g_value_unset (&value); 645s # ret = TRUE; 645s # } 645s # return ret; 645s # } 645s # 645s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 645s # { 645s # _org_project_useful_interface_skeleton_handle_method_call, 645s # _org_project_useful_interface_skeleton_handle_get_property, 645s # _org_project_useful_interface_skeleton_handle_set_property, 645s # {NULL} 645s # }; 645s # 645s # static GDBusInterfaceInfo * 645s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return org_project_useful_interface_interface_info (); 645s # } 645s # 645s # static GDBusInterfaceVTable * 645s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 645s # { 645s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 645s # } 645s # 645s # static GVariant * 645s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 645s # { 645s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 645s # 645s # GVariantBuilder builder; 645s # guint n; 645s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 645s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 645s # goto out; 645s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 645s # { 645s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 645s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 645s # { 645s # GVariant *value; 645s # 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); 645s # if (value != NULL) 645s # { 645s # g_variant_take_ref (value); 645s # g_variant_builder_add (&builder, "{sv}", info->name, value); 645s # g_variant_unref (value); 645s # } 645s # } 645s # } 645s # out: 645s # return g_variant_builder_end (&builder); 645s # } 645s # 645s # static void 645s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 645s # 645s # #else 645s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 645s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 645s # 645s # #endif 645s # static void 645s # org_project_useful_interface_skeleton_finalize (GObject *object) 645s # { 645s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 645s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 645s # if (skeleton->priv->changed_properties_idle_source != NULL) 645s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 645s # g_main_context_unref (skeleton->priv->context); 645s # g_mutex_clear (&skeleton->priv->lock); 645s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 645s # } 645s # 645s # static void 645s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 645s # { 645s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 645s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 645s # #else 645s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 645s # #endif 645s # 645s # g_mutex_init (&skeleton->priv->lock); 645s # skeleton->priv->context = g_main_context_ref_thread_default (); 645s # } 645s # 645s # static void 645s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 645s # { 645s # GObjectClass *gobject_class; 645s # GDBusInterfaceSkeletonClass *skeleton_class; 645s # 645s # gobject_class = G_OBJECT_CLASS (klass); 645s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 645s # 645s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 645s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 645s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 645s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 645s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 645s # 645s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 645s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 645s # #endif 645s # } 645s # 645s # static void 645s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 645s # { 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_skeleton_new: 645s # * 645s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 645s # * 645s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 645s # */ 645s # OrgProjectUsefulInterface * 645s # org_project_useful_interface_skeleton_new (void) 645s # { 645s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 645s # } 645s # /tmp/tmpos1byynm/tmpggi8xef_.xml: 645s # 645s # 645s # 645s # 645s # 645s # 645s # 645s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpos1byynm/tmpggi8xef_.xml', '--output', '-', '--body'] 645s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 645s # Output: /* 645s # * This file is generated by gdbus-codegen, do not modify it. 645s # * 645s # * The license of this code is the same as for the D-Bus interface description 645s # * it was derived from. Note that it links to GLib, so must comply with the 645s # * LGPL linking clauses. 645s # */ 645s # 645s # #ifdef HAVE_CONFIG_H 645s # # include "config.h" 645s # #endif 645s # 645s # #include 645s # #ifdef G_OS_UNIX 645s # # include 645s # #endif 645s # 645s # #ifdef G_ENABLE_DEBUG 645s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 645s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 645s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 645s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 645s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 645s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 645s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 645s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 645s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 645s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 645s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 645s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 645s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 645s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 645s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 645s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 645s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 645s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 645s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 645s # #else /* !G_ENABLE_DEBUG */ 645s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 645s # * Do not access GValues directly in your code. Instead, use the 645s # * g_value_get_*() functions 645s # */ 645s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 645s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 645s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 645s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 645s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 645s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 645s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 645s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 645s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 645s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 645s # #endif /* !G_ENABLE_DEBUG */ 645s # 645s # typedef struct 645s # { 645s # GDBusArgInfo parent_struct; 645s # gboolean use_gvariant; 645s # } _ExtendedGDBusArgInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusMethodInfo parent_struct; 645s # const gchar *signal_name; 645s # gboolean pass_fdlist; 645s # } _ExtendedGDBusMethodInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusSignalInfo parent_struct; 645s # const gchar *signal_name; 645s # } _ExtendedGDBusSignalInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusPropertyInfo parent_struct; 645s # const gchar *hyphen_name; 645s # guint use_gvariant : 1; 645s # guint emits_changed_signal : 1; 645s # } _ExtendedGDBusPropertyInfo; 645s # 645s # typedef struct 645s # { 645s # GDBusInterfaceInfo parent_struct; 645s # const gchar *hyphen_name; 645s # } _ExtendedGDBusInterfaceInfo; 645s # 645s # typedef struct 645s # { 645s # const _ExtendedGDBusPropertyInfo *info; 645s # guint prop_id; 645s # GValue orig_value; /* the value before the change */ 645s # } ChangedProperty; 645s # 645s # static void 645s # _changed_property_free (ChangedProperty *data) 645s # { 645s # g_value_unset (&data->orig_value); 645s # g_free (data); 645s # } 645s # 645s # static gboolean 645s # _g_strv_equal0 (gchar **a, gchar **b) 645s # { 645s # gboolean ret = FALSE; 645s # guint n; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # if (g_strv_length (a) != g_strv_length (b)) 645s # goto out; 645s # for (n = 0; a[n] != NULL; n++) 645s # if (g_strcmp0 (a[n], b[n]) != 0) 645s # goto out; 645s # ret = TRUE; 645s # out: 645s # return ret; 645s # } 645s # 645s # static gboolean 645s # _g_variant_equal0 (GVariant *a, GVariant *b) 645s # { 645s # gboolean ret = FALSE; 645s # if (a == NULL && b == NULL) 645s # { 645s # ret = TRUE; 645s # goto out; 645s # } 645s # if (a == NULL || b == NULL) 645s # goto out; 645s # ret = g_variant_equal (a, b); 645s # out: 645s # return ret; 645s # } 645s # 645s # G_GNUC_UNUSED static gboolean 645s # _g_value_equal (const GValue *a, const GValue *b) 645s # { 645s # gboolean ret = FALSE; 645s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 645s # switch (G_VALUE_TYPE (a)) 645s # { 645s # case G_TYPE_BOOLEAN: 645s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 645s # break; 645s # case G_TYPE_UCHAR: 645s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 645s # break; 645s # case G_TYPE_INT: 645s # ret = (g_value_get_int (a) == g_value_get_int (b)); 645s # break; 645s # case G_TYPE_UINT: 645s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 645s # break; 645s # case G_TYPE_INT64: 645s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 645s # break; 645s # case G_TYPE_UINT64: 645s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 645s # break; 645s # case G_TYPE_DOUBLE: 645s # { 645s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 645s # gdouble da = g_value_get_double (a); 645s # gdouble db = g_value_get_double (b); 645s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 645s # } 645s # break; 645s # case G_TYPE_STRING: 645s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 645s # break; 645s # case G_TYPE_VARIANT: 645s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 645s # break; 645s # default: 645s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 645s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 645s # else 645s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 645s # break; 645s # } 645s # return ret; 645s # } 645s # 645s # static void 645s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint G_GNUC_UNUSED, 645s # void *marshal_data) 645s # { 645s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 645s # (void *data1, 645s # GDBusMethodInvocation *arg_method_invocation, 645s # guint16 arg_arg_q, 645s # void *data2); 645s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 645s # GCClosure *cc = (GCClosure*) closure; 645s # void *data1, *data2; 645s # gboolean v_return; 645s # 645s # g_return_if_fail (return_value != NULL); 645s # g_return_if_fail (n_param_values == 3); 645s # 645s # if (G_CCLOSURE_SWAP_DATA (closure)) 645s # { 645s # data1 = closure->data; 645s # data2 = g_value_peek_pointer (param_values + 0); 645s # } 645s # else 645s # { 645s # data1 = g_value_peek_pointer (param_values + 0); 645s # data2 = closure->data; 645s # } 645s # 645s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 645s # (marshal_data ? marshal_data : cc->callback); 645s # 645s # v_return = 645s # callback (data1, 645s # g_marshal_value_peek_object (param_values + 1), 645s # g_marshal_value_peek_uint (param_values + 2), 645s # data2); 645s # 645s # g_value_set_boolean (return_value, v_return); 645s # } 645s # 645s # /* ------------------------------------------------------------------------ 645s # * Code for interface org.project.UsefulInterface 645s # * ------------------------------------------------------------------------ 645s # */ 645s # 645s # /** 645s # * SECTION:OrgProjectUsefulInterface 645s # * @title: OrgProjectUsefulInterface 645s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 645s # * 645s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 645s # */ 645s # 645s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 645s # 645s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 645s # { 645s # { 645s # -1, 645s # (gchar *) "arg_q", 645s # (gchar *) "q", 645s # NULL 645s # }, 645s # FALSE 645s # }; 645s # 645s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 645s # { 645s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 645s # { 645s # { 645s # -1, 645s # (gchar *) "SingleArgMethodQ", 645s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 645s # NULL, 645s # NULL 645s # }, 645s # "handle-single-arg-method-q", 645s # FALSE 645s # }; 645s # 645s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 645s # { 645s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 645s # NULL 645s # }; 645s # 645s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 645s # { 645s # { 645s # -1, 645s # (gchar *) "org.project.UsefulInterface", 645s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 645s # NULL, 645s # NULL, 645s # NULL 645s # }, 645s # "org-project-useful-interface", 645s # }; 645s # 645s # 645s # /** 645s # * org_project_useful_interface_interface_info: 645s # * 645s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 645s # * 645s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 645s # */ 645s # GDBusInterfaceInfo * 645s # org_project_useful_interface_interface_info (void) 645s # { 645s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_override_properties: 645s # * @klass: The class structure for a #GObject derived class. 645s # * @property_id_begin: The property id to assign to the first overridden property. 645s # * 645s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 645s # * The properties are overridden in the order they are defined. 645s # * 645s # * Returns: The last property id. 645s # */ 645s # guint 645s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 645s # { 645s # return property_id_begin - 1; 645s # } 645s # 645s # 645s # inline static void 645s # org_project_useful_interface_method_marshal_single_arg_method_q ( 645s # GClosure *closure, 645s # GValue *return_value, 645s # unsigned int n_param_values, 645s # const GValue *param_values, 645s # void *invocation_hint, 645s # void *marshal_data) 645s # { 645s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 645s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 645s # } 645s # 645s # 645s # /** 645s # * OrgProjectUsefulInterface: 645s # * 645s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 645s # */ 645s # 645s # /** 645s # * OrgProjectUsefulInterfaceIface: 645s # * @parent_iface: The parent interface. 645s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 645s # * 645s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 645s # */ 645s # 645s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 645s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 645s # 645s # static void 645s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 645s # { 645s # /* GObject signals for incoming D-Bus method calls: */ 645s # /** 645s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 645s # * @object: A #OrgProjectUsefulInterface. 645s # * @invocation: A #GDBusMethodInvocation. 645s # * @arg_arg_q: Argument passed by remote caller. 645s # * 645s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 645s # * 645s # * 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. 645s # * 645s # * 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. 645s # */ 645s # g_signal_new ("handle-single-arg-method-q", 645s # G_TYPE_FROM_INTERFACE (iface), 645s # G_SIGNAL_RUN_LAST, 645s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 645s # g_signal_accumulator_true_handled, 645s # NULL, 645s # org_project_useful_interface_method_marshal_single_arg_method_q, 645s # G_TYPE_BOOLEAN, 645s # 2, 645s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 645s # 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_call_single_arg_method_q: 645s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 645s # * @arg_arg_q: Argument to pass with the method invocation. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 645s # * @user_data: User data to pass to @callback. 645s # * 645s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 645s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 645s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 645s # * 645s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 645s # */ 645s # void 645s # org_project_useful_interface_call_single_arg_method_q ( 645s # OrgProjectUsefulInterface *proxy, 645s # guint16 arg_arg_q, 645s # GCancellable *cancellable, 645s # GAsyncReadyCallback callback, 645s # gpointer user_data) 645s # { 645s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 645s # "SingleArgMethodQ", 645s # g_variant_new ("(q)", 645s # arg_arg_q), 645s # G_DBUS_CALL_FLAGS_NONE, 645s # -1, 645s # cancellable, 645s # callback, 645s # user_data); 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_call_single_arg_method_q_finish: 645s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 645s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 645s # * @error: Return location for error or %NULL. 645s # * 645s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 645s # * 645s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 645s # */ 645s # gboolean 645s # org_project_useful_interface_call_single_arg_method_q_finish ( 645s # OrgProjectUsefulInterface *proxy, 645s # GAsyncResult *res, 645s # GError **error) 645s # { 645s # GVariant *_ret; 645s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 645s # if (_ret == NULL) 645s # goto _out; 645s # g_variant_get (_ret, 645s # "()"); 645s # g_variant_unref (_ret); 645s # _out: 645s # return _ret != NULL; 645s # } 645s # 645s # /** 645s # * org_project_useful_interface_call_single_arg_method_q_sync: 645s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 645s # * @arg_arg_q: Argument to pass with the method invocation. 645s # * @cancellable: (nullable): A #GCancellable or %NULL. 645s # * @error: Return location for error or %NULL. 645s # * 645s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 645s # * 645s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 645s # * 645s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 645s # */ 645s # gboolean 646s # org_project_useful_interface_call_single_arg_method_q_sync ( 646s # OrgProjectUsefulInterface *proxy, 646s # guint16 arg_arg_q, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 646s # "SingleArgMethodQ", 646s # g_variant_new ("(q)", 646s # arg_arg_q), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_complete_single_arg_method_q: 646s # * @object: A #OrgProjectUsefulInterface. 646s # * @invocation: (transfer full): A #GDBusMethodInvocation. 646s # * 646s # * 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. 646s # * 646s # * This method will free @invocation, you cannot use it afterwards. 646s # */ 646s # void 646s # org_project_useful_interface_complete_single_arg_method_q ( 646s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 646s # GDBusMethodInvocation *invocation) 646s # { 646s # g_dbus_method_invocation_return_value (invocation, 646s # g_variant_new ("()")); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxy: 646s # * 646s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxyClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceProxy. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceProxyPrivate 646s # { 646s # GData *qdata; 646s # }; 646s # 646s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_proxy_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 646s # g_datalist_clear (&proxy->priv->qdata); 646s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # const GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 646s # const gchar *sender_name G_GNUC_UNUSED, 646s # const gchar *signal_name, 646s # GVariant *parameters) 646s # { 646s # _ExtendedGDBusSignalInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # gsize n; 646s # guint signal_id; 646s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 646s # if (info == NULL) 646s # return; 646s # num_params = g_variant_n_children (parameters); 646s # paramv = g_new0 (GValue, num_params + 1); 646s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[0], proxy); 646s # g_variant_iter_init (&iter, parameters); 646s # n = 1; 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_signal_emitv (paramv, signal_id, 0, NULL); 646s # for (n = 0; n < num_params + 1; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 646s # GVariant *changed_properties, 646s # const gchar *const *invalidated_properties) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 646s # guint n; 646s # const gchar *key; 646s # GVariantIter *iter; 646s # _ExtendedGDBusPropertyInfo *info; 646s # g_variant_get (changed_properties, "a{sv}", &iter); 646s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 646s # g_datalist_remove_data (&proxy->priv->qdata, key); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # g_variant_iter_free (iter); 646s # for (n = 0; invalidated_properties[n] != NULL; n++) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 646s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 646s # #else 646s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 646s # #endif 646s # 646s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusProxyClass *proxy_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 646s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 646s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 646s # 646s # proxy_class = G_DBUS_PROXY_CLASS (klass); 646s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 646s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_sync: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_sync: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeleton: 646s # * 646s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeletonClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 646s # { 646s # GValue *properties; 646s # GList *changed_properties; 646s # GSource *changed_properties_idle_source; 646s # GMainContext *context; 646s # GMutex lock; 646s # }; 646s # 646s # static void 646s # _org_project_useful_interface_skeleton_handle_method_call ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name, 646s # const gchar *method_name, 646s # GVariant *parameters, 646s # GDBusMethodInvocation *invocation, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # _ExtendedGDBusMethodInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # guint num_extra; 646s # gsize n; 646s # guint signal_id; 646s # GValue return_value = G_VALUE_INIT; 646s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 646s # g_assert (info != NULL); 646s # num_params = g_variant_n_children (parameters); 646s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 646s # n = 0; 646s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[n++], skeleton); 646s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 646s # g_value_set_object (¶mv[n++], invocation); 646s # if (info->pass_fdlist) 646s # { 646s # #ifdef G_OS_UNIX 646s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 646s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 646s # #else 646s # g_assert_not_reached (); 646s # #endif 646s # } 646s # g_variant_iter_init (&iter, parameters); 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_init (&return_value, G_TYPE_BOOLEAN); 646s # g_signal_emitv (paramv, signal_id, 0, &return_value); 646s # if (!g_value_get_boolean (&return_value)) 646s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 646s # g_value_unset (&return_value); 646s # for (n = 0; n < num_params + num_extra; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static GVariant * 646s # _org_project_useful_interface_skeleton_handle_get_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # GVariant *ret; 646s # ret = NULL; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # g_value_init (&value, pspec->value_type); 646s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 646s # g_value_unset (&value); 646s # } 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _org_project_useful_interface_skeleton_handle_set_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GVariant *variant, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # gboolean ret; 646s # ret = FALSE; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # if (info->use_gvariant) 646s # g_value_set_variant (&value, variant); 646s # else 646s # g_dbus_gvariant_to_gvalue (variant, &value); 646s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # g_value_unset (&value); 646s # ret = TRUE; 646s # } 646s # return ret; 646s # } 646s # 646s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 646s # { 646s # _org_project_useful_interface_skeleton_handle_method_call, 646s # _org_project_useful_interface_skeleton_handle_get_property, 646s # _org_project_useful_interface_skeleton_handle_set_property, 646s # {NULL} 646s # }; 646s # 646s # static GDBusInterfaceInfo * 646s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return org_project_useful_interface_interface_info (); 646s # } 646s # 646s # static GDBusInterfaceVTable * 646s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 646s # } 646s # 646s # static GVariant * 646s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 646s # 646s # GVariantBuilder builder; 646s # guint n; 646s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 646s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 646s # goto out; 646s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 646s # { 646s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 646s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 646s # { 646s # GVariant *value; 646s # 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); 646s # if (value != NULL) 646s # { 646s # g_variant_take_ref (value); 646s # g_variant_builder_add (&builder, "{sv}", info->name, value); 646s # g_variant_unref (value); 646s # } 646s # } 646s # } 646s # out: 646s # return g_variant_builder_end (&builder); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_skeleton_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 646s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 646s # if (skeleton->priv->changed_properties_idle_source != NULL) 646s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 646s # g_main_context_unref (skeleton->priv->context); 646s # g_mutex_clear (&skeleton->priv->lock); 646s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 646s # #else 646s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 646s # #endif 646s # 646s # g_mutex_init (&skeleton->priv->lock); 646s # skeleton->priv->context = g_main_context_ref_thread_default (); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusInterfaceSkeletonClass *skeleton_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 646s # 646s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 646s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 646s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 646s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 646s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_skeleton_new: 646s # * 646s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_skeleton_new (void) 646s # { 646s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 646s # } 646s # /tmp/tmpos1byynm/tmp7qcvmce1.xml: 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpos1byynm/tmp7qcvmce1.xml', '--output', '-', '--body'] 646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 646s # Output: /* 646s # * This file is generated by gdbus-codegen, do not modify it. 646s # * 646s # * The license of this code is the same as for the D-Bus interface description 646s # * it was derived from. Note that it links to GLib, so must comply with the 646s # * LGPL linking clauses. 646s # */ 646s # 646s # #ifdef HAVE_CONFIG_H 646s # # include "config.h" 646s # #endif 646s # 646s # #include 646s # #ifdef G_OS_UNIX 646s # # include 646s # #endif 646s # 646s # #ifdef G_ENABLE_DEBUG 646s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 646s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 646s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 646s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 646s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 646s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 646s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 646s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 646s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 646s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 646s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 646s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 646s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 646s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 646s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 646s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 646s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 646s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 646s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 646s # #else /* !G_ENABLE_DEBUG */ 646s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 646s # * Do not access GValues directly in your code. Instead, use the 646s # * g_value_get_*() functions 646s # */ 646s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 646s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 646s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 646s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 646s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 646s # #endif /* !G_ENABLE_DEBUG */ 646s # 646s # typedef struct 646s # { 646s # GDBusArgInfo parent_struct; 646s # gboolean use_gvariant; 646s # } _ExtendedGDBusArgInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusMethodInfo parent_struct; 646s # const gchar *signal_name; 646s # gboolean pass_fdlist; 646s # } _ExtendedGDBusMethodInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusSignalInfo parent_struct; 646s # const gchar *signal_name; 646s # } _ExtendedGDBusSignalInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusPropertyInfo parent_struct; 646s # const gchar *hyphen_name; 646s # guint use_gvariant : 1; 646s # guint emits_changed_signal : 1; 646s # } _ExtendedGDBusPropertyInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusInterfaceInfo parent_struct; 646s # const gchar *hyphen_name; 646s # } _ExtendedGDBusInterfaceInfo; 646s # 646s # typedef struct 646s # { 646s # const _ExtendedGDBusPropertyInfo *info; 646s # guint prop_id; 646s # GValue orig_value; /* the value before the change */ 646s # } ChangedProperty; 646s # 646s # static void 646s # _changed_property_free (ChangedProperty *data) 646s # { 646s # g_value_unset (&data->orig_value); 646s # g_free (data); 646s # } 646s # 646s # static gboolean 646s # _g_strv_equal0 (gchar **a, gchar **b) 646s # { 646s # gboolean ret = FALSE; 646s # guint n; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # if (g_strv_length (a) != g_strv_length (b)) 646s # goto out; 646s # for (n = 0; a[n] != NULL; n++) 646s # if (g_strcmp0 (a[n], b[n]) != 0) 646s # goto out; 646s # ret = TRUE; 646s # out: 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _g_variant_equal0 (GVariant *a, GVariant *b) 646s # { 646s # gboolean ret = FALSE; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # ret = g_variant_equal (a, b); 646s # out: 646s # return ret; 646s # } 646s # 646s # G_GNUC_UNUSED static gboolean 646s # _g_value_equal (const GValue *a, const GValue *b) 646s # { 646s # gboolean ret = FALSE; 646s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 646s # switch (G_VALUE_TYPE (a)) 646s # { 646s # case G_TYPE_BOOLEAN: 646s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 646s # break; 646s # case G_TYPE_UCHAR: 646s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 646s # break; 646s # case G_TYPE_INT: 646s # ret = (g_value_get_int (a) == g_value_get_int (b)); 646s # break; 646s # case G_TYPE_UINT: 646s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 646s # break; 646s # case G_TYPE_INT64: 646s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 646s # break; 646s # case G_TYPE_UINT64: 646s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 646s # break; 646s # case G_TYPE_DOUBLE: 646s # { 646s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 646s # gdouble da = g_value_get_double (a); 646s # gdouble db = g_value_get_double (b); 646s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 646s # } 646s # break; 646s # case G_TYPE_STRING: 646s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 646s # break; 646s # case G_TYPE_VARIANT: 646s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 646s # break; 646s # default: 646s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 646s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 646s # else 646s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 646s # break; 646s # } 646s # return ret; 646s # } 646s # 646s # static void 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint G_GNUC_UNUSED, 646s # void *marshal_data) 646s # { 646s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 646s # (void *data1, 646s # GDBusMethodInvocation *arg_method_invocation, 646s # gint arg_arg_i, 646s # void *data2); 646s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 646s # GCClosure *cc = (GCClosure*) closure; 646s # void *data1, *data2; 646s # gboolean v_return; 646s # 646s # g_return_if_fail (return_value != NULL); 646s # g_return_if_fail (n_param_values == 3); 646s # 646s # if (G_CCLOSURE_SWAP_DATA (closure)) 646s # { 646s # data1 = closure->data; 646s # data2 = g_value_peek_pointer (param_values + 0); 646s # } 646s # else 646s # { 646s # data1 = g_value_peek_pointer (param_values + 0); 646s # data2 = closure->data; 646s # } 646s # 646s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 646s # (marshal_data ? marshal_data : cc->callback); 646s # 646s # v_return = 646s # callback (data1, 646s # g_marshal_value_peek_object (param_values + 1), 646s # g_marshal_value_peek_int (param_values + 2), 646s # data2); 646s # 646s # g_value_set_boolean (return_value, v_return); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ 646s # * Code for interface org.project.UsefulInterface 646s # * ------------------------------------------------------------------------ 646s # */ 646s # 646s # /** 646s # * SECTION:OrgProjectUsefulInterface 646s # * @title: OrgProjectUsefulInterface 646s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 646s # * 646s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 646s # */ 646s # 646s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 646s # 646s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 646s # { 646s # { 646s # -1, 646s # (gchar *) "arg_i", 646s # (gchar *) "i", 646s # NULL 646s # }, 646s # FALSE 646s # }; 646s # 646s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 646s # { 646s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 646s # { 646s # { 646s # -1, 646s # (gchar *) "SingleArgMethodI", 646s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 646s # NULL, 646s # NULL 646s # }, 646s # "handle-single-arg-method-i", 646s # FALSE 646s # }; 646s # 646s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 646s # { 646s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 646s # { 646s # { 646s # -1, 646s # (gchar *) "org.project.UsefulInterface", 646s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 646s # NULL, 646s # NULL, 646s # NULL 646s # }, 646s # "org-project-useful-interface", 646s # }; 646s # 646s # 646s # /** 646s # * org_project_useful_interface_interface_info: 646s # * 646s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 646s # * 646s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 646s # */ 646s # GDBusInterfaceInfo * 646s # org_project_useful_interface_interface_info (void) 646s # { 646s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_override_properties: 646s # * @klass: The class structure for a #GObject derived class. 646s # * @property_id_begin: The property id to assign to the first overridden property. 646s # * 646s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 646s # * The properties are overridden in the order they are defined. 646s # * 646s # * Returns: The last property id. 646s # */ 646s # guint 646s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 646s # { 646s # return property_id_begin - 1; 646s # } 646s # 646s # 646s # inline static void 646s # org_project_useful_interface_method_marshal_single_arg_method_i ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint, 646s # void *marshal_data) 646s # { 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 646s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 646s # } 646s # 646s # 646s # /** 646s # * OrgProjectUsefulInterface: 646s # * 646s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceIface: 646s # * @parent_iface: The parent interface. 646s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 646s # * 646s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 646s # */ 646s # 646s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 646s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 646s # 646s # static void 646s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 646s # { 646s # /* GObject signals for incoming D-Bus method calls: */ 646s # /** 646s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 646s # * @object: A #OrgProjectUsefulInterface. 646s # * @invocation: A #GDBusMethodInvocation. 646s # * @arg_arg_i: Argument passed by remote caller. 646s # * 646s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 646s # * 646s # * 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. 646s # * 646s # * 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. 646s # */ 646s # g_signal_new ("handle-single-arg-method-i", 646s # G_TYPE_FROM_INTERFACE (iface), 646s # G_SIGNAL_RUN_LAST, 646s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 646s # g_signal_accumulator_true_handled, 646s # NULL, 646s # org_project_useful_interface_method_marshal_single_arg_method_i, 646s # G_TYPE_BOOLEAN, 646s # 2, 646s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 646s # 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_i: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @arg_arg_i: Argument to pass with the method invocation. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 646s # */ 646s # void 646s # org_project_useful_interface_call_single_arg_method_i ( 646s # OrgProjectUsefulInterface *proxy, 646s # gint arg_arg_i, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 646s # "SingleArgMethodI", 646s # g_variant_new ("(i)", 646s # arg_arg_i), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # callback, 646s # user_data); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_i_finish: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_useful_interface_call_single_arg_method_i_finish ( 646s # OrgProjectUsefulInterface *proxy, 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_i_sync: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @arg_arg_i: Argument to pass with the method invocation. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_useful_interface_call_single_arg_method_i_sync ( 646s # OrgProjectUsefulInterface *proxy, 646s # gint arg_arg_i, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 646s # "SingleArgMethodI", 646s # g_variant_new ("(i)", 646s # arg_arg_i), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_complete_single_arg_method_i: 646s # * @object: A #OrgProjectUsefulInterface. 646s # * @invocation: (transfer full): A #GDBusMethodInvocation. 646s # * 646s # * 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. 646s # * 646s # * This method will free @invocation, you cannot use it afterwards. 646s # */ 646s # void 646s # org_project_useful_interface_complete_single_arg_method_i ( 646s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 646s # GDBusMethodInvocation *invocation) 646s # { 646s # g_dbus_method_invocation_return_value (invocation, 646s # g_variant_new ("()")); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxy: 646s # * 646s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxyClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceProxy. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceProxyPrivate 646s # { 646s # GData *qdata; 646s # }; 646s # 646s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_proxy_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 646s # g_datalist_clear (&proxy->priv->qdata); 646s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # const GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 646s # const gchar *sender_name G_GNUC_UNUSED, 646s # const gchar *signal_name, 646s # GVariant *parameters) 646s # { 646s # _ExtendedGDBusSignalInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # gsize n; 646s # guint signal_id; 646s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 646s # if (info == NULL) 646s # return; 646s # num_params = g_variant_n_children (parameters); 646s # paramv = g_new0 (GValue, num_params + 1); 646s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[0], proxy); 646s # g_variant_iter_init (&iter, parameters); 646s # n = 1; 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_signal_emitv (paramv, signal_id, 0, NULL); 646s # for (n = 0; n < num_params + 1; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 646s # GVariant *changed_properties, 646s # const gchar *const *invalidated_properties) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 646s # guint n; 646s # const gchar *key; 646s # GVariantIter *iter; 646s # _ExtendedGDBusPropertyInfo *info; 646s # g_variant_get (changed_properties, "a{sv}", &iter); 646s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 646s # g_datalist_remove_data (&proxy->priv->qdata, key); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # g_variant_iter_free (iter); 646s # for (n = 0; invalidated_properties[n] != NULL; n++) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 646s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 646s # #else 646s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 646s # #endif 646s # 646s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusProxyClass *proxy_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 646s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 646s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 646s # 646s # proxy_class = G_DBUS_PROXY_CLASS (klass); 646s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 646s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_sync: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_sync: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeleton: 646s # * 646s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeletonClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 646s # { 646s # GValue *properties; 646s # GList *changed_properties; 646s # GSource *changed_properties_idle_source; 646s # GMainContext *context; 646s # GMutex lock; 646s # }; 646s # 646s # static void 646s # _org_project_useful_interface_skeleton_handle_method_call ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name, 646s # const gchar *method_name, 646s # GVariant *parameters, 646s # GDBusMethodInvocation *invocation, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # _ExtendedGDBusMethodInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # guint num_extra; 646s # gsize n; 646s # guint signal_id; 646s # GValue return_value = G_VALUE_INIT; 646s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 646s # g_assert (info != NULL); 646s # num_params = g_variant_n_children (parameters); 646s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 646s # n = 0; 646s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[n++], skeleton); 646s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 646s # g_value_set_object (¶mv[n++], invocation); 646s # if (info->pass_fdlist) 646s # { 646s # #ifdef G_OS_UNIX 646s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 646s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 646s # #else 646s # g_assert_not_reached (); 646s # #endif 646s # } 646s # g_variant_iter_init (&iter, parameters); 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_init (&return_value, G_TYPE_BOOLEAN); 646s # g_signal_emitv (paramv, signal_id, 0, &return_value); 646s # if (!g_value_get_boolean (&return_value)) 646s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 646s # g_value_unset (&return_value); 646s # for (n = 0; n < num_params + num_extra; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static GVariant * 646s # _org_project_useful_interface_skeleton_handle_get_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # GVariant *ret; 646s # ret = NULL; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # g_value_init (&value, pspec->value_type); 646s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 646s # g_value_unset (&value); 646s # } 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _org_project_useful_interface_skeleton_handle_set_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GVariant *variant, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # gboolean ret; 646s # ret = FALSE; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # if (info->use_gvariant) 646s # g_value_set_variant (&value, variant); 646s # else 646s # g_dbus_gvariant_to_gvalue (variant, &value); 646s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # g_value_unset (&value); 646s # ret = TRUE; 646s # } 646s # return ret; 646s # } 646s # 646s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 646s # { 646s # _org_project_useful_interface_skeleton_handle_method_call, 646s # _org_project_useful_interface_skeleton_handle_get_property, 646s # _org_project_useful_interface_skeleton_handle_set_property, 646s # {NULL} 646s # }; 646s # 646s # static GDBusInterfaceInfo * 646s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return org_project_useful_interface_interface_info (); 646s # } 646s # 646s # static GDBusInterfaceVTable * 646s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 646s # } 646s # 646s # static GVariant * 646s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 646s # 646s # GVariantBuilder builder; 646s # guint n; 646s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 646s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 646s # goto out; 646s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 646s # { 646s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 646s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 646s # { 646s # GVariant *value; 646s # 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); 646s # if (value != NULL) 646s # { 646s # g_variant_take_ref (value); 646s # g_variant_builder_add (&builder, "{sv}", info->name, value); 646s # g_variant_unref (value); 646s # } 646s # } 646s # } 646s # out: 646s # return g_variant_builder_end (&builder); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_skeleton_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 646s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 646s # if (skeleton->priv->changed_properties_idle_source != NULL) 646s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 646s # g_main_context_unref (skeleton->priv->context); 646s # g_mutex_clear (&skeleton->priv->lock); 646s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 646s # #else 646s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 646s # #endif 646s # 646s # g_mutex_init (&skeleton->priv->lock); 646s # skeleton->priv->context = g_main_context_ref_thread_default (); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusInterfaceSkeletonClass *skeleton_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 646s # 646s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 646s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 646s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 646s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 646s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_skeleton_new: 646s # * 646s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_skeleton_new (void) 646s # { 646s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 646s # } 646s # /tmp/tmpos1byynm/tmp63bjnd30.xml: 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpos1byynm/tmp63bjnd30.xml', '--output', '-', '--body'] 646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 646s # Output: /* 646s # * This file is generated by gdbus-codegen, do not modify it. 646s # * 646s # * The license of this code is the same as for the D-Bus interface description 646s # * it was derived from. Note that it links to GLib, so must comply with the 646s # * LGPL linking clauses. 646s # */ 646s # 646s # #ifdef HAVE_CONFIG_H 646s # # include "config.h" 646s # #endif 646s # 646s # #include 646s # #ifdef G_OS_UNIX 646s # # include 646s # #endif 646s # 646s # #ifdef G_ENABLE_DEBUG 646s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 646s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 646s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 646s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 646s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 646s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 646s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 646s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 646s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 646s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 646s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 646s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 646s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 646s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 646s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 646s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 646s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 646s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 646s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 646s # #else /* !G_ENABLE_DEBUG */ 646s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 646s # * Do not access GValues directly in your code. Instead, use the 646s # * g_value_get_*() functions 646s # */ 646s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 646s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 646s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 646s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 646s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 646s # #endif /* !G_ENABLE_DEBUG */ 646s # 646s # typedef struct 646s # { 646s # GDBusArgInfo parent_struct; 646s # gboolean use_gvariant; 646s # } _ExtendedGDBusArgInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusMethodInfo parent_struct; 646s # const gchar *signal_name; 646s # gboolean pass_fdlist; 646s # } _ExtendedGDBusMethodInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusSignalInfo parent_struct; 646s # const gchar *signal_name; 646s # } _ExtendedGDBusSignalInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusPropertyInfo parent_struct; 646s # const gchar *hyphen_name; 646s # guint use_gvariant : 1; 646s # guint emits_changed_signal : 1; 646s # } _ExtendedGDBusPropertyInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusInterfaceInfo parent_struct; 646s # const gchar *hyphen_name; 646s # } _ExtendedGDBusInterfaceInfo; 646s # 646s # typedef struct 646s # { 646s # const _ExtendedGDBusPropertyInfo *info; 646s # guint prop_id; 646s # GValue orig_value; /* the value before the change */ 646s # } ChangedProperty; 646s # 646s # static void 646s # _changed_property_free (ChangedProperty *data) 646s # { 646s # g_value_unset (&data->orig_value); 646s # g_free (data); 646s # } 646s # 646s # static gboolean 646s # _g_strv_equal0 (gchar **a, gchar **b) 646s # { 646s # gboolean ret = FALSE; 646s # guint n; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # if (g_strv_length (a) != g_strv_length (b)) 646s # goto out; 646s # for (n = 0; a[n] != NULL; n++) 646s # if (g_strcmp0 (a[n], b[n]) != 0) 646s # goto out; 646s # ret = TRUE; 646s # out: 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _g_variant_equal0 (GVariant *a, GVariant *b) 646s # { 646s # gboolean ret = FALSE; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # ret = g_variant_equal (a, b); 646s # out: 646s # return ret; 646s # } 646s # 646s # G_GNUC_UNUSED static gboolean 646s # _g_value_equal (const GValue *a, const GValue *b) 646s # { 646s # gboolean ret = FALSE; 646s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 646s # switch (G_VALUE_TYPE (a)) 646s # { 646s # case G_TYPE_BOOLEAN: 646s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 646s # break; 646s # case G_TYPE_UCHAR: 646s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 646s # break; 646s # case G_TYPE_INT: 646s # ret = (g_value_get_int (a) == g_value_get_int (b)); 646s # break; 646s # case G_TYPE_UINT: 646s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 646s # break; 646s # case G_TYPE_INT64: 646s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 646s # break; 646s # case G_TYPE_UINT64: 646s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 646s # break; 646s # case G_TYPE_DOUBLE: 646s # { 646s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 646s # gdouble da = g_value_get_double (a); 646s # gdouble db = g_value_get_double (b); 646s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 646s # } 646s # break; 646s # case G_TYPE_STRING: 646s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 646s # break; 646s # case G_TYPE_VARIANT: 646s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 646s # break; 646s # default: 646s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 646s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 646s # else 646s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 646s # break; 646s # } 646s # return ret; 646s # } 646s # 646s # static void 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint G_GNUC_UNUSED, 646s # void *marshal_data) 646s # { 646s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 646s # (void *data1, 646s # GDBusMethodInvocation *arg_method_invocation, 646s # guint arg_arg_u, 646s # void *data2); 646s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 646s # GCClosure *cc = (GCClosure*) closure; 646s # void *data1, *data2; 646s # gboolean v_return; 646s # 646s # g_return_if_fail (return_value != NULL); 646s # g_return_if_fail (n_param_values == 3); 646s # 646s # if (G_CCLOSURE_SWAP_DATA (closure)) 646s # { 646s # data1 = closure->data; 646s # data2 = g_value_peek_pointer (param_values + 0); 646s # } 646s # else 646s # { 646s # data1 = g_value_peek_pointer (param_values + 0); 646s # data2 = closure->data; 646s # } 646s # 646s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 646s # (marshal_data ? marshal_data : cc->callback); 646s # 646s # v_return = 646s # callback (data1, 646s # g_marshal_value_peek_object (param_values + 1), 646s # g_marshal_value_peek_uint (param_values + 2), 646s # data2); 646s # 646s # g_value_set_boolean (return_value, v_return); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ 646s # * Code for interface org.project.UsefulInterface 646s # * ------------------------------------------------------------------------ 646s # */ 646s # 646s # /** 646s # * SECTION:OrgProjectUsefulInterface 646s # * @title: OrgProjectUsefulInterface 646s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 646s # * 646s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 646s # */ 646s # 646s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 646s # 646s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 646s # { 646s # { 646s # -1, 646s # (gchar *) "arg_u", 646s # (gchar *) "u", 646s # NULL 646s # }, 646s # FALSE 646s # }; 646s # 646s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 646s # { 646s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 646s # { 646s # { 646s # -1, 646s # (gchar *) "SingleArgMethodU", 646s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 646s # NULL, 646s # NULL 646s # }, 646s # "handle-single-arg-method-u", 646s # FALSE 646s # }; 646s # 646s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 646s # { 646s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 646s # { 646s # { 646s # -1, 646s # (gchar *) "org.project.UsefulInterface", 646s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 646s # NULL, 646s # NULL, 646s # NULL 646s # }, 646s # "org-project-useful-interface", 646s # }; 646s # 646s # 646s # /** 646s # * org_project_useful_interface_interface_info: 646s # * 646s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 646s # * 646s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 646s # */ 646s # GDBusInterfaceInfo * 646s # org_project_useful_interface_interface_info (void) 646s # { 646s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_override_properties: 646s # * @klass: The class structure for a #GObject derived class. 646s # * @property_id_begin: The property id to assign to the first overridden property. 646s # * 646s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 646s # * The properties are overridden in the order they are defined. 646s # * 646s # * Returns: The last property id. 646s # */ 646s # guint 646s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 646s # { 646s # return property_id_begin - 1; 646s # } 646s # 646s # 646s # inline static void 646s # org_project_useful_interface_method_marshal_single_arg_method_u ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint, 646s # void *marshal_data) 646s # { 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 646s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 646s # } 646s # 646s # 646s # /** 646s # * OrgProjectUsefulInterface: 646s # * 646s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceIface: 646s # * @parent_iface: The parent interface. 646s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 646s # * 646s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 646s # */ 646s # 646s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 646s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 646s # 646s # static void 646s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 646s # { 646s # /* GObject signals for incoming D-Bus method calls: */ 646s # /** 646s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 646s # * @object: A #OrgProjectUsefulInterface. 646s # * @invocation: A #GDBusMethodInvocation. 646s # * @arg_arg_u: Argument passed by remote caller. 646s # * 646s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 646s # * 646s # * 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. 646s # * 646s # * 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. 646s # */ 646s # g_signal_new ("handle-single-arg-method-u", 646s # G_TYPE_FROM_INTERFACE (iface), 646s # G_SIGNAL_RUN_LAST, 646s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 646s # g_signal_accumulator_true_handled, 646s # NULL, 646s # org_project_useful_interface_method_marshal_single_arg_method_u, 646s # G_TYPE_BOOLEAN, 646s # 2, 646s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 646s # 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_u: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @arg_arg_u: Argument to pass with the method invocation. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 646s # */ 646s # void 646s # org_project_useful_interface_call_single_arg_method_u ( 646s # OrgProjectUsefulInterface *proxy, 646s # guint arg_arg_u, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 646s # "SingleArgMethodU", 646s # g_variant_new ("(u)", 646s # arg_arg_u), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # callback, 646s # user_data); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_u_finish: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_useful_interface_call_single_arg_method_u_finish ( 646s # OrgProjectUsefulInterface *proxy, 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_u_sync: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @arg_arg_u: Argument to pass with the method invocation. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_useful_interface_call_single_arg_method_u_sync ( 646s # OrgProjectUsefulInterface *proxy, 646s # guint arg_arg_u, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 646s # "SingleArgMethodU", 646s # g_variant_new ("(u)", 646s # arg_arg_u), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_complete_single_arg_method_u: 646s # * @object: A #OrgProjectUsefulInterface. 646s # * @invocation: (transfer full): A #GDBusMethodInvocation. 646s # * 646s # * 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. 646s # * 646s # * This method will free @invocation, you cannot use it afterwards. 646s # */ 646s # void 646s # org_project_useful_interface_complete_single_arg_method_u ( 646s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 646s # GDBusMethodInvocation *invocation) 646s # { 646s # g_dbus_method_invocation_return_value (invocation, 646s # g_variant_new ("()")); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxy: 646s # * 646s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxyClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceProxy. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceProxyPrivate 646s # { 646s # GData *qdata; 646s # }; 646s # 646s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_proxy_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 646s # g_datalist_clear (&proxy->priv->qdata); 646s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # const GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 646s # const gchar *sender_name G_GNUC_UNUSED, 646s # const gchar *signal_name, 646s # GVariant *parameters) 646s # { 646s # _ExtendedGDBusSignalInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # gsize n; 646s # guint signal_id; 646s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 646s # if (info == NULL) 646s # return; 646s # num_params = g_variant_n_children (parameters); 646s # paramv = g_new0 (GValue, num_params + 1); 646s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[0], proxy); 646s # g_variant_iter_init (&iter, parameters); 646s # n = 1; 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_signal_emitv (paramv, signal_id, 0, NULL); 646s # for (n = 0; n < num_params + 1; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 646s # GVariant *changed_properties, 646s # const gchar *const *invalidated_properties) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 646s # guint n; 646s # const gchar *key; 646s # GVariantIter *iter; 646s # _ExtendedGDBusPropertyInfo *info; 646s # g_variant_get (changed_properties, "a{sv}", &iter); 646s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 646s # g_datalist_remove_data (&proxy->priv->qdata, key); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # g_variant_iter_free (iter); 646s # for (n = 0; invalidated_properties[n] != NULL; n++) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 646s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 646s # #else 646s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 646s # #endif 646s # 646s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusProxyClass *proxy_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 646s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 646s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 646s # 646s # proxy_class = G_DBUS_PROXY_CLASS (klass); 646s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 646s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_sync: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_sync: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeleton: 646s # * 646s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeletonClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 646s # { 646s # GValue *properties; 646s # GList *changed_properties; 646s # GSource *changed_properties_idle_source; 646s # GMainContext *context; 646s # GMutex lock; 646s # }; 646s # 646s # static void 646s # _org_project_useful_interface_skeleton_handle_method_call ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name, 646s # const gchar *method_name, 646s # GVariant *parameters, 646s # GDBusMethodInvocation *invocation, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # _ExtendedGDBusMethodInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # guint num_extra; 646s # gsize n; 646s # guint signal_id; 646s # GValue return_value = G_VALUE_INIT; 646s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 646s # g_assert (info != NULL); 646s # num_params = g_variant_n_children (parameters); 646s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 646s # n = 0; 646s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[n++], skeleton); 646s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 646s # g_value_set_object (¶mv[n++], invocation); 646s # if (info->pass_fdlist) 646s # { 646s # #ifdef G_OS_UNIX 646s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 646s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 646s # #else 646s # g_assert_not_reached (); 646s # #endif 646s # } 646s # g_variant_iter_init (&iter, parameters); 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_init (&return_value, G_TYPE_BOOLEAN); 646s # g_signal_emitv (paramv, signal_id, 0, &return_value); 646s # if (!g_value_get_boolean (&return_value)) 646s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 646s # g_value_unset (&return_value); 646s # for (n = 0; n < num_params + num_extra; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static GVariant * 646s # _org_project_useful_interface_skeleton_handle_get_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # GVariant *ret; 646s # ret = NULL; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # g_value_init (&value, pspec->value_type); 646s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 646s # g_value_unset (&value); 646s # } 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _org_project_useful_interface_skeleton_handle_set_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GVariant *variant, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # gboolean ret; 646s # ret = FALSE; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # if (info->use_gvariant) 646s # g_value_set_variant (&value, variant); 646s # else 646s # g_dbus_gvariant_to_gvalue (variant, &value); 646s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # g_value_unset (&value); 646s # ret = TRUE; 646s # } 646s # return ret; 646s # } 646s # 646s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 646s # { 646s # _org_project_useful_interface_skeleton_handle_method_call, 646s # _org_project_useful_interface_skeleton_handle_get_property, 646s # _org_project_useful_interface_skeleton_handle_set_property, 646s # {NULL} 646s # }; 646s # 646s # static GDBusInterfaceInfo * 646s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return org_project_useful_interface_interface_info (); 646s # } 646s # 646s # static GDBusInterfaceVTable * 646s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 646s # } 646s # 646s # static GVariant * 646s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 646s # 646s # GVariantBuilder builder; 646s # guint n; 646s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 646s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 646s # goto out; 646s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 646s # { 646s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 646s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 646s # { 646s # GVariant *value; 646s # 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); 646s # if (value != NULL) 646s # { 646s # g_variant_take_ref (value); 646s # g_variant_builder_add (&builder, "{sv}", info->name, value); 646s # g_variant_unref (value); 646s # } 646s # } 646s # } 646s # out: 646s # return g_variant_builder_end (&builder); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_skeleton_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 646s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 646s # if (skeleton->priv->changed_properties_idle_source != NULL) 646s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 646s # g_main_context_unref (skeleton->priv->context); 646s # g_mutex_clear (&skeleton->priv->lock); 646s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 646s # #else 646s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 646s # #endif 646s # 646s # g_mutex_init (&skeleton->priv->lock); 646s # skeleton->priv->context = g_main_context_ref_thread_default (); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusInterfaceSkeletonClass *skeleton_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 646s # 646s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 646s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 646s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 646s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 646s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_skeleton_new: 646s # * 646s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_skeleton_new (void) 646s # { 646s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 646s # } 646s # /tmp/tmpos1byynm/tmp7e3n9hqp.xml: 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpos1byynm/tmp7e3n9hqp.xml', '--output', '-', '--body'] 646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 646s # Output: /* 646s # * This file is generated by gdbus-codegen, do not modify it. 646s # * 646s # * The license of this code is the same as for the D-Bus interface description 646s # * it was derived from. Note that it links to GLib, so must comply with the 646s # * LGPL linking clauses. 646s # */ 646s # 646s # #ifdef HAVE_CONFIG_H 646s # # include "config.h" 646s # #endif 646s # 646s # #include 646s # #ifdef G_OS_UNIX 646s # # include 646s # #endif 646s # 646s # #ifdef G_ENABLE_DEBUG 646s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 646s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 646s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 646s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 646s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 646s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 646s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 646s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 646s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 646s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 646s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 646s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 646s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 646s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 646s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 646s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 646s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 646s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 646s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 646s # #else /* !G_ENABLE_DEBUG */ 646s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 646s # * Do not access GValues directly in your code. Instead, use the 646s # * g_value_get_*() functions 646s # */ 646s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 646s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 646s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 646s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 646s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 646s # #endif /* !G_ENABLE_DEBUG */ 646s # 646s # typedef struct 646s # { 646s # GDBusArgInfo parent_struct; 646s # gboolean use_gvariant; 646s # } _ExtendedGDBusArgInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusMethodInfo parent_struct; 646s # const gchar *signal_name; 646s # gboolean pass_fdlist; 646s # } _ExtendedGDBusMethodInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusSignalInfo parent_struct; 646s # const gchar *signal_name; 646s # } _ExtendedGDBusSignalInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusPropertyInfo parent_struct; 646s # const gchar *hyphen_name; 646s # guint use_gvariant : 1; 646s # guint emits_changed_signal : 1; 646s # } _ExtendedGDBusPropertyInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusInterfaceInfo parent_struct; 646s # const gchar *hyphen_name; 646s # } _ExtendedGDBusInterfaceInfo; 646s # 646s # typedef struct 646s # { 646s # const _ExtendedGDBusPropertyInfo *info; 646s # guint prop_id; 646s # GValue orig_value; /* the value before the change */ 646s # } ChangedProperty; 646s # 646s # static void 646s # _changed_property_free (ChangedProperty *data) 646s # { 646s # g_value_unset (&data->orig_value); 646s # g_free (data); 646s # } 646s # 646s # static gboolean 646s # _g_strv_equal0 (gchar **a, gchar **b) 646s # { 646s # gboolean ret = FALSE; 646s # guint n; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # if (g_strv_length (a) != g_strv_length (b)) 646s # goto out; 646s # for (n = 0; a[n] != NULL; n++) 646s # if (g_strcmp0 (a[n], b[n]) != 0) 646s # goto out; 646s # ret = TRUE; 646s # out: 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _g_variant_equal0 (GVariant *a, GVariant *b) 646s # { 646s # gboolean ret = FALSE; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # ret = g_variant_equal (a, b); 646s # out: 646s # return ret; 646s # } 646s # 646s # G_GNUC_UNUSED static gboolean 646s # _g_value_equal (const GValue *a, const GValue *b) 646s # { 646s # gboolean ret = FALSE; 646s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 646s # switch (G_VALUE_TYPE (a)) 646s # { 646s # case G_TYPE_BOOLEAN: 646s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 646s # break; 646s # case G_TYPE_UCHAR: 646s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 646s # break; 646s # case G_TYPE_INT: 646s # ret = (g_value_get_int (a) == g_value_get_int (b)); 646s # break; 646s # case G_TYPE_UINT: 646s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 646s # break; 646s # case G_TYPE_INT64: 646s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 646s # break; 646s # case G_TYPE_UINT64: 646s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 646s # break; 646s # case G_TYPE_DOUBLE: 646s # { 646s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 646s # gdouble da = g_value_get_double (a); 646s # gdouble db = g_value_get_double (b); 646s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 646s # } 646s # break; 646s # case G_TYPE_STRING: 646s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 646s # break; 646s # case G_TYPE_VARIANT: 646s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 646s # break; 646s # default: 646s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 646s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 646s # else 646s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 646s # break; 646s # } 646s # return ret; 646s # } 646s # 646s # static void 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint G_GNUC_UNUSED, 646s # void *marshal_data) 646s # { 646s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 646s # (void *data1, 646s # GDBusMethodInvocation *arg_method_invocation, 646s # gint64 arg_arg_x, 646s # void *data2); 646s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 646s # GCClosure *cc = (GCClosure*) closure; 646s # void *data1, *data2; 646s # gboolean v_return; 646s # 646s # g_return_if_fail (return_value != NULL); 646s # g_return_if_fail (n_param_values == 3); 646s # 646s # if (G_CCLOSURE_SWAP_DATA (closure)) 646s # { 646s # data1 = closure->data; 646s # data2 = g_value_peek_pointer (param_values + 0); 646s # } 646s # else 646s # { 646s # data1 = g_value_peek_pointer (param_values + 0); 646s # data2 = closure->data; 646s # } 646s # 646s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 646s # (marshal_data ? marshal_data : cc->callback); 646s # 646s # v_return = 646s # callback (data1, 646s # g_marshal_value_peek_object (param_values + 1), 646s # g_marshal_value_peek_int64 (param_values + 2), 646s # data2); 646s # 646s # g_value_set_boolean (return_value, v_return); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ 646s # * Code for interface org.project.UsefulInterface 646s # * ------------------------------------------------------------------------ 646s # */ 646s # 646s # /** 646s # * SECTION:OrgProjectUsefulInterface 646s # * @title: OrgProjectUsefulInterface 646s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 646s # * 646s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 646s # */ 646s # 646s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 646s # 646s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 646s # { 646s # { 646s # -1, 646s # (gchar *) "arg_x", 646s # (gchar *) "x", 646s # NULL 646s # }, 646s # FALSE 646s # }; 646s # 646s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 646s # { 646s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 646s # { 646s # { 646s # -1, 646s # (gchar *) "SingleArgMethodX", 646s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 646s # NULL, 646s # NULL 646s # }, 646s # "handle-single-arg-method-x", 646s # FALSE 646s # }; 646s # 646s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 646s # { 646s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 646s # { 646s # { 646s # -1, 646s # (gchar *) "org.project.UsefulInterface", 646s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 646s # NULL, 646s # NULL, 646s # NULL 646s # }, 646s # "org-project-useful-interface", 646s # }; 646s # 646s # 646s # /** 646s # * org_project_useful_interface_interface_info: 646s # * 646s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 646s # * 646s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 646s # */ 646s # GDBusInterfaceInfo * 646s # org_project_useful_interface_interface_info (void) 646s # { 646s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_override_properties: 646s # * @klass: The class structure for a #GObject derived class. 646s # * @property_id_begin: The property id to assign to the first overridden property. 646s # * 646s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 646s # * The properties are overridden in the order they are defined. 646s # * 646s # * Returns: The last property id. 646s # */ 646s # guint 646s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 646s # { 646s # return property_id_begin - 1; 646s # } 646s # 646s # 646s # inline static void 646s # org_project_useful_interface_method_marshal_single_arg_method_x ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint, 646s # void *marshal_data) 646s # { 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 646s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 646s # } 646s # 646s # 646s # /** 646s # * OrgProjectUsefulInterface: 646s # * 646s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceIface: 646s # * @parent_iface: The parent interface. 646s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 646s # * 646s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 646s # */ 646s # 646s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 646s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 646s # 646s # static void 646s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 646s # { 646s # /* GObject signals for incoming D-Bus method calls: */ 646s # /** 646s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 646s # * @object: A #OrgProjectUsefulInterface. 646s # * @invocation: A #GDBusMethodInvocation. 646s # * @arg_arg_x: Argument passed by remote caller. 646s # * 646s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 646s # * 646s # * 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. 646s # * 646s # * 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. 646s # */ 646s # g_signal_new ("handle-single-arg-method-x", 646s # G_TYPE_FROM_INTERFACE (iface), 646s # G_SIGNAL_RUN_LAST, 646s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 646s # g_signal_accumulator_true_handled, 646s # NULL, 646s # org_project_useful_interface_method_marshal_single_arg_method_x, 646s # G_TYPE_BOOLEAN, 646s # 2, 646s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 646s # 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_x: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @arg_arg_x: Argument to pass with the method invocation. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 646s # */ 646s # void 646s # org_project_useful_interface_call_single_arg_method_x ( 646s # OrgProjectUsefulInterface *proxy, 646s # gint64 arg_arg_x, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 646s # "SingleArgMethodX", 646s # g_variant_new ("(x)", 646s # arg_arg_x), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # callback, 646s # user_data); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_x_finish: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_useful_interface_call_single_arg_method_x_finish ( 646s # OrgProjectUsefulInterface *proxy, 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_x_sync: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @arg_arg_x: Argument to pass with the method invocation. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_useful_interface_call_single_arg_method_x_sync ( 646s # OrgProjectUsefulInterface *proxy, 646s # gint64 arg_arg_x, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 646s # "SingleArgMethodX", 646s # g_variant_new ("(x)", 646s # arg_arg_x), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_complete_single_arg_method_x: 646s # * @object: A #OrgProjectUsefulInterface. 646s # * @invocation: (transfer full): A #GDBusMethodInvocation. 646s # * 646s # * 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. 646s # * 646s # * This method will free @invocation, you cannot use it afterwards. 646s # */ 646s # void 646s # org_project_useful_interface_complete_single_arg_method_x ( 646s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 646s # GDBusMethodInvocation *invocation) 646s # { 646s # g_dbus_method_invocation_return_value (invocation, 646s # g_variant_new ("()")); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxy: 646s # * 646s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxyClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceProxy. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceProxyPrivate 646s # { 646s # GData *qdata; 646s # }; 646s # 646s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_proxy_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 646s # g_datalist_clear (&proxy->priv->qdata); 646s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # const GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 646s # const gchar *sender_name G_GNUC_UNUSED, 646s # const gchar *signal_name, 646s # GVariant *parameters) 646s # { 646s # _ExtendedGDBusSignalInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # gsize n; 646s # guint signal_id; 646s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 646s # if (info == NULL) 646s # return; 646s # num_params = g_variant_n_children (parameters); 646s # paramv = g_new0 (GValue, num_params + 1); 646s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[0], proxy); 646s # g_variant_iter_init (&iter, parameters); 646s # n = 1; 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_signal_emitv (paramv, signal_id, 0, NULL); 646s # for (n = 0; n < num_params + 1; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 646s # GVariant *changed_properties, 646s # const gchar *const *invalidated_properties) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 646s # guint n; 646s # const gchar *key; 646s # GVariantIter *iter; 646s # _ExtendedGDBusPropertyInfo *info; 646s # g_variant_get (changed_properties, "a{sv}", &iter); 646s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 646s # g_datalist_remove_data (&proxy->priv->qdata, key); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # g_variant_iter_free (iter); 646s # for (n = 0; invalidated_properties[n] != NULL; n++) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 646s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 646s # #else 646s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 646s # #endif 646s # 646s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusProxyClass *proxy_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 646s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 646s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 646s # 646s # proxy_class = G_DBUS_PROXY_CLASS (klass); 646s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 646s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_sync: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_sync: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeleton: 646s # * 646s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeletonClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 646s # { 646s # GValue *properties; 646s # GList *changed_properties; 646s # GSource *changed_properties_idle_source; 646s # GMainContext *context; 646s # GMutex lock; 646s # }; 646s # 646s # static void 646s # _org_project_useful_interface_skeleton_handle_method_call ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name, 646s # const gchar *method_name, 646s # GVariant *parameters, 646s # GDBusMethodInvocation *invocation, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # _ExtendedGDBusMethodInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # guint num_extra; 646s # gsize n; 646s # guint signal_id; 646s # GValue return_value = G_VALUE_INIT; 646s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 646s # g_assert (info != NULL); 646s # num_params = g_variant_n_children (parameters); 646s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 646s # n = 0; 646s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[n++], skeleton); 646s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 646s # g_value_set_object (¶mv[n++], invocation); 646s # if (info->pass_fdlist) 646s # { 646s # #ifdef G_OS_UNIX 646s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 646s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 646s # #else 646s # g_assert_not_reached (); 646s # #endif 646s # } 646s # g_variant_iter_init (&iter, parameters); 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_init (&return_value, G_TYPE_BOOLEAN); 646s # g_signal_emitv (paramv, signal_id, 0, &return_value); 646s # if (!g_value_get_boolean (&return_value)) 646s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 646s # g_value_unset (&return_value); 646s # for (n = 0; n < num_params + num_extra; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static GVariant * 646s # _org_project_useful_interface_skeleton_handle_get_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # GVariant *ret; 646s # ret = NULL; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # g_value_init (&value, pspec->value_type); 646s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 646s # g_value_unset (&value); 646s # } 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _org_project_useful_interface_skeleton_handle_set_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GVariant *variant, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # gboolean ret; 646s # ret = FALSE; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # if (info->use_gvariant) 646s # g_value_set_variant (&value, variant); 646s # else 646s # g_dbus_gvariant_to_gvalue (variant, &value); 646s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # g_value_unset (&value); 646s # ret = TRUE; 646s # } 646s # return ret; 646s # } 646s # 646s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 646s # { 646s # _org_project_useful_interface_skeleton_handle_method_call, 646s # _org_project_useful_interface_skeleton_handle_get_property, 646s # _org_project_useful_interface_skeleton_handle_set_property, 646s # {NULL} 646s # }; 646s # 646s # static GDBusInterfaceInfo * 646s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return org_project_useful_interface_interface_info (); 646s # } 646s # 646s # static GDBusInterfaceVTable * 646s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 646s # } 646s # 646s # static GVariant * 646s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 646s # 646s # GVariantBuilder builder; 646s # guint n; 646s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 646s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 646s # goto out; 646s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 646s # { 646s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 646s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 646s # { 646s # GVariant *value; 646s # 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); 646s # if (value != NULL) 646s # { 646s # g_variant_take_ref (value); 646s # g_variant_builder_add (&builder, "{sv}", info->name, value); 646s # g_variant_unref (value); 646s # } 646s # } 646s # } 646s # out: 646s # return g_variant_builder_end (&builder); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_skeleton_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 646s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 646s # if (skeleton->priv->changed_properties_idle_source != NULL) 646s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 646s # g_main_context_unref (skeleton->priv->context); 646s # g_mutex_clear (&skeleton->priv->lock); 646s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 646s # #else 646s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 646s # #endif 646s # 646s # g_mutex_init (&skeleton->priv->lock); 646s # skeleton->priv->context = g_main_context_ref_thread_default (); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusInterfaceSkeletonClass *skeleton_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 646s # 646s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 646s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 646s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 646s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 646s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_skeleton_new: 646s # * 646s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_skeleton_new (void) 646s # { 646s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 646s # } 646s # /tmp/tmpos1byynm/tmpaj1auomh.xml: 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpos1byynm/tmpaj1auomh.xml', '--output', '-', '--body'] 646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 646s # Output: /* 646s # * This file is generated by gdbus-codegen, do not modify it. 646s # * 646s # * The license of this code is the same as for the D-Bus interface description 646s # * it was derived from. Note that it links to GLib, so must comply with the 646s # * LGPL linking clauses. 646s # */ 646s # 646s # #ifdef HAVE_CONFIG_H 646s # # include "config.h" 646s # #endif 646s # 646s # #include 646s # #ifdef G_OS_UNIX 646s # # include 646s # #endif 646s # 646s # #ifdef G_ENABLE_DEBUG 646s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 646s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 646s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 646s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 646s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 646s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 646s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 646s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 646s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 646s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 646s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 646s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 646s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 646s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 646s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 646s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 646s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 646s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 646s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 646s # #else /* !G_ENABLE_DEBUG */ 646s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 646s # * Do not access GValues directly in your code. Instead, use the 646s # * g_value_get_*() functions 646s # */ 646s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 646s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 646s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 646s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 646s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 646s # #endif /* !G_ENABLE_DEBUG */ 646s # 646s # typedef struct 646s # { 646s # GDBusArgInfo parent_struct; 646s # gboolean use_gvariant; 646s # } _ExtendedGDBusArgInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusMethodInfo parent_struct; 646s # const gchar *signal_name; 646s # gboolean pass_fdlist; 646s # } _ExtendedGDBusMethodInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusSignalInfo parent_struct; 646s # const gchar *signal_name; 646s # } _ExtendedGDBusSignalInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusPropertyInfo parent_struct; 646s # const gchar *hyphen_name; 646s # guint use_gvariant : 1; 646s # guint emits_changed_signal : 1; 646s # } _ExtendedGDBusPropertyInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusInterfaceInfo parent_struct; 646s # const gchar *hyphen_name; 646s # } _ExtendedGDBusInterfaceInfo; 646s # 646s # typedef struct 646s # { 646s # const _ExtendedGDBusPropertyInfo *info; 646s # guint prop_id; 646s # GValue orig_value; /* the value before the change */ 646s # } ChangedProperty; 646s # 646s # static void 646s # _changed_property_free (ChangedProperty *data) 646s # { 646s # g_value_unset (&data->orig_value); 646s # g_free (data); 646s # } 646s # 646s # static gboolean 646s # _g_strv_equal0 (gchar **a, gchar **b) 646s # { 646s # gboolean ret = FALSE; 646s # guint n; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # if (g_strv_length (a) != g_strv_length (b)) 646s # goto out; 646s # for (n = 0; a[n] != NULL; n++) 646s # if (g_strcmp0 (a[n], b[n]) != 0) 646s # goto out; 646s # ret = TRUE; 646s # out: 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _g_variant_equal0 (GVariant *a, GVariant *b) 646s # { 646s # gboolean ret = FALSE; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # ret = g_variant_equal (a, b); 646s # out: 646s # return ret; 646s # } 646s # 646s # G_GNUC_UNUSED static gboolean 646s # _g_value_equal (const GValue *a, const GValue *b) 646s # { 646s # gboolean ret = FALSE; 646s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 646s # switch (G_VALUE_TYPE (a)) 646s # { 646s # case G_TYPE_BOOLEAN: 646s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 646s # break; 646s # case G_TYPE_UCHAR: 646s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 646s # break; 646s # case G_TYPE_INT: 646s # ret = (g_value_get_int (a) == g_value_get_int (b)); 646s # break; 646s # case G_TYPE_UINT: 646s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 646s # break; 646s # case G_TYPE_INT64: 646s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 646s # break; 646s # case G_TYPE_UINT64: 646s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 646s # break; 646s # case G_TYPE_DOUBLE: 646s # { 646s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 646s # gdouble da = g_value_get_double (a); 646s # gdouble db = g_value_get_double (b); 646s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 646s # } 646s # break; 646s # case G_TYPE_STRING: 646s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 646s # break; 646s # case G_TYPE_VARIANT: 646s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 646s # break; 646s # default: 646s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 646s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 646s # else 646s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 646s # break; 646s # } 646s # return ret; 646s # } 646s # 646s # static void 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint G_GNUC_UNUSED, 646s # void *marshal_data) 646s # { 646s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 646s # (void *data1, 646s # GDBusMethodInvocation *arg_method_invocation, 646s # guint64 arg_arg_t, 646s # void *data2); 646s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 646s # GCClosure *cc = (GCClosure*) closure; 646s # void *data1, *data2; 646s # gboolean v_return; 646s # 646s # g_return_if_fail (return_value != NULL); 646s # g_return_if_fail (n_param_values == 3); 646s # 646s # if (G_CCLOSURE_SWAP_DATA (closure)) 646s # { 646s # data1 = closure->data; 646s # data2 = g_value_peek_pointer (param_values + 0); 646s # } 646s # else 646s # { 646s # data1 = g_value_peek_pointer (param_values + 0); 646s # data2 = closure->data; 646s # } 646s # 646s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 646s # (marshal_data ? marshal_data : cc->callback); 646s # 646s # v_return = 646s # callback (data1, 646s # g_marshal_value_peek_object (param_values + 1), 646s # g_marshal_value_peek_uint64 (param_values + 2), 646s # data2); 646s # 646s # g_value_set_boolean (return_value, v_return); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ 646s # * Code for interface org.project.UsefulInterface 646s # * ------------------------------------------------------------------------ 646s # */ 646s # 646s # /** 646s # * SECTION:OrgProjectUsefulInterface 646s # * @title: OrgProjectUsefulInterface 646s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 646s # * 646s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 646s # */ 646s # 646s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 646s # 646s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 646s # { 646s # { 646s # -1, 646s # (gchar *) "arg_t", 646s # (gchar *) "t", 646s # NULL 646s # }, 646s # FALSE 646s # }; 646s # 646s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 646s # { 646s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 646s # { 646s # { 646s # -1, 646s # (gchar *) "SingleArgMethodT", 646s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 646s # NULL, 646s # NULL 646s # }, 646s # "handle-single-arg-method-t", 646s # FALSE 646s # }; 646s # 646s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 646s # { 646s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 646s # { 646s # { 646s # -1, 646s # (gchar *) "org.project.UsefulInterface", 646s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 646s # NULL, 646s # NULL, 646s # NULL 646s # }, 646s # "org-project-useful-interface", 646s # }; 646s # 646s # 646s # /** 646s # * org_project_useful_interface_interface_info: 646s # * 646s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 646s # * 646s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 646s # */ 646s # GDBusInterfaceInfo * 646s # org_project_useful_interface_interface_info (void) 646s # { 646s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_override_properties: 646s # * @klass: The class structure for a #GObject derived class. 646s # * @property_id_begin: The property id to assign to the first overridden property. 646s # * 646s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 646s # * The properties are overridden in the order they are defined. 646s # * 646s # * Returns: The last property id. 646s # */ 646s # guint 646s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 646s # { 646s # return property_id_begin - 1; 646s # } 646s # 646s # 646s # inline static void 646s # org_project_useful_interface_method_marshal_single_arg_method_t ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint, 646s # void *marshal_data) 646s # { 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 646s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 646s # } 646s # 646s # 646s # /** 646s # * OrgProjectUsefulInterface: 646s # * 646s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceIface: 646s # * @parent_iface: The parent interface. 646s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 646s # * 646s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 646s # */ 646s # 646s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 646s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 646s # 646s # static void 646s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 646s # { 646s # /* GObject signals for incoming D-Bus method calls: */ 646s # /** 646s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 646s # * @object: A #OrgProjectUsefulInterface. 646s # * @invocation: A #GDBusMethodInvocation. 646s # * @arg_arg_t: Argument passed by remote caller. 646s # * 646s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 646s # * 646s # * 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. 646s # * 646s # * 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. 646s # */ 646s # g_signal_new ("handle-single-arg-method-t", 646s # G_TYPE_FROM_INTERFACE (iface), 646s # G_SIGNAL_RUN_LAST, 646s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 646s # g_signal_accumulator_true_handled, 646s # NULL, 646s # org_project_useful_interface_method_marshal_single_arg_method_t, 646s # G_TYPE_BOOLEAN, 646s # 2, 646s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 646s # 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_t: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @arg_arg_t: Argument to pass with the method invocation. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 646s # */ 646s # void 646s # org_project_useful_interface_call_single_arg_method_t ( 646s # OrgProjectUsefulInterface *proxy, 646s # guint64 arg_arg_t, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 646s # "SingleArgMethodT", 646s # g_variant_new ("(t)", 646s # arg_arg_t), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # callback, 646s # user_data); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_t_finish: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_useful_interface_call_single_arg_method_t_finish ( 646s # OrgProjectUsefulInterface *proxy, 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_t_sync: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @arg_arg_t: Argument to pass with the method invocation. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_useful_interface_call_single_arg_method_t_sync ( 646s # OrgProjectUsefulInterface *proxy, 646s # guint64 arg_arg_t, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 646s # "SingleArgMethodT", 646s # g_variant_new ("(t)", 646s # arg_arg_t), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_complete_single_arg_method_t: 646s # * @object: A #OrgProjectUsefulInterface. 646s # * @invocation: (transfer full): A #GDBusMethodInvocation. 646s # * 646s # * 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. 646s # * 646s # * This method will free @invocation, you cannot use it afterwards. 646s # */ 646s # void 646s # org_project_useful_interface_complete_single_arg_method_t ( 646s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 646s # GDBusMethodInvocation *invocation) 646s # { 646s # g_dbus_method_invocation_return_value (invocation, 646s # g_variant_new ("()")); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxy: 646s # * 646s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxyClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceProxy. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceProxyPrivate 646s # { 646s # GData *qdata; 646s # }; 646s # 646s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_proxy_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 646s # g_datalist_clear (&proxy->priv->qdata); 646s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # const GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 646s # const gchar *sender_name G_GNUC_UNUSED, 646s # const gchar *signal_name, 646s # GVariant *parameters) 646s # { 646s # _ExtendedGDBusSignalInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # gsize n; 646s # guint signal_id; 646s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 646s # if (info == NULL) 646s # return; 646s # num_params = g_variant_n_children (parameters); 646s # paramv = g_new0 (GValue, num_params + 1); 646s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[0], proxy); 646s # g_variant_iter_init (&iter, parameters); 646s # n = 1; 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_signal_emitv (paramv, signal_id, 0, NULL); 646s # for (n = 0; n < num_params + 1; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 646s # GVariant *changed_properties, 646s # const gchar *const *invalidated_properties) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 646s # guint n; 646s # const gchar *key; 646s # GVariantIter *iter; 646s # _ExtendedGDBusPropertyInfo *info; 646s # g_variant_get (changed_properties, "a{sv}", &iter); 646s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 646s # g_datalist_remove_data (&proxy->priv->qdata, key); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # g_variant_iter_free (iter); 646s # for (n = 0; invalidated_properties[n] != NULL; n++) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 646s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 646s # #else 646s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 646s # #endif 646s # 646s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusProxyClass *proxy_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 646s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 646s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 646s # 646s # proxy_class = G_DBUS_PROXY_CLASS (klass); 646s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 646s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_sync: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_sync: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeleton: 646s # * 646s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeletonClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 646s # { 646s # GValue *properties; 646s # GList *changed_properties; 646s # GSource *changed_properties_idle_source; 646s # GMainContext *context; 646s # GMutex lock; 646s # }; 646s # 646s # static void 646s # _org_project_useful_interface_skeleton_handle_method_call ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name, 646s # const gchar *method_name, 646s # GVariant *parameters, 646s # GDBusMethodInvocation *invocation, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # _ExtendedGDBusMethodInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # guint num_extra; 646s # gsize n; 646s # guint signal_id; 646s # GValue return_value = G_VALUE_INIT; 646s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 646s # g_assert (info != NULL); 646s # num_params = g_variant_n_children (parameters); 646s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 646s # n = 0; 646s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[n++], skeleton); 646s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 646s # g_value_set_object (¶mv[n++], invocation); 646s # if (info->pass_fdlist) 646s # { 646s # #ifdef G_OS_UNIX 646s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 646s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 646s # #else 646s # g_assert_not_reached (); 646s # #endif 646s # } 646s # g_variant_iter_init (&iter, parameters); 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_init (&return_value, G_TYPE_BOOLEAN); 646s # g_signal_emitv (paramv, signal_id, 0, &return_value); 646s # if (!g_value_get_boolean (&return_value)) 646s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 646s # g_value_unset (&return_value); 646s # for (n = 0; n < num_params + num_extra; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static GVariant * 646s # _org_project_useful_interface_skeleton_handle_get_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # GVariant *ret; 646s # ret = NULL; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # g_value_init (&value, pspec->value_type); 646s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 646s # g_value_unset (&value); 646s # } 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _org_project_useful_interface_skeleton_handle_set_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GVariant *variant, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # gboolean ret; 646s # ret = FALSE; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # if (info->use_gvariant) 646s # g_value_set_variant (&value, variant); 646s # else 646s # g_dbus_gvariant_to_gvalue (variant, &value); 646s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # g_value_unset (&value); 646s # ret = TRUE; 646s # } 646s # return ret; 646s # } 646s # 646s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 646s # { 646s # _org_project_useful_interface_skeleton_handle_method_call, 646s # _org_project_useful_interface_skeleton_handle_get_property, 646s # _org_project_useful_interface_skeleton_handle_set_property, 646s # {NULL} 646s # }; 646s # 646s # static GDBusInterfaceInfo * 646s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return org_project_useful_interface_interface_info (); 646s # } 646s # 646s # static GDBusInterfaceVTable * 646s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 646s # } 646s # 646s # static GVariant * 646s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 646s # 646s # GVariantBuilder builder; 646s # guint n; 646s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 646s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 646s # goto out; 646s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 646s # { 646s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 646s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 646s # { 646s # GVariant *value; 646s # 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); 646s # if (value != NULL) 646s # { 646s # g_variant_take_ref (value); 646s # g_variant_builder_add (&builder, "{sv}", info->name, value); 646s # g_variant_unref (value); 646s # } 646s # } 646s # } 646s # out: 646s # return g_variant_builder_end (&builder); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_skeleton_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 646s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 646s # if (skeleton->priv->changed_properties_idle_source != NULL) 646s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 646s # g_main_context_unref (skeleton->priv->context); 646s # g_mutex_clear (&skeleton->priv->lock); 646s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 646s # #else 646s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 646s # #endif 646s # 646s # g_mutex_init (&skeleton->priv->lock); 646s # skeleton->priv->context = g_main_context_ref_thread_default (); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusInterfaceSkeletonClass *skeleton_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 646s # 646s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 646s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 646s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 646s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 646s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_skeleton_new: 646s # * 646s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_skeleton_new (void) 646s # { 646s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 646s # } 646s # /tmp/tmpos1byynm/tmpun_6rd3i.xml: 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpos1byynm/tmpun_6rd3i.xml', '--output', '-', '--body'] 646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 646s # Output: /* 646s # * This file is generated by gdbus-codegen, do not modify it. 646s # * 646s # * The license of this code is the same as for the D-Bus interface description 646s # * it was derived from. Note that it links to GLib, so must comply with the 646s # * LGPL linking clauses. 646s # */ 646s # 646s # #ifdef HAVE_CONFIG_H 646s # # include "config.h" 646s # #endif 646s # 646s # #include 646s # #ifdef G_OS_UNIX 646s # # include 646s # #endif 646s # 646s # #ifdef G_ENABLE_DEBUG 646s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 646s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 646s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 646s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 646s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 646s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 646s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 646s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 646s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 646s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 646s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 646s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 646s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 646s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 646s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 646s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 646s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 646s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 646s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 646s # #else /* !G_ENABLE_DEBUG */ 646s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 646s # * Do not access GValues directly in your code. Instead, use the 646s # * g_value_get_*() functions 646s # */ 646s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 646s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 646s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 646s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 646s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 646s # #endif /* !G_ENABLE_DEBUG */ 646s # 646s # typedef struct 646s # { 646s # GDBusArgInfo parent_struct; 646s # gboolean use_gvariant; 646s # } _ExtendedGDBusArgInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusMethodInfo parent_struct; 646s # const gchar *signal_name; 646s # gboolean pass_fdlist; 646s # } _ExtendedGDBusMethodInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusSignalInfo parent_struct; 646s # const gchar *signal_name; 646s # } _ExtendedGDBusSignalInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusPropertyInfo parent_struct; 646s # const gchar *hyphen_name; 646s # guint use_gvariant : 1; 646s # guint emits_changed_signal : 1; 646s # } _ExtendedGDBusPropertyInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusInterfaceInfo parent_struct; 646s # const gchar *hyphen_name; 646s # } _ExtendedGDBusInterfaceInfo; 646s # 646s # typedef struct 646s # { 646s # const _ExtendedGDBusPropertyInfo *info; 646s # guint prop_id; 646s # GValue orig_value; /* the value before the change */ 646s # } ChangedProperty; 646s # 646s # static void 646s # _changed_property_free (ChangedProperty *data) 646s # { 646s # g_value_unset (&data->orig_value); 646s # g_free (data); 646s # } 646s # 646s # static gboolean 646s # _g_strv_equal0 (gchar **a, gchar **b) 646s # { 646s # gboolean ret = FALSE; 646s # guint n; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # if (g_strv_length (a) != g_strv_length (b)) 646s # goto out; 646s # for (n = 0; a[n] != NULL; n++) 646s # if (g_strcmp0 (a[n], b[n]) != 0) 646s # goto out; 646s # ret = TRUE; 646s # out: 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _g_variant_equal0 (GVariant *a, GVariant *b) 646s # { 646s # gboolean ret = FALSE; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # ret = g_variant_equal (a, b); 646s # out: 646s # return ret; 646s # } 646s # 646s # G_GNUC_UNUSED static gboolean 646s # _g_value_equal (const GValue *a, const GValue *b) 646s # { 646s # gboolean ret = FALSE; 646s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 646s # switch (G_VALUE_TYPE (a)) 646s # { 646s # case G_TYPE_BOOLEAN: 646s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 646s # break; 646s # case G_TYPE_UCHAR: 646s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 646s # break; 646s # case G_TYPE_INT: 646s # ret = (g_value_get_int (a) == g_value_get_int (b)); 646s # break; 646s # case G_TYPE_UINT: 646s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 646s # break; 646s # case G_TYPE_INT64: 646s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 646s # break; 646s # case G_TYPE_UINT64: 646s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 646s # break; 646s # case G_TYPE_DOUBLE: 646s # { 646s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 646s # gdouble da = g_value_get_double (a); 646s # gdouble db = g_value_get_double (b); 646s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 646s # } 646s # break; 646s # case G_TYPE_STRING: 646s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 646s # break; 646s # case G_TYPE_VARIANT: 646s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 646s # break; 646s # default: 646s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 646s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 646s # else 646s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 646s # break; 646s # } 646s # return ret; 646s # } 646s # 646s # static void 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint G_GNUC_UNUSED, 646s # void *marshal_data) 646s # { 646s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 646s # (void *data1, 646s # GDBusMethodInvocation *arg_method_invocation, 646s # gdouble arg_arg_d, 646s # void *data2); 646s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 646s # GCClosure *cc = (GCClosure*) closure; 646s # void *data1, *data2; 646s # gboolean v_return; 646s # 646s # g_return_if_fail (return_value != NULL); 646s # g_return_if_fail (n_param_values == 3); 646s # 646s # if (G_CCLOSURE_SWAP_DATA (closure)) 646s # { 646s # data1 = closure->data; 646s # data2 = g_value_peek_pointer (param_values + 0); 646s # } 646s # else 646s # { 646s # data1 = g_value_peek_pointer (param_values + 0); 646s # data2 = closure->data; 646s # } 646s # 646s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 646s # (marshal_data ? marshal_data : cc->callback); 646s # 646s # v_return = 646s # callback (data1, 646s # g_marshal_value_peek_object (param_values + 1), 646s # g_marshal_value_peek_double (param_values + 2), 646s # data2); 646s # 646s # g_value_set_boolean (return_value, v_return); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ 646s # * Code for interface org.project.UsefulInterface 646s # * ------------------------------------------------------------------------ 646s # */ 646s # 646s # /** 646s # * SECTION:OrgProjectUsefulInterface 646s # * @title: OrgProjectUsefulInterface 646s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 646s # * 646s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 646s # */ 646s # 646s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 646s # 646s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 646s # { 646s # { 646s # -1, 646s # (gchar *) "arg_d", 646s # (gchar *) "d", 646s # NULL 646s # }, 646s # FALSE 646s # }; 646s # 646s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 646s # { 646s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 646s # { 646s # { 646s # -1, 646s # (gchar *) "SingleArgMethodD", 646s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 646s # NULL, 646s # NULL 646s # }, 646s # "handle-single-arg-method-d", 646s # FALSE 646s # }; 646s # 646s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 646s # { 646s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 646s # { 646s # { 646s # -1, 646s # (gchar *) "org.project.UsefulInterface", 646s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 646s # NULL, 646s # NULL, 646s # NULL 646s # }, 646s # "org-project-useful-interface", 646s # }; 646s # 646s # 646s # /** 646s # * org_project_useful_interface_interface_info: 646s # * 646s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 646s # * 646s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 646s # */ 646s # GDBusInterfaceInfo * 646s # org_project_useful_interface_interface_info (void) 646s # { 646s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_override_properties: 646s # * @klass: The class structure for a #GObject derived class. 646s # * @property_id_begin: The property id to assign to the first overridden property. 646s # * 646s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 646s # * The properties are overridden in the order they are defined. 646s # * 646s # * Returns: The last property id. 646s # */ 646s # guint 646s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 646s # { 646s # return property_id_begin - 1; 646s # } 646s # 646s # 646s # inline static void 646s # org_project_useful_interface_method_marshal_single_arg_method_d ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint, 646s # void *marshal_data) 646s # { 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 646s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 646s # } 646s # 646s # 646s # /** 646s # * OrgProjectUsefulInterface: 646s # * 646s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceIface: 646s # * @parent_iface: The parent interface. 646s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 646s # * 646s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 646s # */ 646s # 646s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 646s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 646s # 646s # static void 646s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 646s # { 646s # /* GObject signals for incoming D-Bus method calls: */ 646s # /** 646s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 646s # * @object: A #OrgProjectUsefulInterface. 646s # * @invocation: A #GDBusMethodInvocation. 646s # * @arg_arg_d: Argument passed by remote caller. 646s # * 646s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 646s # * 646s # * 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. 646s # * 646s # * 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. 646s # */ 646s # g_signal_new ("handle-single-arg-method-d", 646s # G_TYPE_FROM_INTERFACE (iface), 646s # G_SIGNAL_RUN_LAST, 646s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 646s # g_signal_accumulator_true_handled, 646s # NULL, 646s # org_project_useful_interface_method_marshal_single_arg_method_d, 646s # G_TYPE_BOOLEAN, 646s # 2, 646s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 646s # 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_d: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @arg_arg_d: Argument to pass with the method invocation. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 646s # */ 646s # void 646s # org_project_useful_interface_call_single_arg_method_d ( 646s # OrgProjectUsefulInterface *proxy, 646s # gdouble arg_arg_d, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 646s # "SingleArgMethodD", 646s # g_variant_new ("(d)", 646s # arg_arg_d), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # callback, 646s # user_data); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_d_finish: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_useful_interface_call_single_arg_method_d_finish ( 646s # OrgProjectUsefulInterface *proxy, 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_d_sync: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @arg_arg_d: Argument to pass with the method invocation. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_useful_interface_call_single_arg_method_d_sync ( 646s # OrgProjectUsefulInterface *proxy, 646s # gdouble arg_arg_d, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 646s # "SingleArgMethodD", 646s # g_variant_new ("(d)", 646s # arg_arg_d), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_complete_single_arg_method_d: 646s # * @object: A #OrgProjectUsefulInterface. 646s # * @invocation: (transfer full): A #GDBusMethodInvocation. 646s # * 646s # * 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. 646s # * 646s # * This method will free @invocation, you cannot use it afterwards. 646s # */ 646s # void 646s # org_project_useful_interface_complete_single_arg_method_d ( 646s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 646s # GDBusMethodInvocation *invocation) 646s # { 646s # g_dbus_method_invocation_return_value (invocation, 646s # g_variant_new ("()")); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxy: 646s # * 646s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxyClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceProxy. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceProxyPrivate 646s # { 646s # GData *qdata; 646s # }; 646s # 646s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_proxy_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 646s # g_datalist_clear (&proxy->priv->qdata); 646s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # const GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 646s # const gchar *sender_name G_GNUC_UNUSED, 646s # const gchar *signal_name, 646s # GVariant *parameters) 646s # { 646s # _ExtendedGDBusSignalInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # gsize n; 646s # guint signal_id; 646s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 646s # if (info == NULL) 646s # return; 646s # num_params = g_variant_n_children (parameters); 646s # paramv = g_new0 (GValue, num_params + 1); 646s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[0], proxy); 646s # g_variant_iter_init (&iter, parameters); 646s # n = 1; 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_signal_emitv (paramv, signal_id, 0, NULL); 646s # for (n = 0; n < num_params + 1; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 646s # GVariant *changed_properties, 646s # const gchar *const *invalidated_properties) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 646s # guint n; 646s # const gchar *key; 646s # GVariantIter *iter; 646s # _ExtendedGDBusPropertyInfo *info; 646s # g_variant_get (changed_properties, "a{sv}", &iter); 646s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 646s # g_datalist_remove_data (&proxy->priv->qdata, key); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # g_variant_iter_free (iter); 646s # for (n = 0; invalidated_properties[n] != NULL; n++) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 646s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 646s # #else 646s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 646s # #endif 646s # 646s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusProxyClass *proxy_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 646s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 646s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 646s # 646s # proxy_class = G_DBUS_PROXY_CLASS (klass); 646s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 646s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_sync: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_sync: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeleton: 646s # * 646s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeletonClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 646s # { 646s # GValue *properties; 646s # GList *changed_properties; 646s # GSource *changed_properties_idle_source; 646s # GMainContext *context; 646s # GMutex lock; 646s # }; 646s # 646s # static void 646s # _org_project_useful_interface_skeleton_handle_method_call ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name, 646s # const gchar *method_name, 646s # GVariant *parameters, 646s # GDBusMethodInvocation *invocation, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # _ExtendedGDBusMethodInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # guint num_extra; 646s # gsize n; 646s # guint signal_id; 646s # GValue return_value = G_VALUE_INIT; 646s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 646s # g_assert (info != NULL); 646s # num_params = g_variant_n_children (parameters); 646s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 646s # n = 0; 646s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[n++], skeleton); 646s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 646s # g_value_set_object (¶mv[n++], invocation); 646s # if (info->pass_fdlist) 646s # { 646s # #ifdef G_OS_UNIX 646s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 646s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 646s # #else 646s # g_assert_not_reached (); 646s # #endif 646s # } 646s # g_variant_iter_init (&iter, parameters); 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_init (&return_value, G_TYPE_BOOLEAN); 646s # g_signal_emitv (paramv, signal_id, 0, &return_value); 646s # if (!g_value_get_boolean (&return_value)) 646s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 646s # g_value_unset (&return_value); 646s # for (n = 0; n < num_params + num_extra; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static GVariant * 646s # _org_project_useful_interface_skeleton_handle_get_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # GVariant *ret; 646s # ret = NULL; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # g_value_init (&value, pspec->value_type); 646s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 646s # g_value_unset (&value); 646s # } 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _org_project_useful_interface_skeleton_handle_set_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GVariant *variant, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # gboolean ret; 646s # ret = FALSE; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # if (info->use_gvariant) 646s # g_value_set_variant (&value, variant); 646s # else 646s # g_dbus_gvariant_to_gvalue (variant, &value); 646s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # g_value_unset (&value); 646s # ret = TRUE; 646s # } 646s # return ret; 646s # } 646s # 646s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 646s # { 646s # _org_project_useful_interface_skeleton_handle_method_call, 646s # _org_project_useful_interface_skeleton_handle_get_property, 646s # _org_project_useful_interface_skeleton_handle_set_property, 646s # {NULL} 646s # }; 646s # 646s # static GDBusInterfaceInfo * 646s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return org_project_useful_interface_interface_info (); 646s # } 646s # 646s # static GDBusInterfaceVTable * 646s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 646s # } 646s # 646s # static GVariant * 646s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 646s # 646s # GVariantBuilder builder; 646s # guint n; 646s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 646s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 646s # goto out; 646s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 646s # { 646s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 646s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 646s # { 646s # GVariant *value; 646s # 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); 646s # if (value != NULL) 646s # { 646s # g_variant_take_ref (value); 646s # g_variant_builder_add (&builder, "{sv}", info->name, value); 646s # g_variant_unref (value); 646s # } 646s # } 646s # } 646s # out: 646s # return g_variant_builder_end (&builder); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_skeleton_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 646s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 646s # if (skeleton->priv->changed_properties_idle_source != NULL) 646s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 646s # g_main_context_unref (skeleton->priv->context); 646s # g_mutex_clear (&skeleton->priv->lock); 646s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 646s # #else 646s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 646s # #endif 646s # 646s # g_mutex_init (&skeleton->priv->lock); 646s # skeleton->priv->context = g_main_context_ref_thread_default (); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusInterfaceSkeletonClass *skeleton_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 646s # 646s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 646s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 646s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 646s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 646s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_skeleton_new: 646s # * 646s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_skeleton_new (void) 646s # { 646s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 646s # } 646s # /tmp/tmpos1byynm/tmpzdk7r6qc.xml: 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpos1byynm/tmpzdk7r6qc.xml', '--output', '-', '--body'] 646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 646s # Output: /* 646s # * This file is generated by gdbus-codegen, do not modify it. 646s # * 646s # * The license of this code is the same as for the D-Bus interface description 646s # * it was derived from. Note that it links to GLib, so must comply with the 646s # * LGPL linking clauses. 646s # */ 646s # 646s # #ifdef HAVE_CONFIG_H 646s # # include "config.h" 646s # #endif 646s # 646s # #include 646s # #ifdef G_OS_UNIX 646s # # include 646s # #endif 646s # 646s # #ifdef G_ENABLE_DEBUG 646s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 646s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 646s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 646s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 646s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 646s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 646s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 646s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 646s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 646s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 646s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 646s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 646s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 646s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 646s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 646s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 646s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 646s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 646s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 646s # #else /* !G_ENABLE_DEBUG */ 646s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 646s # * Do not access GValues directly in your code. Instead, use the 646s # * g_value_get_*() functions 646s # */ 646s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 646s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 646s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 646s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 646s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 646s # #endif /* !G_ENABLE_DEBUG */ 646s # 646s # typedef struct 646s # { 646s # GDBusArgInfo parent_struct; 646s # gboolean use_gvariant; 646s # } _ExtendedGDBusArgInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusMethodInfo parent_struct; 646s # const gchar *signal_name; 646s # gboolean pass_fdlist; 646s # } _ExtendedGDBusMethodInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusSignalInfo parent_struct; 646s # const gchar *signal_name; 646s # } _ExtendedGDBusSignalInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusPropertyInfo parent_struct; 646s # const gchar *hyphen_name; 646s # guint use_gvariant : 1; 646s # guint emits_changed_signal : 1; 646s # } _ExtendedGDBusPropertyInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusInterfaceInfo parent_struct; 646s # const gchar *hyphen_name; 646s # } _ExtendedGDBusInterfaceInfo; 646s # 646s # typedef struct 646s # { 646s # const _ExtendedGDBusPropertyInfo *info; 646s # guint prop_id; 646s # GValue orig_value; /* the value before the change */ 646s # } ChangedProperty; 646s # 646s # static void 646s # _changed_property_free (ChangedProperty *data) 646s # { 646s # g_value_unset (&data->orig_value); 646s # g_free (data); 646s # } 646s # 646s # static gboolean 646s # _g_strv_equal0 (gchar **a, gchar **b) 646s # { 646s # gboolean ret = FALSE; 646s # guint n; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # if (g_strv_length (a) != g_strv_length (b)) 646s # goto out; 646s # for (n = 0; a[n] != NULL; n++) 646s # if (g_strcmp0 (a[n], b[n]) != 0) 646s # goto out; 646s # ret = TRUE; 646s # out: 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _g_variant_equal0 (GVariant *a, GVariant *b) 646s # { 646s # gboolean ret = FALSE; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # ret = g_variant_equal (a, b); 646s # out: 646s # return ret; 646s # } 646s # 646s # G_GNUC_UNUSED static gboolean 646s # _g_value_equal (const GValue *a, const GValue *b) 646s # { 646s # gboolean ret = FALSE; 646s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 646s # switch (G_VALUE_TYPE (a)) 646s # { 646s # case G_TYPE_BOOLEAN: 646s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 646s # break; 646s # case G_TYPE_UCHAR: 646s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 646s # break; 646s # case G_TYPE_INT: 646s # ret = (g_value_get_int (a) == g_value_get_int (b)); 646s # break; 646s # case G_TYPE_UINT: 646s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 646s # break; 646s # case G_TYPE_INT64: 646s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 646s # break; 646s # case G_TYPE_UINT64: 646s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 646s # break; 646s # case G_TYPE_DOUBLE: 646s # { 646s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 646s # gdouble da = g_value_get_double (a); 646s # gdouble db = g_value_get_double (b); 646s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 646s # } 646s # break; 646s # case G_TYPE_STRING: 646s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 646s # break; 646s # case G_TYPE_VARIANT: 646s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 646s # break; 646s # default: 646s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 646s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 646s # else 646s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 646s # break; 646s # } 646s # return ret; 646s # } 646s # 646s # static void 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint G_GNUC_UNUSED, 646s # void *marshal_data) 646s # { 646s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 646s # (void *data1, 646s # GDBusMethodInvocation *arg_method_invocation, 646s # const gchar *arg_arg_s, 646s # void *data2); 646s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 646s # GCClosure *cc = (GCClosure*) closure; 646s # void *data1, *data2; 646s # gboolean v_return; 646s # 646s # g_return_if_fail (return_value != NULL); 646s # g_return_if_fail (n_param_values == 3); 646s # 646s # if (G_CCLOSURE_SWAP_DATA (closure)) 646s # { 646s # data1 = closure->data; 646s # data2 = g_value_peek_pointer (param_values + 0); 646s # } 646s # else 646s # { 646s # data1 = g_value_peek_pointer (param_values + 0); 646s # data2 = closure->data; 646s # } 646s # 646s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 646s # (marshal_data ? marshal_data : cc->callback); 646s # 646s # v_return = 646s # callback (data1, 646s # g_marshal_value_peek_object (param_values + 1), 646s # g_marshal_value_peek_string (param_values + 2), 646s # data2); 646s # 646s # g_value_set_boolean (return_value, v_return); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ 646s # * Code for interface org.project.UsefulInterface 646s # * ------------------------------------------------------------------------ 646s # */ 646s # 646s # /** 646s # * SECTION:OrgProjectUsefulInterface 646s # * @title: OrgProjectUsefulInterface 646s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 646s # * 646s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 646s # */ 646s # 646s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 646s # 646s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 646s # { 646s # { 646s # -1, 646s # (gchar *) "arg_s", 646s # (gchar *) "s", 646s # NULL 646s # }, 646s # FALSE 646s # }; 646s # 646s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 646s # { 646s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 646s # { 646s # { 646s # -1, 646s # (gchar *) "SingleArgMethodS", 646s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 646s # NULL, 646s # NULL 646s # }, 646s # "handle-single-arg-method-s", 646s # FALSE 646s # }; 646s # 646s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 646s # { 646s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 646s # { 646s # { 646s # -1, 646s # (gchar *) "org.project.UsefulInterface", 646s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 646s # NULL, 646s # NULL, 646s # NULL 646s # }, 646s # "org-project-useful-interface", 646s # }; 646s # 646s # 646s # /** 646s # * org_project_useful_interface_interface_info: 646s # * 646s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 646s # * 646s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 646s # */ 646s # GDBusInterfaceInfo * 646s # org_project_useful_interface_interface_info (void) 646s # { 646s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_override_properties: 646s # * @klass: The class structure for a #GObject derived class. 646s # * @property_id_begin: The property id to assign to the first overridden property. 646s # * 646s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 646s # * The properties are overridden in the order they are defined. 646s # * 646s # * Returns: The last property id. 646s # */ 646s # guint 646s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 646s # { 646s # return property_id_begin - 1; 646s # } 646s # 646s # 646s # inline static void 646s # org_project_useful_interface_method_marshal_single_arg_method_s ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint, 646s # void *marshal_data) 646s # { 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 646s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 646s # } 646s # 646s # 646s # /** 646s # * OrgProjectUsefulInterface: 646s # * 646s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceIface: 646s # * @parent_iface: The parent interface. 646s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 646s # * 646s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 646s # */ 646s # 646s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 646s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 646s # 646s # static void 646s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 646s # { 646s # /* GObject signals for incoming D-Bus method calls: */ 646s # /** 646s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 646s # * @object: A #OrgProjectUsefulInterface. 646s # * @invocation: A #GDBusMethodInvocation. 646s # * @arg_arg_s: Argument passed by remote caller. 646s # * 646s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 646s # * 646s # * 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. 646s # * 646s # * 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. 646s # */ 646s # g_signal_new ("handle-single-arg-method-s", 646s # G_TYPE_FROM_INTERFACE (iface), 646s # G_SIGNAL_RUN_LAST, 646s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 646s # g_signal_accumulator_true_handled, 646s # NULL, 646s # org_project_useful_interface_method_marshal_single_arg_method_s, 646s # G_TYPE_BOOLEAN, 646s # 2, 646s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 646s # 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_s: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @arg_arg_s: Argument to pass with the method invocation. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 646s # */ 646s # void 646s # org_project_useful_interface_call_single_arg_method_s ( 646s # OrgProjectUsefulInterface *proxy, 646s # const gchar *arg_arg_s, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 646s # "SingleArgMethodS", 646s # g_variant_new ("(s)", 646s # arg_arg_s), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # callback, 646s # user_data); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_s_finish: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_useful_interface_call_single_arg_method_s_finish ( 646s # OrgProjectUsefulInterface *proxy, 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_s_sync: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @arg_arg_s: Argument to pass with the method invocation. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_useful_interface_call_single_arg_method_s_sync ( 646s # OrgProjectUsefulInterface *proxy, 646s # const gchar *arg_arg_s, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 646s # "SingleArgMethodS", 646s # g_variant_new ("(s)", 646s # arg_arg_s), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_complete_single_arg_method_s: 646s # * @object: A #OrgProjectUsefulInterface. 646s # * @invocation: (transfer full): A #GDBusMethodInvocation. 646s # * 646s # * 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. 646s # * 646s # * This method will free @invocation, you cannot use it afterwards. 646s # */ 646s # void 646s # org_project_useful_interface_complete_single_arg_method_s ( 646s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 646s # GDBusMethodInvocation *invocation) 646s # { 646s # g_dbus_method_invocation_return_value (invocation, 646s # g_variant_new ("()")); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxy: 646s # * 646s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxyClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceProxy. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceProxyPrivate 646s # { 646s # GData *qdata; 646s # }; 646s # 646s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_proxy_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 646s # g_datalist_clear (&proxy->priv->qdata); 646s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # const GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 646s # const gchar *sender_name G_GNUC_UNUSED, 646s # const gchar *signal_name, 646s # GVariant *parameters) 646s # { 646s # _ExtendedGDBusSignalInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # gsize n; 646s # guint signal_id; 646s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 646s # if (info == NULL) 646s # return; 646s # num_params = g_variant_n_children (parameters); 646s # paramv = g_new0 (GValue, num_params + 1); 646s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[0], proxy); 646s # g_variant_iter_init (&iter, parameters); 646s # n = 1; 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_signal_emitv (paramv, signal_id, 0, NULL); 646s # for (n = 0; n < num_params + 1; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 646s # GVariant *changed_properties, 646s # const gchar *const *invalidated_properties) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 646s # guint n; 646s # const gchar *key; 646s # GVariantIter *iter; 646s # _ExtendedGDBusPropertyInfo *info; 646s # g_variant_get (changed_properties, "a{sv}", &iter); 646s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 646s # g_datalist_remove_data (&proxy->priv->qdata, key); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # g_variant_iter_free (iter); 646s # for (n = 0; invalidated_properties[n] != NULL; n++) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 646s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 646s # #else 646s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 646s # #endif 646s # 646s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusProxyClass *proxy_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 646s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 646s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 646s # 646s # proxy_class = G_DBUS_PROXY_CLASS (klass); 646s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 646s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_sync: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_sync: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeleton: 646s # * 646s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeletonClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 646s # { 646s # GValue *properties; 646s # GList *changed_properties; 646s # GSource *changed_properties_idle_source; 646s # GMainContext *context; 646s # GMutex lock; 646s # }; 646s # 646s # static void 646s # _org_project_useful_interface_skeleton_handle_method_call ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name, 646s # const gchar *method_name, 646s # GVariant *parameters, 646s # GDBusMethodInvocation *invocation, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # _ExtendedGDBusMethodInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # guint num_extra; 646s # gsize n; 646s # guint signal_id; 646s # GValue return_value = G_VALUE_INIT; 646s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 646s # g_assert (info != NULL); 646s # num_params = g_variant_n_children (parameters); 646s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 646s # n = 0; 646s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[n++], skeleton); 646s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 646s # g_value_set_object (¶mv[n++], invocation); 646s # if (info->pass_fdlist) 646s # { 646s # #ifdef G_OS_UNIX 646s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 646s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 646s # #else 646s # g_assert_not_reached (); 646s # #endif 646s # } 646s # g_variant_iter_init (&iter, parameters); 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_init (&return_value, G_TYPE_BOOLEAN); 646s # g_signal_emitv (paramv, signal_id, 0, &return_value); 646s # if (!g_value_get_boolean (&return_value)) 646s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 646s # g_value_unset (&return_value); 646s # for (n = 0; n < num_params + num_extra; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static GVariant * 646s # _org_project_useful_interface_skeleton_handle_get_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # GVariant *ret; 646s # ret = NULL; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # g_value_init (&value, pspec->value_type); 646s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 646s # g_value_unset (&value); 646s # } 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _org_project_useful_interface_skeleton_handle_set_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GVariant *variant, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # gboolean ret; 646s # ret = FALSE; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # if (info->use_gvariant) 646s # g_value_set_variant (&value, variant); 646s # else 646s # g_dbus_gvariant_to_gvalue (variant, &value); 646s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # g_value_unset (&value); 646s # ret = TRUE; 646s # } 646s # return ret; 646s # } 646s # 646s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 646s # { 646s # _org_project_useful_interface_skeleton_handle_method_call, 646s # _org_project_useful_interface_skeleton_handle_get_property, 646s # _org_project_useful_interface_skeleton_handle_set_property, 646s # {NULL} 646s # }; 646s # 646s # static GDBusInterfaceInfo * 646s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return org_project_useful_interface_interface_info (); 646s # } 646s # 646s # static GDBusInterfaceVTable * 646s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 646s # } 646s # 646s # static GVariant * 646s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 646s # 646s # GVariantBuilder builder; 646s # guint n; 646s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 646s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 646s # goto out; 646s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 646s # { 646s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 646s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 646s # { 646s # GVariant *value; 646s # 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); 646s # if (value != NULL) 646s # { 646s # g_variant_take_ref (value); 646s # g_variant_builder_add (&builder, "{sv}", info->name, value); 646s # g_variant_unref (value); 646s # } 646s # } 646s # } 646s # out: 646s # return g_variant_builder_end (&builder); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_skeleton_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 646s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 646s # if (skeleton->priv->changed_properties_idle_source != NULL) 646s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 646s # g_main_context_unref (skeleton->priv->context); 646s # g_mutex_clear (&skeleton->priv->lock); 646s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 646s # #else 646s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 646s # #endif 646s # 646s # g_mutex_init (&skeleton->priv->lock); 646s # skeleton->priv->context = g_main_context_ref_thread_default (); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusInterfaceSkeletonClass *skeleton_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 646s # 646s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 646s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 646s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 646s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 646s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_skeleton_new: 646s # * 646s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_skeleton_new (void) 646s # { 646s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 646s # } 646s # /tmp/tmpos1byynm/tmpke8tkeld.xml: 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpos1byynm/tmpke8tkeld.xml', '--output', '-', '--body'] 646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 646s # Output: /* 646s # * This file is generated by gdbus-codegen, do not modify it. 646s # * 646s # * The license of this code is the same as for the D-Bus interface description 646s # * it was derived from. Note that it links to GLib, so must comply with the 646s # * LGPL linking clauses. 646s # */ 646s # 646s # #ifdef HAVE_CONFIG_H 646s # # include "config.h" 646s # #endif 646s # 646s # #include 646s # #ifdef G_OS_UNIX 646s # # include 646s # #endif 646s # 646s # #ifdef G_ENABLE_DEBUG 646s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 646s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 646s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 646s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 646s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 646s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 646s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 646s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 646s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 646s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 646s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 646s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 646s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 646s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 646s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 646s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 646s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 646s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 646s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 646s # #else /* !G_ENABLE_DEBUG */ 646s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 646s # * Do not access GValues directly in your code. Instead, use the 646s # * g_value_get_*() functions 646s # */ 646s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 646s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 646s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 646s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 646s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 646s # #endif /* !G_ENABLE_DEBUG */ 646s # 646s # typedef struct 646s # { 646s # GDBusArgInfo parent_struct; 646s # gboolean use_gvariant; 646s # } _ExtendedGDBusArgInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusMethodInfo parent_struct; 646s # const gchar *signal_name; 646s # gboolean pass_fdlist; 646s # } _ExtendedGDBusMethodInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusSignalInfo parent_struct; 646s # const gchar *signal_name; 646s # } _ExtendedGDBusSignalInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusPropertyInfo parent_struct; 646s # const gchar *hyphen_name; 646s # guint use_gvariant : 1; 646s # guint emits_changed_signal : 1; 646s # } _ExtendedGDBusPropertyInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusInterfaceInfo parent_struct; 646s # const gchar *hyphen_name; 646s # } _ExtendedGDBusInterfaceInfo; 646s # 646s # typedef struct 646s # { 646s # const _ExtendedGDBusPropertyInfo *info; 646s # guint prop_id; 646s # GValue orig_value; /* the value before the change */ 646s # } ChangedProperty; 646s # 646s # static void 646s # _changed_property_free (ChangedProperty *data) 646s # { 646s # g_value_unset (&data->orig_value); 646s # g_free (data); 646s # } 646s # 646s # static gboolean 646s # _g_strv_equal0 (gchar **a, gchar **b) 646s # { 646s # gboolean ret = FALSE; 646s # guint n; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # if (g_strv_length (a) != g_strv_length (b)) 646s # goto out; 646s # for (n = 0; a[n] != NULL; n++) 646s # if (g_strcmp0 (a[n], b[n]) != 0) 646s # goto out; 646s # ret = TRUE; 646s # out: 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _g_variant_equal0 (GVariant *a, GVariant *b) 646s # { 646s # gboolean ret = FALSE; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # ret = g_variant_equal (a, b); 646s # out: 646s # return ret; 646s # } 646s # 646s # G_GNUC_UNUSED static gboolean 646s # _g_value_equal (const GValue *a, const GValue *b) 646s # { 646s # gboolean ret = FALSE; 646s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 646s # switch (G_VALUE_TYPE (a)) 646s # { 646s # case G_TYPE_BOOLEAN: 646s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 646s # break; 646s # case G_TYPE_UCHAR: 646s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 646s # break; 646s # case G_TYPE_INT: 646s # ret = (g_value_get_int (a) == g_value_get_int (b)); 646s # break; 646s # case G_TYPE_UINT: 646s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 646s # break; 646s # case G_TYPE_INT64: 646s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 646s # break; 646s # case G_TYPE_UINT64: 646s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 646s # break; 646s # case G_TYPE_DOUBLE: 646s # { 646s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 646s # gdouble da = g_value_get_double (a); 646s # gdouble db = g_value_get_double (b); 646s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 646s # } 646s # break; 646s # case G_TYPE_STRING: 646s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 646s # break; 646s # case G_TYPE_VARIANT: 646s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 646s # break; 646s # default: 646s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 646s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 646s # else 646s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 646s # break; 646s # } 646s # return ret; 646s # } 646s # 646s # static void 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint G_GNUC_UNUSED, 646s # void *marshal_data) 646s # { 646s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 646s # (void *data1, 646s # GDBusMethodInvocation *arg_method_invocation, 646s # const gchar *arg_arg_o, 646s # void *data2); 646s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 646s # GCClosure *cc = (GCClosure*) closure; 646s # void *data1, *data2; 646s # gboolean v_return; 646s # 646s # g_return_if_fail (return_value != NULL); 646s # g_return_if_fail (n_param_values == 3); 646s # 646s # if (G_CCLOSURE_SWAP_DATA (closure)) 646s # { 646s # data1 = closure->data; 646s # data2 = g_value_peek_pointer (param_values + 0); 646s # } 646s # else 646s # { 646s # data1 = g_value_peek_pointer (param_values + 0); 646s # data2 = closure->data; 646s # } 646s # 646s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 646s # (marshal_data ? marshal_data : cc->callback); 646s # 646s # v_return = 646s # callback (data1, 646s # g_marshal_value_peek_object (param_values + 1), 646s # g_marshal_value_peek_string (param_values + 2), 646s # data2); 646s # 646s # g_value_set_boolean (return_value, v_return); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ 646s # * Code for interface org.project.UsefulInterface 646s # * ------------------------------------------------------------------------ 646s # */ 646s # 646s # /** 646s # * SECTION:OrgProjectUsefulInterface 646s # * @title: OrgProjectUsefulInterface 646s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 646s # * 646s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 646s # */ 646s # 646s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 646s # 646s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 646s # { 646s # { 646s # -1, 646s # (gchar *) "arg_o", 646s # (gchar *) "o", 646s # NULL 646s # }, 646s # FALSE 646s # }; 646s # 646s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 646s # { 646s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 646s # { 646s # { 646s # -1, 646s # (gchar *) "SingleArgMethodO", 646s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 646s # NULL, 646s # NULL 646s # }, 646s # "handle-single-arg-method-o", 646s # FALSE 646s # }; 646s # 646s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 646s # { 646s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 646s # { 646s # { 646s # -1, 646s # (gchar *) "org.project.UsefulInterface", 646s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 646s # NULL, 646s # NULL, 646s # NULL 646s # }, 646s # "org-project-useful-interface", 646s # }; 646s # 646s # 646s # /** 646s # * org_project_useful_interface_interface_info: 646s # * 646s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 646s # * 646s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 646s # */ 646s # GDBusInterfaceInfo * 646s # org_project_useful_interface_interface_info (void) 646s # { 646s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_override_properties: 646s # * @klass: The class structure for a #GObject derived class. 646s # * @property_id_begin: The property id to assign to the first overridden property. 646s # * 646s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 646s # * The properties are overridden in the order they are defined. 646s # * 646s # * Returns: The last property id. 646s # */ 646s # guint 646s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 646s # { 646s # return property_id_begin - 1; 646s # } 646s # 646s # 646s # inline static void 646s # org_project_useful_interface_method_marshal_single_arg_method_o ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint, 646s # void *marshal_data) 646s # { 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 646s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 646s # } 646s # 646s # 646s # /** 646s # * OrgProjectUsefulInterface: 646s # * 646s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceIface: 646s # * @parent_iface: The parent interface. 646s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 646s # * 646s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 646s # */ 646s # 646s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 646s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 646s # 646s # static void 646s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 646s # { 646s # /* GObject signals for incoming D-Bus method calls: */ 646s # /** 646s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 646s # * @object: A #OrgProjectUsefulInterface. 646s # * @invocation: A #GDBusMethodInvocation. 646s # * @arg_arg_o: Argument passed by remote caller. 646s # * 646s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 646s # * 646s # * 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. 646s # * 646s # * 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. 646s # */ 646s # g_signal_new ("handle-single-arg-method-o", 646s # G_TYPE_FROM_INTERFACE (iface), 646s # G_SIGNAL_RUN_LAST, 646s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 646s # g_signal_accumulator_true_handled, 646s # NULL, 646s # org_project_useful_interface_method_marshal_single_arg_method_o, 646s # G_TYPE_BOOLEAN, 646s # 2, 646s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 646s # 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_o: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @arg_arg_o: Argument to pass with the method invocation. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 646s # */ 646s # void 646s # org_project_useful_interface_call_single_arg_method_o ( 646s # OrgProjectUsefulInterface *proxy, 646s # const gchar *arg_arg_o, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 646s # "SingleArgMethodO", 646s # g_variant_new ("(o)", 646s # arg_arg_o), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # callback, 646s # user_data); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_o_finish: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_useful_interface_call_single_arg_method_o_finish ( 646s # OrgProjectUsefulInterface *proxy, 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_o_sync: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @arg_arg_o: Argument to pass with the method invocation. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_useful_interface_call_single_arg_method_o_sync ( 646s # OrgProjectUsefulInterface *proxy, 646s # const gchar *arg_arg_o, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 646s # "SingleArgMethodO", 646s # g_variant_new ("(o)", 646s # arg_arg_o), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_complete_single_arg_method_o: 646s # * @object: A #OrgProjectUsefulInterface. 646s # * @invocation: (transfer full): A #GDBusMethodInvocation. 646s # * 646s # * 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. 646s # * 646s # * This method will free @invocation, you cannot use it afterwards. 646s # */ 646s # void 646s # org_project_useful_interface_complete_single_arg_method_o ( 646s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 646s # GDBusMethodInvocation *invocation) 646s # { 646s # g_dbus_method_invocation_return_value (invocation, 646s # g_variant_new ("()")); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxy: 646s # * 646s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxyClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceProxy. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceProxyPrivate 646s # { 646s # GData *qdata; 646s # }; 646s # 646s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_proxy_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 646s # g_datalist_clear (&proxy->priv->qdata); 646s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # const GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 646s # const gchar *sender_name G_GNUC_UNUSED, 646s # const gchar *signal_name, 646s # GVariant *parameters) 646s # { 646s # _ExtendedGDBusSignalInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # gsize n; 646s # guint signal_id; 646s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 646s # if (info == NULL) 646s # return; 646s # num_params = g_variant_n_children (parameters); 646s # paramv = g_new0 (GValue, num_params + 1); 646s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[0], proxy); 646s # g_variant_iter_init (&iter, parameters); 646s # n = 1; 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_signal_emitv (paramv, signal_id, 0, NULL); 646s # for (n = 0; n < num_params + 1; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 646s # GVariant *changed_properties, 646s # const gchar *const *invalidated_properties) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 646s # guint n; 646s # const gchar *key; 646s # GVariantIter *iter; 646s # _ExtendedGDBusPropertyInfo *info; 646s # g_variant_get (changed_properties, "a{sv}", &iter); 646s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 646s # g_datalist_remove_data (&proxy->priv->qdata, key); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # g_variant_iter_free (iter); 646s # for (n = 0; invalidated_properties[n] != NULL; n++) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 646s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 646s # #else 646s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 646s # #endif 646s # 646s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusProxyClass *proxy_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 646s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 646s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 646s # 646s # proxy_class = G_DBUS_PROXY_CLASS (klass); 646s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 646s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_sync: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_sync: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeleton: 646s # * 646s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeletonClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 646s # { 646s # GValue *properties; 646s # GList *changed_properties; 646s # GSource *changed_properties_idle_source; 646s # GMainContext *context; 646s # GMutex lock; 646s # }; 646s # 646s # static void 646s # _org_project_useful_interface_skeleton_handle_method_call ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name, 646s # const gchar *method_name, 646s # GVariant *parameters, 646s # GDBusMethodInvocation *invocation, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # _ExtendedGDBusMethodInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # guint num_extra; 646s # gsize n; 646s # guint signal_id; 646s # GValue return_value = G_VALUE_INIT; 646s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 646s # g_assert (info != NULL); 646s # num_params = g_variant_n_children (parameters); 646s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 646s # n = 0; 646s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[n++], skeleton); 646s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 646s # g_value_set_object (¶mv[n++], invocation); 646s # if (info->pass_fdlist) 646s # { 646s # #ifdef G_OS_UNIX 646s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 646s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 646s # #else 646s # g_assert_not_reached (); 646s # #endif 646s # } 646s # g_variant_iter_init (&iter, parameters); 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_init (&return_value, G_TYPE_BOOLEAN); 646s # g_signal_emitv (paramv, signal_id, 0, &return_value); 646s # if (!g_value_get_boolean (&return_value)) 646s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 646s # g_value_unset (&return_value); 646s # for (n = 0; n < num_params + num_extra; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static GVariant * 646s # _org_project_useful_interface_skeleton_handle_get_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # GVariant *ret; 646s # ret = NULL; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # g_value_init (&value, pspec->value_type); 646s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 646s # g_value_unset (&value); 646s # } 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _org_project_useful_interface_skeleton_handle_set_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GVariant *variant, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # gboolean ret; 646s # ret = FALSE; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # if (info->use_gvariant) 646s # g_value_set_variant (&value, variant); 646s # else 646s # g_dbus_gvariant_to_gvalue (variant, &value); 646s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # g_value_unset (&value); 646s # ret = TRUE; 646s # } 646s # return ret; 646s # } 646s # 646s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 646s # { 646s # _org_project_useful_interface_skeleton_handle_method_call, 646s # _org_project_useful_interface_skeleton_handle_get_property, 646s # _org_project_useful_interface_skeleton_handle_set_property, 646s # {NULL} 646s # }; 646s # 646s # static GDBusInterfaceInfo * 646s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return org_project_useful_interface_interface_info (); 646s # } 646s # 646s # static GDBusInterfaceVTable * 646s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 646s # } 646s # 646s # static GVariant * 646s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 646s # 646s # GVariantBuilder builder; 646s # guint n; 646s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 646s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 646s # goto out; 646s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 646s # { 646s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 646s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 646s # { 646s # GVariant *value; 646s # 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); 646s # if (value != NULL) 646s # { 646s # g_variant_take_ref (value); 646s # g_variant_builder_add (&builder, "{sv}", info->name, value); 646s # g_variant_unref (value); 646s # } 646s # } 646s # } 646s # out: 646s # return g_variant_builder_end (&builder); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_skeleton_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 646s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 646s # if (skeleton->priv->changed_properties_idle_source != NULL) 646s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 646s # g_main_context_unref (skeleton->priv->context); 646s # g_mutex_clear (&skeleton->priv->lock); 646s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 646s # #else 646s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 646s # #endif 646s # 646s # g_mutex_init (&skeleton->priv->lock); 646s # skeleton->priv->context = g_main_context_ref_thread_default (); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusInterfaceSkeletonClass *skeleton_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 646s # 646s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 646s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 646s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 646s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 646s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_skeleton_new: 646s # * 646s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_skeleton_new (void) 646s # { 646s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 646s # } 646s # /tmp/tmpos1byynm/tmpv3f8y1fv.xml: 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpos1byynm/tmpv3f8y1fv.xml', '--output', '-', '--body'] 646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 646s # Output: /* 646s # * This file is generated by gdbus-codegen, do not modify it. 646s # * 646s # * The license of this code is the same as for the D-Bus interface description 646s # * it was derived from. Note that it links to GLib, so must comply with the 646s # * LGPL linking clauses. 646s # */ 646s # 646s # #ifdef HAVE_CONFIG_H 646s # # include "config.h" 646s # #endif 646s # 646s # #include 646s # #ifdef G_OS_UNIX 646s # # include 646s # #endif 646s # 646s # #ifdef G_ENABLE_DEBUG 646s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 646s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 646s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 646s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 646s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 646s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 646s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 646s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 646s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 646s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 646s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 646s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 646s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 646s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 646s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 646s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 646s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 646s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 646s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 646s # #else /* !G_ENABLE_DEBUG */ 646s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 646s # * Do not access GValues directly in your code. Instead, use the 646s # * g_value_get_*() functions 646s # */ 646s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 646s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 646s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 646s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 646s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 646s # #endif /* !G_ENABLE_DEBUG */ 646s # 646s # typedef struct 646s # { 646s # GDBusArgInfo parent_struct; 646s # gboolean use_gvariant; 646s # } _ExtendedGDBusArgInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusMethodInfo parent_struct; 646s # const gchar *signal_name; 646s # gboolean pass_fdlist; 646s # } _ExtendedGDBusMethodInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusSignalInfo parent_struct; 646s # const gchar *signal_name; 646s # } _ExtendedGDBusSignalInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusPropertyInfo parent_struct; 646s # const gchar *hyphen_name; 646s # guint use_gvariant : 1; 646s # guint emits_changed_signal : 1; 646s # } _ExtendedGDBusPropertyInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusInterfaceInfo parent_struct; 646s # const gchar *hyphen_name; 646s # } _ExtendedGDBusInterfaceInfo; 646s # 646s # typedef struct 646s # { 646s # const _ExtendedGDBusPropertyInfo *info; 646s # guint prop_id; 646s # GValue orig_value; /* the value before the change */ 646s # } ChangedProperty; 646s # 646s # static void 646s # _changed_property_free (ChangedProperty *data) 646s # { 646s # g_value_unset (&data->orig_value); 646s # g_free (data); 646s # } 646s # 646s # static gboolean 646s # _g_strv_equal0 (gchar **a, gchar **b) 646s # { 646s # gboolean ret = FALSE; 646s # guint n; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # if (g_strv_length (a) != g_strv_length (b)) 646s # goto out; 646s # for (n = 0; a[n] != NULL; n++) 646s # if (g_strcmp0 (a[n], b[n]) != 0) 646s # goto out; 646s # ret = TRUE; 646s # out: 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _g_variant_equal0 (GVariant *a, GVariant *b) 646s # { 646s # gboolean ret = FALSE; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # ret = g_variant_equal (a, b); 646s # out: 646s # return ret; 646s # } 646s # 646s # G_GNUC_UNUSED static gboolean 646s # _g_value_equal (const GValue *a, const GValue *b) 646s # { 646s # gboolean ret = FALSE; 646s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 646s # switch (G_VALUE_TYPE (a)) 646s # { 646s # case G_TYPE_BOOLEAN: 646s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 646s # break; 646s # case G_TYPE_UCHAR: 646s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 646s # break; 646s # case G_TYPE_INT: 646s # ret = (g_value_get_int (a) == g_value_get_int (b)); 646s # break; 646s # case G_TYPE_UINT: 646s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 646s # break; 646s # case G_TYPE_INT64: 646s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 646s # break; 646s # case G_TYPE_UINT64: 646s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 646s # break; 646s # case G_TYPE_DOUBLE: 646s # { 646s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 646s # gdouble da = g_value_get_double (a); 646s # gdouble db = g_value_get_double (b); 646s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 646s # } 646s # break; 646s # case G_TYPE_STRING: 646s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 646s # break; 646s # case G_TYPE_VARIANT: 646s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 646s # break; 646s # default: 646s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 646s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 646s # else 646s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 646s # break; 646s # } 646s # return ret; 646s # } 646s # 646s # static void 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint G_GNUC_UNUSED, 646s # void *marshal_data) 646s # { 646s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 646s # (void *data1, 646s # GDBusMethodInvocation *arg_method_invocation, 646s # const gchar *arg_arg_g, 646s # void *data2); 646s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 646s # GCClosure *cc = (GCClosure*) closure; 646s # void *data1, *data2; 646s # gboolean v_return; 646s # 646s # g_return_if_fail (return_value != NULL); 646s # g_return_if_fail (n_param_values == 3); 646s # 646s # if (G_CCLOSURE_SWAP_DATA (closure)) 646s # { 646s # data1 = closure->data; 646s # data2 = g_value_peek_pointer (param_values + 0); 646s # } 646s # else 646s # { 646s # data1 = g_value_peek_pointer (param_values + 0); 646s # data2 = closure->data; 646s # } 646s # 646s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 646s # (marshal_data ? marshal_data : cc->callback); 646s # 646s # v_return = 646s # callback (data1, 646s # g_marshal_value_peek_object (param_values + 1), 646s # g_marshal_value_peek_string (param_values + 2), 646s # data2); 646s # 646s # g_value_set_boolean (return_value, v_return); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ 646s # * Code for interface org.project.UsefulInterface 646s # * ------------------------------------------------------------------------ 646s # */ 646s # 646s # /** 646s # * SECTION:OrgProjectUsefulInterface 646s # * @title: OrgProjectUsefulInterface 646s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 646s # * 646s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 646s # */ 646s # 646s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 646s # 646s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 646s # { 646s # { 646s # -1, 646s # (gchar *) "arg_g", 646s # (gchar *) "g", 646s # NULL 646s # }, 646s # FALSE 646s # }; 646s # 646s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 646s # { 646s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 646s # { 646s # { 646s # -1, 646s # (gchar *) "SingleArgMethodG", 646s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 646s # NULL, 646s # NULL 646s # }, 646s # "handle-single-arg-method-g", 646s # FALSE 646s # }; 646s # 646s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 646s # { 646s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 646s # { 646s # { 646s # -1, 646s # (gchar *) "org.project.UsefulInterface", 646s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 646s # NULL, 646s # NULL, 646s # NULL 646s # }, 646s # "org-project-useful-interface", 646s # }; 646s # 646s # 646s # /** 646s # * org_project_useful_interface_interface_info: 646s # * 646s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 646s # * 646s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 646s # */ 646s # GDBusInterfaceInfo * 646s # org_project_useful_interface_interface_info (void) 646s # { 646s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_override_properties: 646s # * @klass: The class structure for a #GObject derived class. 646s # * @property_id_begin: The property id to assign to the first overridden property. 646s # * 646s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 646s # * The properties are overridden in the order they are defined. 646s # * 646s # * Returns: The last property id. 646s # */ 646s # guint 646s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 646s # { 646s # return property_id_begin - 1; 646s # } 646s # 646s # 646s # inline static void 646s # org_project_useful_interface_method_marshal_single_arg_method_g ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint, 646s # void *marshal_data) 646s # { 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 646s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 646s # } 646s # 646s # 646s # /** 646s # * OrgProjectUsefulInterface: 646s # * 646s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceIface: 646s # * @parent_iface: The parent interface. 646s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 646s # * 646s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 646s # */ 646s # 646s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 646s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 646s # 646s # static void 646s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 646s # { 646s # /* GObject signals for incoming D-Bus method calls: */ 646s # /** 646s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 646s # * @object: A #OrgProjectUsefulInterface. 646s # * @invocation: A #GDBusMethodInvocation. 646s # * @arg_arg_g: Argument passed by remote caller. 646s # * 646s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 646s # * 646s # * 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. 646s # * 646s # * 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. 646s # */ 646s # g_signal_new ("handle-single-arg-method-g", 646s # G_TYPE_FROM_INTERFACE (iface), 646s # G_SIGNAL_RUN_LAST, 646s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 646s # g_signal_accumulator_true_handled, 646s # NULL, 646s # org_project_useful_interface_method_marshal_single_arg_method_g, 646s # G_TYPE_BOOLEAN, 646s # 2, 646s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 646s # 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_g: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @arg_arg_g: Argument to pass with the method invocation. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 646s # */ 646s # void 646s # org_project_useful_interface_call_single_arg_method_g ( 646s # OrgProjectUsefulInterface *proxy, 646s # const gchar *arg_arg_g, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 646s # "SingleArgMethodG", 646s # g_variant_new ("(g)", 646s # arg_arg_g), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # callback, 646s # user_data); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_g_finish: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_useful_interface_call_single_arg_method_g_finish ( 646s # OrgProjectUsefulInterface *proxy, 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_g_sync: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @arg_arg_g: Argument to pass with the method invocation. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_useful_interface_call_single_arg_method_g_sync ( 646s # OrgProjectUsefulInterface *proxy, 646s # const gchar *arg_arg_g, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 646s # "SingleArgMethodG", 646s # g_variant_new ("(g)", 646s # arg_arg_g), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_complete_single_arg_method_g: 646s # * @object: A #OrgProjectUsefulInterface. 646s # * @invocation: (transfer full): A #GDBusMethodInvocation. 646s # * 646s # * 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. 646s # * 646s # * This method will free @invocation, you cannot use it afterwards. 646s # */ 646s # void 646s # org_project_useful_interface_complete_single_arg_method_g ( 646s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 646s # GDBusMethodInvocation *invocation) 646s # { 646s # g_dbus_method_invocation_return_value (invocation, 646s # g_variant_new ("()")); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxy: 646s # * 646s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxyClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceProxy. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceProxyPrivate 646s # { 646s # GData *qdata; 646s # }; 646s # 646s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_proxy_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 646s # g_datalist_clear (&proxy->priv->qdata); 646s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # const GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 646s # const gchar *sender_name G_GNUC_UNUSED, 646s # const gchar *signal_name, 646s # GVariant *parameters) 646s # { 646s # _ExtendedGDBusSignalInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # gsize n; 646s # guint signal_id; 646s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 646s # if (info == NULL) 646s # return; 646s # num_params = g_variant_n_children (parameters); 646s # paramv = g_new0 (GValue, num_params + 1); 646s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[0], proxy); 646s # g_variant_iter_init (&iter, parameters); 646s # n = 1; 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_signal_emitv (paramv, signal_id, 0, NULL); 646s # for (n = 0; n < num_params + 1; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 646s # GVariant *changed_properties, 646s # const gchar *const *invalidated_properties) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 646s # guint n; 646s # const gchar *key; 646s # GVariantIter *iter; 646s # _ExtendedGDBusPropertyInfo *info; 646s # g_variant_get (changed_properties, "a{sv}", &iter); 646s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 646s # g_datalist_remove_data (&proxy->priv->qdata, key); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # g_variant_iter_free (iter); 646s # for (n = 0; invalidated_properties[n] != NULL; n++) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 646s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 646s # #else 646s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 646s # #endif 646s # 646s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusProxyClass *proxy_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 646s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 646s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 646s # 646s # proxy_class = G_DBUS_PROXY_CLASS (klass); 646s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 646s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_sync: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_sync: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeleton: 646s # * 646s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeletonClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 646s # { 646s # GValue *properties; 646s # GList *changed_properties; 646s # GSource *changed_properties_idle_source; 646s # GMainContext *context; 646s # GMutex lock; 646s # }; 646s # 646s # static void 646s # _org_project_useful_interface_skeleton_handle_method_call ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name, 646s # const gchar *method_name, 646s # GVariant *parameters, 646s # GDBusMethodInvocation *invocation, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # _ExtendedGDBusMethodInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # guint num_extra; 646s # gsize n; 646s # guint signal_id; 646s # GValue return_value = G_VALUE_INIT; 646s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 646s # g_assert (info != NULL); 646s # num_params = g_variant_n_children (parameters); 646s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 646s # n = 0; 646s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[n++], skeleton); 646s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 646s # g_value_set_object (¶mv[n++], invocation); 646s # if (info->pass_fdlist) 646s # { 646s # #ifdef G_OS_UNIX 646s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 646s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 646s # #else 646s # g_assert_not_reached (); 646s # #endif 646s # } 646s # g_variant_iter_init (&iter, parameters); 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_init (&return_value, G_TYPE_BOOLEAN); 646s # g_signal_emitv (paramv, signal_id, 0, &return_value); 646s # if (!g_value_get_boolean (&return_value)) 646s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 646s # g_value_unset (&return_value); 646s # for (n = 0; n < num_params + num_extra; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static GVariant * 646s # _org_project_useful_interface_skeleton_handle_get_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # GVariant *ret; 646s # ret = NULL; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # g_value_init (&value, pspec->value_type); 646s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 646s # g_value_unset (&value); 646s # } 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _org_project_useful_interface_skeleton_handle_set_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GVariant *variant, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # gboolean ret; 646s # ret = FALSE; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # if (info->use_gvariant) 646s # g_value_set_variant (&value, variant); 646s # else 646s # g_dbus_gvariant_to_gvalue (variant, &value); 646s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # g_value_unset (&value); 646s # ret = TRUE; 646s # } 646s # return ret; 646s # } 646s # 646s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 646s # { 646s # _org_project_useful_interface_skeleton_handle_method_call, 646s # _org_project_useful_interface_skeleton_handle_get_property, 646s # _org_project_useful_interface_skeleton_handle_set_property, 646s # {NULL} 646s # }; 646s # 646s # static GDBusInterfaceInfo * 646s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return org_project_useful_interface_interface_info (); 646s # } 646s # 646s # static GDBusInterfaceVTable * 646s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 646s # } 646s # 646s # static GVariant * 646s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 646s # 646s # GVariantBuilder builder; 646s # guint n; 646s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 646s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 646s # goto out; 646s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 646s # { 646s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 646s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 646s # { 646s # GVariant *value; 646s # 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); 646s # if (value != NULL) 646s # { 646s # g_variant_take_ref (value); 646s # g_variant_builder_add (&builder, "{sv}", info->name, value); 646s # g_variant_unref (value); 646s # } 646s # } 646s # } 646s # out: 646s # return g_variant_builder_end (&builder); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_skeleton_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 646s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 646s # if (skeleton->priv->changed_properties_idle_source != NULL) 646s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 646s # g_main_context_unref (skeleton->priv->context); 646s # g_mutex_clear (&skeleton->priv->lock); 646s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 646s # #else 646s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 646s # #endif 646s # 646s # g_mutex_init (&skeleton->priv->lock); 646s # skeleton->priv->context = g_main_context_ref_thread_default (); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusInterfaceSkeletonClass *skeleton_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 646s # 646s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 646s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 646s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 646s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 646s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_skeleton_new: 646s # * 646s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_skeleton_new (void) 646s # { 646s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 646s # } 646s # /tmp/tmpos1byynm/tmpfey21zeo.xml: 646s # 646s # 646s # 646s # 646s # 646s # 646s # 646s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpos1byynm/tmpfey21zeo.xml', '--output', '-', '--body'] 646s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 646s # Output: /* 646s # * This file is generated by gdbus-codegen, do not modify it. 646s # * 646s # * The license of this code is the same as for the D-Bus interface description 646s # * it was derived from. Note that it links to GLib, so must comply with the 646s # * LGPL linking clauses. 646s # */ 646s # 646s # #ifdef HAVE_CONFIG_H 646s # # include "config.h" 646s # #endif 646s # 646s # #include 646s # #ifdef G_OS_UNIX 646s # # include 646s # #endif 646s # 646s # #ifdef G_ENABLE_DEBUG 646s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 646s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 646s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 646s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 646s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 646s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 646s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 646s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 646s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 646s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 646s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 646s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 646s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 646s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 646s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 646s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 646s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 646s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 646s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 646s # #else /* !G_ENABLE_DEBUG */ 646s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 646s # * Do not access GValues directly in your code. Instead, use the 646s # * g_value_get_*() functions 646s # */ 646s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 646s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 646s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 646s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 646s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 646s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 646s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 646s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 646s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 646s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 646s # #endif /* !G_ENABLE_DEBUG */ 646s # 646s # typedef struct 646s # { 646s # GDBusArgInfo parent_struct; 646s # gboolean use_gvariant; 646s # } _ExtendedGDBusArgInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusMethodInfo parent_struct; 646s # const gchar *signal_name; 646s # gboolean pass_fdlist; 646s # } _ExtendedGDBusMethodInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusSignalInfo parent_struct; 646s # const gchar *signal_name; 646s # } _ExtendedGDBusSignalInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusPropertyInfo parent_struct; 646s # const gchar *hyphen_name; 646s # guint use_gvariant : 1; 646s # guint emits_changed_signal : 1; 646s # } _ExtendedGDBusPropertyInfo; 646s # 646s # typedef struct 646s # { 646s # GDBusInterfaceInfo parent_struct; 646s # const gchar *hyphen_name; 646s # } _ExtendedGDBusInterfaceInfo; 646s # 646s # typedef struct 646s # { 646s # const _ExtendedGDBusPropertyInfo *info; 646s # guint prop_id; 646s # GValue orig_value; /* the value before the change */ 646s # } ChangedProperty; 646s # 646s # static void 646s # _changed_property_free (ChangedProperty *data) 646s # { 646s # g_value_unset (&data->orig_value); 646s # g_free (data); 646s # } 646s # 646s # static gboolean 646s # _g_strv_equal0 (gchar **a, gchar **b) 646s # { 646s # gboolean ret = FALSE; 646s # guint n; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # if (g_strv_length (a) != g_strv_length (b)) 646s # goto out; 646s # for (n = 0; a[n] != NULL; n++) 646s # if (g_strcmp0 (a[n], b[n]) != 0) 646s # goto out; 646s # ret = TRUE; 646s # out: 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _g_variant_equal0 (GVariant *a, GVariant *b) 646s # { 646s # gboolean ret = FALSE; 646s # if (a == NULL && b == NULL) 646s # { 646s # ret = TRUE; 646s # goto out; 646s # } 646s # if (a == NULL || b == NULL) 646s # goto out; 646s # ret = g_variant_equal (a, b); 646s # out: 646s # return ret; 646s # } 646s # 646s # G_GNUC_UNUSED static gboolean 646s # _g_value_equal (const GValue *a, const GValue *b) 646s # { 646s # gboolean ret = FALSE; 646s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 646s # switch (G_VALUE_TYPE (a)) 646s # { 646s # case G_TYPE_BOOLEAN: 646s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 646s # break; 646s # case G_TYPE_UCHAR: 646s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 646s # break; 646s # case G_TYPE_INT: 646s # ret = (g_value_get_int (a) == g_value_get_int (b)); 646s # break; 646s # case G_TYPE_UINT: 646s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 646s # break; 646s # case G_TYPE_INT64: 646s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 646s # break; 646s # case G_TYPE_UINT64: 646s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 646s # break; 646s # case G_TYPE_DOUBLE: 646s # { 646s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 646s # gdouble da = g_value_get_double (a); 646s # gdouble db = g_value_get_double (b); 646s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 646s # } 646s # break; 646s # case G_TYPE_STRING: 646s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 646s # break; 646s # case G_TYPE_VARIANT: 646s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 646s # break; 646s # default: 646s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 646s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 646s # else 646s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 646s # break; 646s # } 646s # return ret; 646s # } 646s # 646s # static void 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint G_GNUC_UNUSED, 646s # void *marshal_data) 646s # { 646s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 646s # (void *data1, 646s # GDBusMethodInvocation *arg_method_invocation, 646s # GVariant *arg_arg_h, 646s # void *data2); 646s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 646s # GCClosure *cc = (GCClosure*) closure; 646s # void *data1, *data2; 646s # gboolean v_return; 646s # 646s # g_return_if_fail (return_value != NULL); 646s # g_return_if_fail (n_param_values == 3); 646s # 646s # if (G_CCLOSURE_SWAP_DATA (closure)) 646s # { 646s # data1 = closure->data; 646s # data2 = g_value_peek_pointer (param_values + 0); 646s # } 646s # else 646s # { 646s # data1 = g_value_peek_pointer (param_values + 0); 646s # data2 = closure->data; 646s # } 646s # 646s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 646s # (marshal_data ? marshal_data : cc->callback); 646s # 646s # v_return = 646s # callback (data1, 646s # g_marshal_value_peek_object (param_values + 1), 646s # g_marshal_value_peek_variant (param_values + 2), 646s # data2); 646s # 646s # g_value_set_boolean (return_value, v_return); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ 646s # * Code for interface org.project.UsefulInterface 646s # * ------------------------------------------------------------------------ 646s # */ 646s # 646s # /** 646s # * SECTION:OrgProjectUsefulInterface 646s # * @title: OrgProjectUsefulInterface 646s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 646s # * 646s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 646s # */ 646s # 646s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 646s # 646s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 646s # { 646s # { 646s # -1, 646s # (gchar *) "arg_h", 646s # (gchar *) "h", 646s # NULL 646s # }, 646s # FALSE 646s # }; 646s # 646s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 646s # { 646s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 646s # { 646s # { 646s # -1, 646s # (gchar *) "SingleArgMethodH", 646s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 646s # NULL, 646s # NULL 646s # }, 646s # "handle-single-arg-method-h", 646s # FALSE 646s # }; 646s # 646s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 646s # { 646s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 646s # NULL 646s # }; 646s # 646s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 646s # { 646s # { 646s # -1, 646s # (gchar *) "org.project.UsefulInterface", 646s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 646s # NULL, 646s # NULL, 646s # NULL 646s # }, 646s # "org-project-useful-interface", 646s # }; 646s # 646s # 646s # /** 646s # * org_project_useful_interface_interface_info: 646s # * 646s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 646s # * 646s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 646s # */ 646s # GDBusInterfaceInfo * 646s # org_project_useful_interface_interface_info (void) 646s # { 646s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_override_properties: 646s # * @klass: The class structure for a #GObject derived class. 646s # * @property_id_begin: The property id to assign to the first overridden property. 646s # * 646s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 646s # * The properties are overridden in the order they are defined. 646s # * 646s # * Returns: The last property id. 646s # */ 646s # guint 646s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 646s # { 646s # return property_id_begin - 1; 646s # } 646s # 646s # 646s # inline static void 646s # org_project_useful_interface_method_marshal_single_arg_method_h ( 646s # GClosure *closure, 646s # GValue *return_value, 646s # unsigned int n_param_values, 646s # const GValue *param_values, 646s # void *invocation_hint, 646s # void *marshal_data) 646s # { 646s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 646s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 646s # } 646s # 646s # 646s # /** 646s # * OrgProjectUsefulInterface: 646s # * 646s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceIface: 646s # * @parent_iface: The parent interface. 646s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 646s # * 646s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 646s # */ 646s # 646s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 646s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 646s # 646s # static void 646s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 646s # { 646s # /* GObject signals for incoming D-Bus method calls: */ 646s # /** 646s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 646s # * @object: A #OrgProjectUsefulInterface. 646s # * @invocation: A #GDBusMethodInvocation. 646s # * @arg_arg_h: Argument passed by remote caller. 646s # * 646s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 646s # * 646s # * 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. 646s # * 646s # * 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. 646s # */ 646s # g_signal_new ("handle-single-arg-method-h", 646s # G_TYPE_FROM_INTERFACE (iface), 646s # G_SIGNAL_RUN_LAST, 646s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 646s # g_signal_accumulator_true_handled, 646s # NULL, 646s # org_project_useful_interface_method_marshal_single_arg_method_h, 646s # G_TYPE_BOOLEAN, 646s # 2, 646s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 646s # 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_h: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @arg_arg_h: Argument to pass with the method invocation. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 646s # */ 646s # void 646s # org_project_useful_interface_call_single_arg_method_h ( 646s # OrgProjectUsefulInterface *proxy, 646s # GVariant *arg_arg_h, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 646s # "SingleArgMethodH", 646s # g_variant_new ("(@h)", 646s # arg_arg_h), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # callback, 646s # user_data); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_h_finish: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_useful_interface_call_single_arg_method_h_finish ( 646s # OrgProjectUsefulInterface *proxy, 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_call_single_arg_method_h_sync: 646s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 646s # * @arg_arg_h: Argument to pass with the method invocation. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL. 646s # * 646s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 646s # * 646s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 646s # */ 646s # gboolean 646s # org_project_useful_interface_call_single_arg_method_h_sync ( 646s # OrgProjectUsefulInterface *proxy, 646s # GVariant *arg_arg_h, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GVariant *_ret; 646s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 646s # "SingleArgMethodH", 646s # g_variant_new ("(@h)", 646s # arg_arg_h), 646s # G_DBUS_CALL_FLAGS_NONE, 646s # -1, 646s # cancellable, 646s # error); 646s # if (_ret == NULL) 646s # goto _out; 646s # g_variant_get (_ret, 646s # "()"); 646s # g_variant_unref (_ret); 646s # _out: 646s # return _ret != NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_complete_single_arg_method_h: 646s # * @object: A #OrgProjectUsefulInterface. 646s # * @invocation: (transfer full): A #GDBusMethodInvocation. 646s # * 646s # * 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. 646s # * 646s # * This method will free @invocation, you cannot use it afterwards. 646s # */ 646s # void 646s # org_project_useful_interface_complete_single_arg_method_h ( 646s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 646s # GDBusMethodInvocation *invocation) 646s # { 646s # g_dbus_method_invocation_return_value (invocation, 646s # g_variant_new ("()")); 646s # } 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxy: 646s # * 646s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceProxyClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceProxy. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceProxyPrivate 646s # { 646s # GData *qdata; 646s # }; 646s # 646s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_proxy_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 646s # g_datalist_clear (&proxy->priv->qdata); 646s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 646s # guint prop_id G_GNUC_UNUSED, 646s # const GValue *value G_GNUC_UNUSED, 646s # GParamSpec *pspec G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 646s # const gchar *sender_name G_GNUC_UNUSED, 646s # const gchar *signal_name, 646s # GVariant *parameters) 646s # { 646s # _ExtendedGDBusSignalInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # gsize n; 646s # guint signal_id; 646s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 646s # if (info == NULL) 646s # return; 646s # num_params = g_variant_n_children (parameters); 646s # paramv = g_new0 (GValue, num_params + 1); 646s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[0], proxy); 646s # g_variant_iter_init (&iter, parameters); 646s # n = 1; 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_signal_emitv (paramv, signal_id, 0, NULL); 646s # for (n = 0; n < num_params + 1; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 646s # GVariant *changed_properties, 646s # const gchar *const *invalidated_properties) 646s # { 646s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 646s # guint n; 646s # const gchar *key; 646s # GVariantIter *iter; 646s # _ExtendedGDBusPropertyInfo *info; 646s # g_variant_get (changed_properties, "a{sv}", &iter); 646s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 646s # g_datalist_remove_data (&proxy->priv->qdata, key); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # g_variant_iter_free (iter); 646s # for (n = 0; invalidated_properties[n] != NULL; n++) 646s # { 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 646s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 646s # if (info != NULL) 646s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 646s # } 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 646s # #else 646s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 646s # #endif 646s # 646s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusProxyClass *proxy_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 646s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 646s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 646s # 646s # proxy_class = G_DBUS_PROXY_CLASS (klass); 646s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 646s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_sync: 646s # * @connection: A #GDBusConnection. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_sync ( 646s # GDBusConnection *connection, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 646s # * @user_data: User data to pass to @callback. 646s # * 646s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 646s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 646s # */ 646s # void 646s # org_project_useful_interface_proxy_new_for_bus ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GAsyncReadyCallback callback, 646s # gpointer user_data) 646s # { 646s # g_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); 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_finish: 646s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 646s # * @error: Return location for error or %NULL 646s # * 646s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_finish ( 646s # GAsyncResult *res, 646s # GError **error) 646s # { 646s # GObject *ret; 646s # GObject *source_object; 646s # source_object = g_async_result_get_source_object (res); 646s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 646s # g_object_unref (source_object); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_proxy_new_for_bus_sync: 646s # * @bus_type: A #GBusType. 646s # * @flags: Flags from the #GDBusProxyFlags enumeration. 646s # * @name: A bus name (well-known or unique). 646s # * @object_path: An object path. 646s # * @cancellable: (nullable): A #GCancellable or %NULL. 646s # * @error: Return location for error or %NULL 646s # * 646s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 646s # * 646s # * The calling thread is blocked until a reply is received. 646s # * 646s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_proxy_new_for_bus_sync ( 646s # GBusType bus_type, 646s # GDBusProxyFlags flags, 646s # const gchar *name, 646s # const gchar *object_path, 646s # GCancellable *cancellable, 646s # GError **error) 646s # { 646s # GInitable *ret; 646s # 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); 646s # if (ret != NULL) 646s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 646s # else 646s # return NULL; 646s # } 646s # 646s # 646s # /* ------------------------------------------------------------------------ */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeleton: 646s # * 646s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 646s # */ 646s # 646s # /** 646s # * OrgProjectUsefulInterfaceSkeletonClass: 646s # * @parent_class: The parent class. 646s # * 646s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 646s # */ 646s # 646s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 646s # { 646s # GValue *properties; 646s # GList *changed_properties; 646s # GSource *changed_properties_idle_source; 646s # GMainContext *context; 646s # GMutex lock; 646s # }; 646s # 646s # static void 646s # _org_project_useful_interface_skeleton_handle_method_call ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name, 646s # const gchar *method_name, 646s # GVariant *parameters, 646s # GDBusMethodInvocation *invocation, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # _ExtendedGDBusMethodInfo *info; 646s # GVariantIter iter; 646s # GVariant *child; 646s # GValue *paramv; 646s # gsize num_params; 646s # guint num_extra; 646s # gsize n; 646s # guint signal_id; 646s # GValue return_value = G_VALUE_INIT; 646s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 646s # g_assert (info != NULL); 646s # num_params = g_variant_n_children (parameters); 646s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 646s # n = 0; 646s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_set_object (¶mv[n++], skeleton); 646s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 646s # g_value_set_object (¶mv[n++], invocation); 646s # if (info->pass_fdlist) 646s # { 646s # #ifdef G_OS_UNIX 646s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 646s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 646s # #else 646s # g_assert_not_reached (); 646s # #endif 646s # } 646s # g_variant_iter_init (&iter, parameters); 646s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 646s # { 646s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 646s # if (arg_info->use_gvariant) 646s # { 646s # g_value_init (¶mv[n], G_TYPE_VARIANT); 646s # g_value_set_variant (¶mv[n], child); 646s # n++; 646s # } 646s # else 646s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 646s # g_variant_unref (child); 646s # } 646s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 646s # g_value_init (&return_value, G_TYPE_BOOLEAN); 646s # g_signal_emitv (paramv, signal_id, 0, &return_value); 646s # if (!g_value_get_boolean (&return_value)) 646s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 646s # g_value_unset (&return_value); 646s # for (n = 0; n < num_params + num_extra; n++) 646s # g_value_unset (¶mv[n]); 646s # g_free (paramv); 646s # } 646s # 646s # static GVariant * 646s # _org_project_useful_interface_skeleton_handle_get_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # GVariant *ret; 646s # ret = NULL; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # g_value_init (&value, pspec->value_type); 646s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 646s # g_value_unset (&value); 646s # } 646s # return ret; 646s # } 646s # 646s # static gboolean 646s # _org_project_useful_interface_skeleton_handle_set_property ( 646s # GDBusConnection *connection G_GNUC_UNUSED, 646s # const gchar *sender G_GNUC_UNUSED, 646s # const gchar *object_path G_GNUC_UNUSED, 646s # const gchar *interface_name G_GNUC_UNUSED, 646s # const gchar *property_name, 646s # GVariant *variant, 646s # GError **error, 646s # gpointer user_data) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 646s # GValue value = G_VALUE_INIT; 646s # GParamSpec *pspec; 646s # _ExtendedGDBusPropertyInfo *info; 646s # gboolean ret; 646s # ret = FALSE; 646s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 646s # g_assert (info != NULL); 646s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 646s # if (pspec == NULL) 646s # { 646s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 646s # } 646s # else 646s # { 646s # if (info->use_gvariant) 646s # g_value_set_variant (&value, variant); 646s # else 646s # g_dbus_gvariant_to_gvalue (variant, &value); 646s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 646s # g_value_unset (&value); 646s # ret = TRUE; 646s # } 646s # return ret; 646s # } 646s # 646s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 646s # { 646s # _org_project_useful_interface_skeleton_handle_method_call, 646s # _org_project_useful_interface_skeleton_handle_get_property, 646s # _org_project_useful_interface_skeleton_handle_set_property, 646s # {NULL} 646s # }; 646s # 646s # static GDBusInterfaceInfo * 646s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return org_project_useful_interface_interface_info (); 646s # } 646s # 646s # static GDBusInterfaceVTable * 646s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 646s # { 646s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 646s # } 646s # 646s # static GVariant * 646s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 646s # 646s # GVariantBuilder builder; 646s # guint n; 646s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 646s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 646s # goto out; 646s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 646s # { 646s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 646s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 646s # { 646s # GVariant *value; 646s # 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); 646s # if (value != NULL) 646s # { 646s # g_variant_take_ref (value); 646s # g_variant_builder_add (&builder, "{sv}", info->name, value); 646s # g_variant_unref (value); 646s # } 646s # } 646s # } 646s # out: 646s # return g_variant_builder_end (&builder); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #else 646s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 646s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 646s # 646s # #endif 646s # static void 646s # org_project_useful_interface_skeleton_finalize (GObject *object) 646s # { 646s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 646s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 646s # if (skeleton->priv->changed_properties_idle_source != NULL) 646s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 646s # g_main_context_unref (skeleton->priv->context); 646s # g_mutex_clear (&skeleton->priv->lock); 646s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 646s # { 646s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 646s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 646s # #else 646s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 646s # #endif 646s # 646s # g_mutex_init (&skeleton->priv->lock); 646s # skeleton->priv->context = g_main_context_ref_thread_default (); 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 646s # { 646s # GObjectClass *gobject_class; 646s # GDBusInterfaceSkeletonClass *skeleton_class; 646s # 646s # gobject_class = G_OBJECT_CLASS (klass); 646s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 646s # 646s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 646s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 646s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 646s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 646s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 646s # 646s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 646s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 646s # #endif 646s # } 646s # 646s # static void 646s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 646s # { 646s # } 646s # 646s # /** 646s # * org_project_useful_interface_skeleton_new: 646s # * 646s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 646s # * 646s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 646s # */ 646s # OrgProjectUsefulInterface * 646s # org_project_useful_interface_skeleton_new (void) 646s # { 646s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 646s # } 646s # /tmp/tmpos1byynm/tmppe54xrum.xml: 646s # 646s # 647s # 647s # 647s # 647s # 647s # 647s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpos1byynm/tmppe54xrum.xml', '--output', '-', '--body'] 647s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 647s # Output: /* 647s # * This file is generated by gdbus-codegen, do not modify it. 647s # * 647s # * The license of this code is the same as for the D-Bus interface description 647s # * it was derived from. Note that it links to GLib, so must comply with the 647s # * LGPL linking clauses. 647s # */ 647s # 647s # #ifdef HAVE_CONFIG_H 647s # # include "config.h" 647s # #endif 647s # 647s # #include 647s # #ifdef G_OS_UNIX 647s # # include 647s # #endif 647s # 647s # #ifdef G_ENABLE_DEBUG 647s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 647s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 647s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 647s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 647s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 647s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 647s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 647s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 647s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 647s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 647s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 647s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 647s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 647s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 647s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 647s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 647s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 647s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 647s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 647s # #else /* !G_ENABLE_DEBUG */ 647s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 647s # * Do not access GValues directly in your code. Instead, use the 647s # * g_value_get_*() functions 647s # */ 647s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 647s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 647s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 647s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 647s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 647s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 647s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 647s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 647s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 647s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 647s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 647s # #endif /* !G_ENABLE_DEBUG */ 647s # 647s # typedef struct 647s # { 647s # GDBusArgInfo parent_struct; 647s # gboolean use_gvariant; 647s # } _ExtendedGDBusArgInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusMethodInfo parent_struct; 647s # const gchar *signal_name; 647s # gboolean pass_fdlist; 647s # } _ExtendedGDBusMethodInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusSignalInfo parent_struct; 647s # const gchar *signal_name; 647s # } _ExtendedGDBusSignalInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusPropertyInfo parent_struct; 647s # const gchar *hyphen_name; 647s # guint use_gvariant : 1; 647s # guint emits_changed_signal : 1; 647s # } _ExtendedGDBusPropertyInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusInterfaceInfo parent_struct; 647s # const gchar *hyphen_name; 647s # } _ExtendedGDBusInterfaceInfo; 647s # 647s # typedef struct 647s # { 647s # const _ExtendedGDBusPropertyInfo *info; 647s # guint prop_id; 647s # GValue orig_value; /* the value before the change */ 647s # } ChangedProperty; 647s # 647s # static void 647s # _changed_property_free (ChangedProperty *data) 647s # { 647s # g_value_unset (&data->orig_value); 647s # g_free (data); 647s # } 647s # 647s # static gboolean 647s # _g_strv_equal0 (gchar **a, gchar **b) 647s # { 647s # gboolean ret = FALSE; 647s # guint n; 647s # if (a == NULL && b == NULL) 647s # { 647s # ret = TRUE; 647s # goto out; 647s # } 647s # if (a == NULL || b == NULL) 647s # goto out; 647s # if (g_strv_length (a) != g_strv_length (b)) 647s # goto out; 647s # for (n = 0; a[n] != NULL; n++) 647s # if (g_strcmp0 (a[n], b[n]) != 0) 647s # goto out; 647s # ret = TRUE; 647s # out: 647s # return ret; 647s # } 647s # 647s # static gboolean 647s # _g_variant_equal0 (GVariant *a, GVariant *b) 647s # { 647s # gboolean ret = FALSE; 647s # if (a == NULL && b == NULL) 647s # { 647s # ret = TRUE; 647s # goto out; 647s # } 647s # if (a == NULL || b == NULL) 647s # goto out; 647s # ret = g_variant_equal (a, b); 647s # out: 647s # return ret; 647s # } 647s # 647s # G_GNUC_UNUSED static gboolean 647s # _g_value_equal (const GValue *a, const GValue *b) 647s # { 647s # gboolean ret = FALSE; 647s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 647s # switch (G_VALUE_TYPE (a)) 647s # { 647s # case G_TYPE_BOOLEAN: 647s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 647s # break; 647s # case G_TYPE_UCHAR: 647s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 647s # break; 647s # case G_TYPE_INT: 647s # ret = (g_value_get_int (a) == g_value_get_int (b)); 647s # break; 647s # case G_TYPE_UINT: 647s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 647s # break; 647s # case G_TYPE_INT64: 647s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 647s # break; 647s # case G_TYPE_UINT64: 647s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 647s # break; 647s # case G_TYPE_DOUBLE: 647s # { 647s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 647s # gdouble da = g_value_get_double (a); 647s # gdouble db = g_value_get_double (b); 647s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 647s # } 647s # break; 647s # case G_TYPE_STRING: 647s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 647s # break; 647s # case G_TYPE_VARIANT: 647s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 647s # break; 647s # default: 647s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 647s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 647s # else 647s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 647s # break; 647s # } 647s # return ret; 647s # } 647s # 647s # static void 647s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 647s # GClosure *closure, 647s # GValue *return_value, 647s # unsigned int n_param_values, 647s # const GValue *param_values, 647s # void *invocation_hint G_GNUC_UNUSED, 647s # void *marshal_data) 647s # { 647s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 647s # (void *data1, 647s # GDBusMethodInvocation *arg_method_invocation, 647s # const gchar *arg_arg_ay, 647s # void *data2); 647s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 647s # GCClosure *cc = (GCClosure*) closure; 647s # void *data1, *data2; 647s # gboolean v_return; 647s # 647s # g_return_if_fail (return_value != NULL); 647s # g_return_if_fail (n_param_values == 3); 647s # 647s # if (G_CCLOSURE_SWAP_DATA (closure)) 647s # { 647s # data1 = closure->data; 647s # data2 = g_value_peek_pointer (param_values + 0); 647s # } 647s # else 647s # { 647s # data1 = g_value_peek_pointer (param_values + 0); 647s # data2 = closure->data; 647s # } 647s # 647s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 647s # (marshal_data ? marshal_data : cc->callback); 647s # 647s # v_return = 647s # callback (data1, 647s # g_marshal_value_peek_object (param_values + 1), 647s # g_marshal_value_peek_string (param_values + 2), 647s # data2); 647s # 647s # g_value_set_boolean (return_value, v_return); 647s # } 647s # 647s # /* ------------------------------------------------------------------------ 647s # * Code for interface org.project.UsefulInterface 647s # * ------------------------------------------------------------------------ 647s # */ 647s # 647s # /** 647s # * SECTION:OrgProjectUsefulInterface 647s # * @title: OrgProjectUsefulInterface 647s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 647s # * 647s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 647s # */ 647s # 647s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 647s # 647s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 647s # { 647s # { 647s # -1, 647s # (gchar *) "arg_ay", 647s # (gchar *) "ay", 647s # NULL 647s # }, 647s # FALSE 647s # }; 647s # 647s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 647s # { 647s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 647s # NULL 647s # }; 647s # 647s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 647s # { 647s # { 647s # -1, 647s # (gchar *) "SingleArgMethodAy", 647s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 647s # NULL, 647s # NULL 647s # }, 647s # "handle-single-arg-method-ay", 647s # FALSE 647s # }; 647s # 647s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 647s # { 647s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 647s # NULL 647s # }; 647s # 647s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 647s # { 647s # { 647s # -1, 647s # (gchar *) "org.project.UsefulInterface", 647s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 647s # NULL, 647s # NULL, 647s # NULL 647s # }, 647s # "org-project-useful-interface", 647s # }; 647s # 647s # 647s # /** 647s # * org_project_useful_interface_interface_info: 647s # * 647s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 647s # * 647s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 647s # */ 647s # GDBusInterfaceInfo * 647s # org_project_useful_interface_interface_info (void) 647s # { 647s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_override_properties: 647s # * @klass: The class structure for a #GObject derived class. 647s # * @property_id_begin: The property id to assign to the first overridden property. 647s # * 647s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 647s # * The properties are overridden in the order they are defined. 647s # * 647s # * Returns: The last property id. 647s # */ 647s # guint 647s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 647s # { 647s # return property_id_begin - 1; 647s # } 647s # 647s # 647s # inline static void 647s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 647s # GClosure *closure, 647s # GValue *return_value, 647s # unsigned int n_param_values, 647s # const GValue *param_values, 647s # void *invocation_hint, 647s # void *marshal_data) 647s # { 647s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 647s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 647s # } 647s # 647s # 647s # /** 647s # * OrgProjectUsefulInterface: 647s # * 647s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceIface: 647s # * @parent_iface: The parent interface. 647s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 647s # * 647s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 647s # */ 647s # 647s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 647s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 647s # 647s # static void 647s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 647s # { 647s # /* GObject signals for incoming D-Bus method calls: */ 647s # /** 647s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 647s # * @object: A #OrgProjectUsefulInterface. 647s # * @invocation: A #GDBusMethodInvocation. 647s # * @arg_arg_ay: Argument passed by remote caller. 647s # * 647s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 647s # * 647s # * 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. 647s # * 647s # * 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. 647s # */ 647s # g_signal_new ("handle-single-arg-method-ay", 647s # G_TYPE_FROM_INTERFACE (iface), 647s # G_SIGNAL_RUN_LAST, 647s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 647s # g_signal_accumulator_true_handled, 647s # NULL, 647s # org_project_useful_interface_method_marshal_single_arg_method_ay, 647s # G_TYPE_BOOLEAN, 647s # 2, 647s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 647s # 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_ay: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @arg_arg_ay: Argument to pass with the method invocation. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 647s # */ 647s # void 647s # org_project_useful_interface_call_single_arg_method_ay ( 647s # OrgProjectUsefulInterface *proxy, 647s # const gchar *arg_arg_ay, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 647s # "SingleArgMethodAy", 647s # g_variant_new ("(^ay)", 647s # arg_arg_ay), 647s # G_DBUS_CALL_FLAGS_NONE, 647s # -1, 647s # cancellable, 647s # callback, 647s # user_data); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_ay_finish: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 647s # * @error: Return location for error or %NULL. 647s # * 647s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 647s # * 647s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 647s # */ 647s # gboolean 647s # org_project_useful_interface_call_single_arg_method_ay_finish ( 647s # OrgProjectUsefulInterface *proxy, 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GVariant *_ret; 647s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 647s # if (_ret == NULL) 647s # goto _out; 647s # g_variant_get (_ret, 647s # "()"); 647s # g_variant_unref (_ret); 647s # _out: 647s # return _ret != NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_ay_sync: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @arg_arg_ay: Argument to pass with the method invocation. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL. 647s # * 647s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 647s # * 647s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 647s # */ 647s # gboolean 647s # org_project_useful_interface_call_single_arg_method_ay_sync ( 647s # OrgProjectUsefulInterface *proxy, 647s # const gchar *arg_arg_ay, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GVariant *_ret; 647s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 647s # "SingleArgMethodAy", 647s # g_variant_new ("(^ay)", 647s # arg_arg_ay), 647s # G_DBUS_CALL_FLAGS_NONE, 647s # -1, 647s # cancellable, 647s # error); 647s # if (_ret == NULL) 647s # goto _out; 647s # g_variant_get (_ret, 647s # "()"); 647s # g_variant_unref (_ret); 647s # _out: 647s # return _ret != NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_complete_single_arg_method_ay: 647s # * @object: A #OrgProjectUsefulInterface. 647s # * @invocation: (transfer full): A #GDBusMethodInvocation. 647s # * 647s # * 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. 647s # * 647s # * This method will free @invocation, you cannot use it afterwards. 647s # */ 647s # void 647s # org_project_useful_interface_complete_single_arg_method_ay ( 647s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 647s # GDBusMethodInvocation *invocation) 647s # { 647s # g_dbus_method_invocation_return_value (invocation, 647s # g_variant_new ("()")); 647s # } 647s # 647s # /* ------------------------------------------------------------------------ */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceProxy: 647s # * 647s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceProxyClass: 647s # * @parent_class: The parent class. 647s # * 647s # * Class structure for #OrgProjectUsefulInterfaceProxy. 647s # */ 647s # 647s # struct _OrgProjectUsefulInterfaceProxyPrivate 647s # { 647s # GData *qdata; 647s # }; 647s # 647s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 647s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 647s # 647s # #else 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 647s # 647s # #endif 647s # static void 647s # org_project_useful_interface_proxy_finalize (GObject *object) 647s # { 647s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 647s # g_datalist_clear (&proxy->priv->qdata); 647s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 647s # guint prop_id G_GNUC_UNUSED, 647s # GValue *value G_GNUC_UNUSED, 647s # GParamSpec *pspec G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 647s # guint prop_id G_GNUC_UNUSED, 647s # const GValue *value G_GNUC_UNUSED, 647s # GParamSpec *pspec G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 647s # const gchar *sender_name G_GNUC_UNUSED, 647s # const gchar *signal_name, 647s # GVariant *parameters) 647s # { 647s # _ExtendedGDBusSignalInfo *info; 647s # GVariantIter iter; 647s # GVariant *child; 647s # GValue *paramv; 647s # gsize num_params; 647s # gsize n; 647s # guint signal_id; 647s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 647s # if (info == NULL) 647s # return; 647s # num_params = g_variant_n_children (parameters); 647s # paramv = g_new0 (GValue, num_params + 1); 647s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_set_object (¶mv[0], proxy); 647s # g_variant_iter_init (&iter, parameters); 647s # n = 1; 647s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 647s # { 647s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 647s # if (arg_info->use_gvariant) 647s # { 647s # g_value_init (¶mv[n], G_TYPE_VARIANT); 647s # g_value_set_variant (¶mv[n], child); 647s # n++; 647s # } 647s # else 647s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 647s # g_variant_unref (child); 647s # } 647s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_signal_emitv (paramv, signal_id, 0, NULL); 647s # for (n = 0; n < num_params + 1; n++) 647s # g_value_unset (¶mv[n]); 647s # g_free (paramv); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 647s # GVariant *changed_properties, 647s # const gchar *const *invalidated_properties) 647s # { 647s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 647s # guint n; 647s # const gchar *key; 647s # GVariantIter *iter; 647s # _ExtendedGDBusPropertyInfo *info; 647s # g_variant_get (changed_properties, "a{sv}", &iter); 647s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 647s # { 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 647s # g_datalist_remove_data (&proxy->priv->qdata, key); 647s # if (info != NULL) 647s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 647s # } 647s # g_variant_iter_free (iter); 647s # for (n = 0; invalidated_properties[n] != NULL; n++) 647s # { 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 647s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 647s # if (info != NULL) 647s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 647s # } 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 647s # { 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 647s # #else 647s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 647s # #endif 647s # 647s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 647s # { 647s # GObjectClass *gobject_class; 647s # GDBusProxyClass *proxy_class; 647s # 647s # gobject_class = G_OBJECT_CLASS (klass); 647s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 647s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 647s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 647s # 647s # proxy_class = G_DBUS_PROXY_CLASS (klass); 647s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 647s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 647s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 647s # #endif 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new: 647s # * @connection: A #GDBusConnection. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 647s # * 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 647s # */ 647s # void 647s # org_project_useful_interface_proxy_new ( 647s # GDBusConnection *connection, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_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); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_finish: 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 647s # * @error: Return location for error or %NULL 647s # * 647s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_finish ( 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GObject *ret; 647s # GObject *source_object; 647s # source_object = g_async_result_get_source_object (res); 647s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 647s # g_object_unref (source_object); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_sync: 647s # * @connection: A #GDBusConnection. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL 647s # * 647s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 647s # * 647s # * The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_sync ( 647s # GDBusConnection *connection, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GInitable *ret; 647s # 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); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus: 647s # * @bus_type: A #GBusType. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: A bus name (well-known or unique). 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 647s # * 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 647s # */ 647s # void 647s # org_project_useful_interface_proxy_new_for_bus ( 647s # GBusType bus_type, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_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); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus_finish: 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 647s # * @error: Return location for error or %NULL 647s # * 647s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_for_bus_finish ( 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GObject *ret; 647s # GObject *source_object; 647s # source_object = g_async_result_get_source_object (res); 647s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 647s # g_object_unref (source_object); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus_sync: 647s # * @bus_type: A #GBusType. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: A bus name (well-known or unique). 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL 647s # * 647s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 647s # * 647s # * The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_for_bus_sync ( 647s # GBusType bus_type, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GInitable *ret; 647s # 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); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # 647s # /* ------------------------------------------------------------------------ */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceSkeleton: 647s # * 647s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceSkeletonClass: 647s # * @parent_class: The parent class. 647s # * 647s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 647s # */ 647s # 647s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 647s # { 647s # GValue *properties; 647s # GList *changed_properties; 647s # GSource *changed_properties_idle_source; 647s # GMainContext *context; 647s # GMutex lock; 647s # }; 647s # 647s # static void 647s # _org_project_useful_interface_skeleton_handle_method_call ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name, 647s # const gchar *method_name, 647s # GVariant *parameters, 647s # GDBusMethodInvocation *invocation, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # _ExtendedGDBusMethodInfo *info; 647s # GVariantIter iter; 647s # GVariant *child; 647s # GValue *paramv; 647s # gsize num_params; 647s # guint num_extra; 647s # gsize n; 647s # guint signal_id; 647s # GValue return_value = G_VALUE_INIT; 647s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 647s # g_assert (info != NULL); 647s # num_params = g_variant_n_children (parameters); 647s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 647s # n = 0; 647s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_set_object (¶mv[n++], skeleton); 647s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 647s # g_value_set_object (¶mv[n++], invocation); 647s # if (info->pass_fdlist) 647s # { 647s # #ifdef G_OS_UNIX 647s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 647s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 647s # #else 647s # g_assert_not_reached (); 647s # #endif 647s # } 647s # g_variant_iter_init (&iter, parameters); 647s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 647s # { 647s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 647s # if (arg_info->use_gvariant) 647s # { 647s # g_value_init (¶mv[n], G_TYPE_VARIANT); 647s # g_value_set_variant (¶mv[n], child); 647s # n++; 647s # } 647s # else 647s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 647s # g_variant_unref (child); 647s # } 647s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_init (&return_value, G_TYPE_BOOLEAN); 647s # g_signal_emitv (paramv, signal_id, 0, &return_value); 647s # if (!g_value_get_boolean (&return_value)) 647s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 647s # g_value_unset (&return_value); 647s # for (n = 0; n < num_params + num_extra; n++) 647s # g_value_unset (¶mv[n]); 647s # g_free (paramv); 647s # } 647s # 647s # static GVariant * 647s # _org_project_useful_interface_skeleton_handle_get_property ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name G_GNUC_UNUSED, 647s # const gchar *property_name, 647s # GError **error, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # GValue value = G_VALUE_INIT; 647s # GParamSpec *pspec; 647s # _ExtendedGDBusPropertyInfo *info; 647s # GVariant *ret; 647s # ret = NULL; 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 647s # g_assert (info != NULL); 647s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 647s # if (pspec == NULL) 647s # { 647s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 647s # } 647s # else 647s # { 647s # g_value_init (&value, pspec->value_type); 647s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 647s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 647s # g_value_unset (&value); 647s # } 647s # return ret; 647s # } 647s # 647s # static gboolean 647s # _org_project_useful_interface_skeleton_handle_set_property ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name G_GNUC_UNUSED, 647s # const gchar *property_name, 647s # GVariant *variant, 647s # GError **error, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # GValue value = G_VALUE_INIT; 647s # GParamSpec *pspec; 647s # _ExtendedGDBusPropertyInfo *info; 647s # gboolean ret; 647s # ret = FALSE; 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 647s # g_assert (info != NULL); 647s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 647s # if (pspec == NULL) 647s # { 647s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 647s # } 647s # else 647s # { 647s # if (info->use_gvariant) 647s # g_value_set_variant (&value, variant); 647s # else 647s # g_dbus_gvariant_to_gvalue (variant, &value); 647s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 647s # g_value_unset (&value); 647s # ret = TRUE; 647s # } 647s # return ret; 647s # } 647s # 647s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 647s # { 647s # _org_project_useful_interface_skeleton_handle_method_call, 647s # _org_project_useful_interface_skeleton_handle_get_property, 647s # _org_project_useful_interface_skeleton_handle_set_property, 647s # {NULL} 647s # }; 647s # 647s # static GDBusInterfaceInfo * 647s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 647s # { 647s # return org_project_useful_interface_interface_info (); 647s # } 647s # 647s # static GDBusInterfaceVTable * 647s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 647s # { 647s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 647s # } 647s # 647s # static GVariant * 647s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 647s # 647s # GVariantBuilder builder; 647s # guint n; 647s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 647s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 647s # goto out; 647s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 647s # { 647s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 647s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 647s # { 647s # GVariant *value; 647s # 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); 647s # if (value != NULL) 647s # { 647s # g_variant_take_ref (value); 647s # g_variant_builder_add (&builder, "{sv}", info->name, value); 647s # g_variant_unref (value); 647s # } 647s # } 647s # } 647s # out: 647s # return g_variant_builder_end (&builder); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 647s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 647s # 647s # #else 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 647s # 647s # #endif 647s # static void 647s # org_project_useful_interface_skeleton_finalize (GObject *object) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 647s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 647s # if (skeleton->priv->changed_properties_idle_source != NULL) 647s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 647s # g_main_context_unref (skeleton->priv->context); 647s # g_mutex_clear (&skeleton->priv->lock); 647s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 647s # { 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 647s # #else 647s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 647s # #endif 647s # 647s # g_mutex_init (&skeleton->priv->lock); 647s # skeleton->priv->context = g_main_context_ref_thread_default (); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 647s # { 647s # GObjectClass *gobject_class; 647s # GDBusInterfaceSkeletonClass *skeleton_class; 647s # 647s # gobject_class = G_OBJECT_CLASS (klass); 647s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 647s # 647s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 647s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 647s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 647s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 647s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 647s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 647s # #endif 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_skeleton_new: 647s # * 647s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_skeleton_new (void) 647s # { 647s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 647s # } 647s # /tmp/tmpos1byynm/tmpve1hnnm5.xml: 647s # 647s # 647s # 647s # 647s # 647s # 647s # 647s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpos1byynm/tmpve1hnnm5.xml', '--output', '-', '--body'] 647s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 647s # Output: /* 647s # * This file is generated by gdbus-codegen, do not modify it. 647s # * 647s # * The license of this code is the same as for the D-Bus interface description 647s # * it was derived from. Note that it links to GLib, so must comply with the 647s # * LGPL linking clauses. 647s # */ 647s # 647s # #ifdef HAVE_CONFIG_H 647s # # include "config.h" 647s # #endif 647s # 647s # #include 647s # #ifdef G_OS_UNIX 647s # # include 647s # #endif 647s # 647s # #ifdef G_ENABLE_DEBUG 647s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 647s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 647s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 647s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 647s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 647s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 647s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 647s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 647s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 647s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 647s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 647s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 647s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 647s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 647s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 647s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 647s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 647s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 647s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 647s # #else /* !G_ENABLE_DEBUG */ 647s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 647s # * Do not access GValues directly in your code. Instead, use the 647s # * g_value_get_*() functions 647s # */ 647s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 647s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 647s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 647s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 647s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 647s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 647s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 647s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 647s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 647s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 647s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 647s # #endif /* !G_ENABLE_DEBUG */ 647s # 647s # typedef struct 647s # { 647s # GDBusArgInfo parent_struct; 647s # gboolean use_gvariant; 647s # } _ExtendedGDBusArgInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusMethodInfo parent_struct; 647s # const gchar *signal_name; 647s # gboolean pass_fdlist; 647s # } _ExtendedGDBusMethodInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusSignalInfo parent_struct; 647s # const gchar *signal_name; 647s # } _ExtendedGDBusSignalInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusPropertyInfo parent_struct; 647s # const gchar *hyphen_name; 647s # guint use_gvariant : 1; 647s # guint emits_changed_signal : 1; 647s # } _ExtendedGDBusPropertyInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusInterfaceInfo parent_struct; 647s # const gchar *hyphen_name; 647s # } _ExtendedGDBusInterfaceInfo; 647s # 647s # typedef struct 647s # { 647s # const _ExtendedGDBusPropertyInfo *info; 647s # guint prop_id; 647s # GValue orig_value; /* the value before the change */ 647s # } ChangedProperty; 647s # 647s # static void 647s # _changed_property_free (ChangedProperty *data) 647s # { 647s # g_value_unset (&data->orig_value); 647s # g_free (data); 647s # } 647s # 647s # static gboolean 647s # _g_strv_equal0 (gchar **a, gchar **b) 647s # { 647s # gboolean ret = FALSE; 647s # guint n; 647s # if (a == NULL && b == NULL) 647s # { 647s # ret = TRUE; 647s # goto out; 647s # } 647s # if (a == NULL || b == NULL) 647s # goto out; 647s # if (g_strv_length (a) != g_strv_length (b)) 647s # goto out; 647s # for (n = 0; a[n] != NULL; n++) 647s # if (g_strcmp0 (a[n], b[n]) != 0) 647s # goto out; 647s # ret = TRUE; 647s # out: 647s # return ret; 647s # } 647s # 647s # static gboolean 647s # _g_variant_equal0 (GVariant *a, GVariant *b) 647s # { 647s # gboolean ret = FALSE; 647s # if (a == NULL && b == NULL) 647s # { 647s # ret = TRUE; 647s # goto out; 647s # } 647s # if (a == NULL || b == NULL) 647s # goto out; 647s # ret = g_variant_equal (a, b); 647s # out: 647s # return ret; 647s # } 647s # 647s # G_GNUC_UNUSED static gboolean 647s # _g_value_equal (const GValue *a, const GValue *b) 647s # { 647s # gboolean ret = FALSE; 647s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 647s # switch (G_VALUE_TYPE (a)) 647s # { 647s # case G_TYPE_BOOLEAN: 647s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 647s # break; 647s # case G_TYPE_UCHAR: 647s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 647s # break; 647s # case G_TYPE_INT: 647s # ret = (g_value_get_int (a) == g_value_get_int (b)); 647s # break; 647s # case G_TYPE_UINT: 647s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 647s # break; 647s # case G_TYPE_INT64: 647s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 647s # break; 647s # case G_TYPE_UINT64: 647s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 647s # break; 647s # case G_TYPE_DOUBLE: 647s # { 647s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 647s # gdouble da = g_value_get_double (a); 647s # gdouble db = g_value_get_double (b); 647s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 647s # } 647s # break; 647s # case G_TYPE_STRING: 647s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 647s # break; 647s # case G_TYPE_VARIANT: 647s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 647s # break; 647s # default: 647s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 647s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 647s # else 647s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 647s # break; 647s # } 647s # return ret; 647s # } 647s # 647s # static void 647s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 647s # GClosure *closure, 647s # GValue *return_value, 647s # unsigned int n_param_values, 647s # const GValue *param_values, 647s # void *invocation_hint G_GNUC_UNUSED, 647s # void *marshal_data) 647s # { 647s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 647s # (void *data1, 647s # GDBusMethodInvocation *arg_method_invocation, 647s # const gchar *const *arg_arg_as, 647s # void *data2); 647s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 647s # GCClosure *cc = (GCClosure*) closure; 647s # void *data1, *data2; 647s # gboolean v_return; 647s # 647s # g_return_if_fail (return_value != NULL); 647s # g_return_if_fail (n_param_values == 3); 647s # 647s # if (G_CCLOSURE_SWAP_DATA (closure)) 647s # { 647s # data1 = closure->data; 647s # data2 = g_value_peek_pointer (param_values + 0); 647s # } 647s # else 647s # { 647s # data1 = g_value_peek_pointer (param_values + 0); 647s # data2 = closure->data; 647s # } 647s # 647s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 647s # (marshal_data ? marshal_data : cc->callback); 647s # 647s # v_return = 647s # callback (data1, 647s # g_marshal_value_peek_object (param_values + 1), 647s # g_marshal_value_peek_boxed (param_values + 2), 647s # data2); 647s # 647s # g_value_set_boolean (return_value, v_return); 647s # } 647s # 647s # /* ------------------------------------------------------------------------ 647s # * Code for interface org.project.UsefulInterface 647s # * ------------------------------------------------------------------------ 647s # */ 647s # 647s # /** 647s # * SECTION:OrgProjectUsefulInterface 647s # * @title: OrgProjectUsefulInterface 647s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 647s # * 647s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 647s # */ 647s # 647s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 647s # 647s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 647s # { 647s # { 647s # -1, 647s # (gchar *) "arg_as", 647s # (gchar *) "as", 647s # NULL 647s # }, 647s # FALSE 647s # }; 647s # 647s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 647s # { 647s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 647s # NULL 647s # }; 647s # 647s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 647s # { 647s # { 647s # -1, 647s # (gchar *) "SingleArgMethodAs", 647s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 647s # NULL, 647s # NULL 647s # }, 647s # "handle-single-arg-method-as", 647s # FALSE 647s # }; 647s # 647s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 647s # { 647s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 647s # NULL 647s # }; 647s # 647s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 647s # { 647s # { 647s # -1, 647s # (gchar *) "org.project.UsefulInterface", 647s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 647s # NULL, 647s # NULL, 647s # NULL 647s # }, 647s # "org-project-useful-interface", 647s # }; 647s # 647s # 647s # /** 647s # * org_project_useful_interface_interface_info: 647s # * 647s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 647s # * 647s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 647s # */ 647s # GDBusInterfaceInfo * 647s # org_project_useful_interface_interface_info (void) 647s # { 647s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_override_properties: 647s # * @klass: The class structure for a #GObject derived class. 647s # * @property_id_begin: The property id to assign to the first overridden property. 647s # * 647s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 647s # * The properties are overridden in the order they are defined. 647s # * 647s # * Returns: The last property id. 647s # */ 647s # guint 647s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 647s # { 647s # return property_id_begin - 1; 647s # } 647s # 647s # 647s # inline static void 647s # org_project_useful_interface_method_marshal_single_arg_method_as ( 647s # GClosure *closure, 647s # GValue *return_value, 647s # unsigned int n_param_values, 647s # const GValue *param_values, 647s # void *invocation_hint, 647s # void *marshal_data) 647s # { 647s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 647s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 647s # } 647s # 647s # 647s # /** 647s # * OrgProjectUsefulInterface: 647s # * 647s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceIface: 647s # * @parent_iface: The parent interface. 647s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 647s # * 647s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 647s # */ 647s # 647s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 647s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 647s # 647s # static void 647s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 647s # { 647s # /* GObject signals for incoming D-Bus method calls: */ 647s # /** 647s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 647s # * @object: A #OrgProjectUsefulInterface. 647s # * @invocation: A #GDBusMethodInvocation. 647s # * @arg_arg_as: Argument passed by remote caller. 647s # * 647s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 647s # * 647s # * 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. 647s # * 647s # * 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. 647s # */ 647s # g_signal_new ("handle-single-arg-method-as", 647s # G_TYPE_FROM_INTERFACE (iface), 647s # G_SIGNAL_RUN_LAST, 647s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 647s # g_signal_accumulator_true_handled, 647s # NULL, 647s # org_project_useful_interface_method_marshal_single_arg_method_as, 647s # G_TYPE_BOOLEAN, 647s # 2, 647s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 647s # 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_as: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @arg_arg_as: Argument to pass with the method invocation. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 647s # */ 647s # void 647s # org_project_useful_interface_call_single_arg_method_as ( 647s # OrgProjectUsefulInterface *proxy, 647s # const gchar *const *arg_arg_as, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 647s # "SingleArgMethodAs", 647s # g_variant_new ("(^as)", 647s # arg_arg_as), 647s # G_DBUS_CALL_FLAGS_NONE, 647s # -1, 647s # cancellable, 647s # callback, 647s # user_data); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_as_finish: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 647s # * @error: Return location for error or %NULL. 647s # * 647s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 647s # * 647s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 647s # */ 647s # gboolean 647s # org_project_useful_interface_call_single_arg_method_as_finish ( 647s # OrgProjectUsefulInterface *proxy, 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GVariant *_ret; 647s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 647s # if (_ret == NULL) 647s # goto _out; 647s # g_variant_get (_ret, 647s # "()"); 647s # g_variant_unref (_ret); 647s # _out: 647s # return _ret != NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_as_sync: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @arg_arg_as: Argument to pass with the method invocation. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL. 647s # * 647s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 647s # * 647s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 647s # */ 647s # gboolean 647s # org_project_useful_interface_call_single_arg_method_as_sync ( 647s # OrgProjectUsefulInterface *proxy, 647s # const gchar *const *arg_arg_as, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GVariant *_ret; 647s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 647s # "SingleArgMethodAs", 647s # g_variant_new ("(^as)", 647s # arg_arg_as), 647s # G_DBUS_CALL_FLAGS_NONE, 647s # -1, 647s # cancellable, 647s # error); 647s # if (_ret == NULL) 647s # goto _out; 647s # g_variant_get (_ret, 647s # "()"); 647s # g_variant_unref (_ret); 647s # _out: 647s # return _ret != NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_complete_single_arg_method_as: 647s # * @object: A #OrgProjectUsefulInterface. 647s # * @invocation: (transfer full): A #GDBusMethodInvocation. 647s # * 647s # * 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. 647s # * 647s # * This method will free @invocation, you cannot use it afterwards. 647s # */ 647s # void 647s # org_project_useful_interface_complete_single_arg_method_as ( 647s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 647s # GDBusMethodInvocation *invocation) 647s # { 647s # g_dbus_method_invocation_return_value (invocation, 647s # g_variant_new ("()")); 647s # } 647s # 647s # /* ------------------------------------------------------------------------ */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceProxy: 647s # * 647s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceProxyClass: 647s # * @parent_class: The parent class. 647s # * 647s # * Class structure for #OrgProjectUsefulInterfaceProxy. 647s # */ 647s # 647s # struct _OrgProjectUsefulInterfaceProxyPrivate 647s # { 647s # GData *qdata; 647s # }; 647s # 647s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 647s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 647s # 647s # #else 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 647s # 647s # #endif 647s # static void 647s # org_project_useful_interface_proxy_finalize (GObject *object) 647s # { 647s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 647s # g_datalist_clear (&proxy->priv->qdata); 647s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 647s # guint prop_id G_GNUC_UNUSED, 647s # GValue *value G_GNUC_UNUSED, 647s # GParamSpec *pspec G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 647s # guint prop_id G_GNUC_UNUSED, 647s # const GValue *value G_GNUC_UNUSED, 647s # GParamSpec *pspec G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 647s # const gchar *sender_name G_GNUC_UNUSED, 647s # const gchar *signal_name, 647s # GVariant *parameters) 647s # { 647s # _ExtendedGDBusSignalInfo *info; 647s # GVariantIter iter; 647s # GVariant *child; 647s # GValue *paramv; 647s # gsize num_params; 647s # gsize n; 647s # guint signal_id; 647s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 647s # if (info == NULL) 647s # return; 647s # num_params = g_variant_n_children (parameters); 647s # paramv = g_new0 (GValue, num_params + 1); 647s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_set_object (¶mv[0], proxy); 647s # g_variant_iter_init (&iter, parameters); 647s # n = 1; 647s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 647s # { 647s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 647s # if (arg_info->use_gvariant) 647s # { 647s # g_value_init (¶mv[n], G_TYPE_VARIANT); 647s # g_value_set_variant (¶mv[n], child); 647s # n++; 647s # } 647s # else 647s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 647s # g_variant_unref (child); 647s # } 647s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_signal_emitv (paramv, signal_id, 0, NULL); 647s # for (n = 0; n < num_params + 1; n++) 647s # g_value_unset (¶mv[n]); 647s # g_free (paramv); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 647s # GVariant *changed_properties, 647s # const gchar *const *invalidated_properties) 647s # { 647s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 647s # guint n; 647s # const gchar *key; 647s # GVariantIter *iter; 647s # _ExtendedGDBusPropertyInfo *info; 647s # g_variant_get (changed_properties, "a{sv}", &iter); 647s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 647s # { 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 647s # g_datalist_remove_data (&proxy->priv->qdata, key); 647s # if (info != NULL) 647s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 647s # } 647s # g_variant_iter_free (iter); 647s # for (n = 0; invalidated_properties[n] != NULL; n++) 647s # { 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 647s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 647s # if (info != NULL) 647s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 647s # } 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 647s # { 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 647s # #else 647s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 647s # #endif 647s # 647s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 647s # { 647s # GObjectClass *gobject_class; 647s # GDBusProxyClass *proxy_class; 647s # 647s # gobject_class = G_OBJECT_CLASS (klass); 647s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 647s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 647s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 647s # 647s # proxy_class = G_DBUS_PROXY_CLASS (klass); 647s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 647s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 647s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 647s # #endif 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new: 647s # * @connection: A #GDBusConnection. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 647s # * 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 647s # */ 647s # void 647s # org_project_useful_interface_proxy_new ( 647s # GDBusConnection *connection, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_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); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_finish: 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 647s # * @error: Return location for error or %NULL 647s # * 647s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_finish ( 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GObject *ret; 647s # GObject *source_object; 647s # source_object = g_async_result_get_source_object (res); 647s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 647s # g_object_unref (source_object); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_sync: 647s # * @connection: A #GDBusConnection. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL 647s # * 647s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 647s # * 647s # * The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_sync ( 647s # GDBusConnection *connection, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GInitable *ret; 647s # 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); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus: 647s # * @bus_type: A #GBusType. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: A bus name (well-known or unique). 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 647s # * 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 647s # */ 647s # void 647s # org_project_useful_interface_proxy_new_for_bus ( 647s # GBusType bus_type, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_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); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus_finish: 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 647s # * @error: Return location for error or %NULL 647s # * 647s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_for_bus_finish ( 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GObject *ret; 647s # GObject *source_object; 647s # source_object = g_async_result_get_source_object (res); 647s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 647s # g_object_unref (source_object); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus_sync: 647s # * @bus_type: A #GBusType. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: A bus name (well-known or unique). 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL 647s # * 647s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 647s # * 647s # * The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_for_bus_sync ( 647s # GBusType bus_type, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GInitable *ret; 647s # 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); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # 647s # /* ------------------------------------------------------------------------ */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceSkeleton: 647s # * 647s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceSkeletonClass: 647s # * @parent_class: The parent class. 647s # * 647s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 647s # */ 647s # 647s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 647s # { 647s # GValue *properties; 647s # GList *changed_properties; 647s # GSource *changed_properties_idle_source; 647s # GMainContext *context; 647s # GMutex lock; 647s # }; 647s # 647s # static void 647s # _org_project_useful_interface_skeleton_handle_method_call ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name, 647s # const gchar *method_name, 647s # GVariant *parameters, 647s # GDBusMethodInvocation *invocation, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # _ExtendedGDBusMethodInfo *info; 647s # GVariantIter iter; 647s # GVariant *child; 647s # GValue *paramv; 647s # gsize num_params; 647s # guint num_extra; 647s # gsize n; 647s # guint signal_id; 647s # GValue return_value = G_VALUE_INIT; 647s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 647s # g_assert (info != NULL); 647s # num_params = g_variant_n_children (parameters); 647s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 647s # n = 0; 647s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_set_object (¶mv[n++], skeleton); 647s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 647s # g_value_set_object (¶mv[n++], invocation); 647s # if (info->pass_fdlist) 647s # { 647s # #ifdef G_OS_UNIX 647s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 647s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 647s # #else 647s # g_assert_not_reached (); 647s # #endif 647s # } 647s # g_variant_iter_init (&iter, parameters); 647s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 647s # { 647s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 647s # if (arg_info->use_gvariant) 647s # { 647s # g_value_init (¶mv[n], G_TYPE_VARIANT); 647s # g_value_set_variant (¶mv[n], child); 647s # n++; 647s # } 647s # else 647s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 647s # g_variant_unref (child); 647s # } 647s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_init (&return_value, G_TYPE_BOOLEAN); 647s # g_signal_emitv (paramv, signal_id, 0, &return_value); 647s # if (!g_value_get_boolean (&return_value)) 647s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 647s # g_value_unset (&return_value); 647s # for (n = 0; n < num_params + num_extra; n++) 647s # g_value_unset (¶mv[n]); 647s # g_free (paramv); 647s # } 647s # 647s # static GVariant * 647s # _org_project_useful_interface_skeleton_handle_get_property ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name G_GNUC_UNUSED, 647s # const gchar *property_name, 647s # GError **error, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # GValue value = G_VALUE_INIT; 647s # GParamSpec *pspec; 647s # _ExtendedGDBusPropertyInfo *info; 647s # GVariant *ret; 647s # ret = NULL; 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 647s # g_assert (info != NULL); 647s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 647s # if (pspec == NULL) 647s # { 647s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 647s # } 647s # else 647s # { 647s # g_value_init (&value, pspec->value_type); 647s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 647s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 647s # g_value_unset (&value); 647s # } 647s # return ret; 647s # } 647s # 647s # static gboolean 647s # _org_project_useful_interface_skeleton_handle_set_property ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name G_GNUC_UNUSED, 647s # const gchar *property_name, 647s # GVariant *variant, 647s # GError **error, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # GValue value = G_VALUE_INIT; 647s # GParamSpec *pspec; 647s # _ExtendedGDBusPropertyInfo *info; 647s # gboolean ret; 647s # ret = FALSE; 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 647s # g_assert (info != NULL); 647s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 647s # if (pspec == NULL) 647s # { 647s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 647s # } 647s # else 647s # { 647s # if (info->use_gvariant) 647s # g_value_set_variant (&value, variant); 647s # else 647s # g_dbus_gvariant_to_gvalue (variant, &value); 647s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 647s # g_value_unset (&value); 647s # ret = TRUE; 647s # } 647s # return ret; 647s # } 647s # 647s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 647s # { 647s # _org_project_useful_interface_skeleton_handle_method_call, 647s # _org_project_useful_interface_skeleton_handle_get_property, 647s # _org_project_useful_interface_skeleton_handle_set_property, 647s # {NULL} 647s # }; 647s # 647s # static GDBusInterfaceInfo * 647s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 647s # { 647s # return org_project_useful_interface_interface_info (); 647s # } 647s # 647s # static GDBusInterfaceVTable * 647s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 647s # { 647s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 647s # } 647s # 647s # static GVariant * 647s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 647s # 647s # GVariantBuilder builder; 647s # guint n; 647s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 647s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 647s # goto out; 647s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 647s # { 647s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 647s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 647s # { 647s # GVariant *value; 647s # 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); 647s # if (value != NULL) 647s # { 647s # g_variant_take_ref (value); 647s # g_variant_builder_add (&builder, "{sv}", info->name, value); 647s # g_variant_unref (value); 647s # } 647s # } 647s # } 647s # out: 647s # return g_variant_builder_end (&builder); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 647s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 647s # 647s # #else 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 647s # 647s # #endif 647s # static void 647s # org_project_useful_interface_skeleton_finalize (GObject *object) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 647s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 647s # if (skeleton->priv->changed_properties_idle_source != NULL) 647s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 647s # g_main_context_unref (skeleton->priv->context); 647s # g_mutex_clear (&skeleton->priv->lock); 647s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 647s # { 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 647s # #else 647s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 647s # #endif 647s # 647s # g_mutex_init (&skeleton->priv->lock); 647s # skeleton->priv->context = g_main_context_ref_thread_default (); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 647s # { 647s # GObjectClass *gobject_class; 647s # GDBusInterfaceSkeletonClass *skeleton_class; 647s # 647s # gobject_class = G_OBJECT_CLASS (klass); 647s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 647s # 647s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 647s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 647s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 647s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 647s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 647s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 647s # #endif 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_skeleton_new: 647s # * 647s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_skeleton_new (void) 647s # { 647s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 647s # } 647s # /tmp/tmpos1byynm/tmpawdyg8l6.xml: 647s # 647s # 647s # 647s # 647s # 647s # 647s # 647s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpos1byynm/tmpawdyg8l6.xml', '--output', '-', '--body'] 647s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 647s # Output: /* 647s # * This file is generated by gdbus-codegen, do not modify it. 647s # * 647s # * The license of this code is the same as for the D-Bus interface description 647s # * it was derived from. Note that it links to GLib, so must comply with the 647s # * LGPL linking clauses. 647s # */ 647s # 647s # #ifdef HAVE_CONFIG_H 647s # # include "config.h" 647s # #endif 647s # 647s # #include 647s # #ifdef G_OS_UNIX 647s # # include 647s # #endif 647s # 647s # #ifdef G_ENABLE_DEBUG 647s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 647s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 647s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 647s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 647s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 647s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 647s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 647s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 647s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 647s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 647s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 647s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 647s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 647s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 647s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 647s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 647s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 647s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 647s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 647s # #else /* !G_ENABLE_DEBUG */ 647s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 647s # * Do not access GValues directly in your code. Instead, use the 647s # * g_value_get_*() functions 647s # */ 647s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 647s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 647s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 647s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 647s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 647s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 647s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 647s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 647s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 647s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 647s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 647s # #endif /* !G_ENABLE_DEBUG */ 647s # 647s # typedef struct 647s # { 647s # GDBusArgInfo parent_struct; 647s # gboolean use_gvariant; 647s # } _ExtendedGDBusArgInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusMethodInfo parent_struct; 647s # const gchar *signal_name; 647s # gboolean pass_fdlist; 647s # } _ExtendedGDBusMethodInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusSignalInfo parent_struct; 647s # const gchar *signal_name; 647s # } _ExtendedGDBusSignalInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusPropertyInfo parent_struct; 647s # const gchar *hyphen_name; 647s # guint use_gvariant : 1; 647s # guint emits_changed_signal : 1; 647s # } _ExtendedGDBusPropertyInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusInterfaceInfo parent_struct; 647s # const gchar *hyphen_name; 647s # } _ExtendedGDBusInterfaceInfo; 647s # 647s # typedef struct 647s # { 647s # const _ExtendedGDBusPropertyInfo *info; 647s # guint prop_id; 647s # GValue orig_value; /* the value before the change */ 647s # } ChangedProperty; 647s # 647s # static void 647s # _changed_property_free (ChangedProperty *data) 647s # { 647s # g_value_unset (&data->orig_value); 647s # g_free (data); 647s # } 647s # 647s # static gboolean 647s # _g_strv_equal0 (gchar **a, gchar **b) 647s # { 647s # gboolean ret = FALSE; 647s # guint n; 647s # if (a == NULL && b == NULL) 647s # { 647s # ret = TRUE; 647s # goto out; 647s # } 647s # if (a == NULL || b == NULL) 647s # goto out; 647s # if (g_strv_length (a) != g_strv_length (b)) 647s # goto out; 647s # for (n = 0; a[n] != NULL; n++) 647s # if (g_strcmp0 (a[n], b[n]) != 0) 647s # goto out; 647s # ret = TRUE; 647s # out: 647s # return ret; 647s # } 647s # 647s # static gboolean 647s # _g_variant_equal0 (GVariant *a, GVariant *b) 647s # { 647s # gboolean ret = FALSE; 647s # if (a == NULL && b == NULL) 647s # { 647s # ret = TRUE; 647s # goto out; 647s # } 647s # if (a == NULL || b == NULL) 647s # goto out; 647s # ret = g_variant_equal (a, b); 647s # out: 647s # return ret; 647s # } 647s # 647s # G_GNUC_UNUSED static gboolean 647s # _g_value_equal (const GValue *a, const GValue *b) 647s # { 647s # gboolean ret = FALSE; 647s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 647s # switch (G_VALUE_TYPE (a)) 647s # { 647s # case G_TYPE_BOOLEAN: 647s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 647s # break; 647s # case G_TYPE_UCHAR: 647s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 647s # break; 647s # case G_TYPE_INT: 647s # ret = (g_value_get_int (a) == g_value_get_int (b)); 647s # break; 647s # case G_TYPE_UINT: 647s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 647s # break; 647s # case G_TYPE_INT64: 647s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 647s # break; 647s # case G_TYPE_UINT64: 647s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 647s # break; 647s # case G_TYPE_DOUBLE: 647s # { 647s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 647s # gdouble da = g_value_get_double (a); 647s # gdouble db = g_value_get_double (b); 647s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 647s # } 647s # break; 647s # case G_TYPE_STRING: 647s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 647s # break; 647s # case G_TYPE_VARIANT: 647s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 647s # break; 647s # default: 647s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 647s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 647s # else 647s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 647s # break; 647s # } 647s # return ret; 647s # } 647s # 647s # static void 647s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 647s # GClosure *closure, 647s # GValue *return_value, 647s # unsigned int n_param_values, 647s # const GValue *param_values, 647s # void *invocation_hint G_GNUC_UNUSED, 647s # void *marshal_data) 647s # { 647s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 647s # (void *data1, 647s # GDBusMethodInvocation *arg_method_invocation, 647s # const gchar *const *arg_arg_ao, 647s # void *data2); 647s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 647s # GCClosure *cc = (GCClosure*) closure; 647s # void *data1, *data2; 647s # gboolean v_return; 647s # 647s # g_return_if_fail (return_value != NULL); 647s # g_return_if_fail (n_param_values == 3); 647s # 647s # if (G_CCLOSURE_SWAP_DATA (closure)) 647s # { 647s # data1 = closure->data; 647s # data2 = g_value_peek_pointer (param_values + 0); 647s # } 647s # else 647s # { 647s # data1 = g_value_peek_pointer (param_values + 0); 647s # data2 = closure->data; 647s # } 647s # 647s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 647s # (marshal_data ? marshal_data : cc->callback); 647s # 647s # v_return = 647s # callback (data1, 647s # g_marshal_value_peek_object (param_values + 1), 647s # g_marshal_value_peek_boxed (param_values + 2), 647s # data2); 647s # 647s # g_value_set_boolean (return_value, v_return); 647s # } 647s # 647s # /* ------------------------------------------------------------------------ 647s # * Code for interface org.project.UsefulInterface 647s # * ------------------------------------------------------------------------ 647s # */ 647s # 647s # /** 647s # * SECTION:OrgProjectUsefulInterface 647s # * @title: OrgProjectUsefulInterface 647s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 647s # * 647s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 647s # */ 647s # 647s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 647s # 647s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 647s # { 647s # { 647s # -1, 647s # (gchar *) "arg_ao", 647s # (gchar *) "ao", 647s # NULL 647s # }, 647s # FALSE 647s # }; 647s # 647s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 647s # { 647s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 647s # NULL 647s # }; 647s # 647s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 647s # { 647s # { 647s # -1, 647s # (gchar *) "SingleArgMethodAo", 647s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 647s # NULL, 647s # NULL 647s # }, 647s # "handle-single-arg-method-ao", 647s # FALSE 647s # }; 647s # 647s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 647s # { 647s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 647s # NULL 647s # }; 647s # 647s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 647s # { 647s # { 647s # -1, 647s # (gchar *) "org.project.UsefulInterface", 647s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 647s # NULL, 647s # NULL, 647s # NULL 647s # }, 647s # "org-project-useful-interface", 647s # }; 647s # 647s # 647s # /** 647s # * org_project_useful_interface_interface_info: 647s # * 647s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 647s # * 647s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 647s # */ 647s # GDBusInterfaceInfo * 647s # org_project_useful_interface_interface_info (void) 647s # { 647s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_override_properties: 647s # * @klass: The class structure for a #GObject derived class. 647s # * @property_id_begin: The property id to assign to the first overridden property. 647s # * 647s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 647s # * The properties are overridden in the order they are defined. 647s # * 647s # * Returns: The last property id. 647s # */ 647s # guint 647s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 647s # { 647s # return property_id_begin - 1; 647s # } 647s # 647s # 647s # inline static void 647s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 647s # GClosure *closure, 647s # GValue *return_value, 647s # unsigned int n_param_values, 647s # const GValue *param_values, 647s # void *invocation_hint, 647s # void *marshal_data) 647s # { 647s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 647s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 647s # } 647s # 647s # 647s # /** 647s # * OrgProjectUsefulInterface: 647s # * 647s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceIface: 647s # * @parent_iface: The parent interface. 647s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 647s # * 647s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 647s # */ 647s # 647s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 647s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 647s # 647s # static void 647s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 647s # { 647s # /* GObject signals for incoming D-Bus method calls: */ 647s # /** 647s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 647s # * @object: A #OrgProjectUsefulInterface. 647s # * @invocation: A #GDBusMethodInvocation. 647s # * @arg_arg_ao: Argument passed by remote caller. 647s # * 647s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 647s # * 647s # * 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. 647s # * 647s # * 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. 647s # */ 647s # g_signal_new ("handle-single-arg-method-ao", 647s # G_TYPE_FROM_INTERFACE (iface), 647s # G_SIGNAL_RUN_LAST, 647s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 647s # g_signal_accumulator_true_handled, 647s # NULL, 647s # org_project_useful_interface_method_marshal_single_arg_method_ao, 647s # G_TYPE_BOOLEAN, 647s # 2, 647s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 647s # 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_ao: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @arg_arg_ao: Argument to pass with the method invocation. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 647s # */ 647s # void 647s # org_project_useful_interface_call_single_arg_method_ao ( 647s # OrgProjectUsefulInterface *proxy, 647s # const gchar *const *arg_arg_ao, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 647s # "SingleArgMethodAo", 647s # g_variant_new ("(^ao)", 647s # arg_arg_ao), 647s # G_DBUS_CALL_FLAGS_NONE, 647s # -1, 647s # cancellable, 647s # callback, 647s # user_data); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_ao_finish: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 647s # * @error: Return location for error or %NULL. 647s # * 647s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 647s # * 647s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 647s # */ 647s # gboolean 647s # org_project_useful_interface_call_single_arg_method_ao_finish ( 647s # OrgProjectUsefulInterface *proxy, 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GVariant *_ret; 647s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 647s # if (_ret == NULL) 647s # goto _out; 647s # g_variant_get (_ret, 647s # "()"); 647s # g_variant_unref (_ret); 647s # _out: 647s # return _ret != NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_ao_sync: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @arg_arg_ao: Argument to pass with the method invocation. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL. 647s # * 647s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 647s # * 647s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 647s # */ 647s # gboolean 647s # org_project_useful_interface_call_single_arg_method_ao_sync ( 647s # OrgProjectUsefulInterface *proxy, 647s # const gchar *const *arg_arg_ao, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GVariant *_ret; 647s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 647s # "SingleArgMethodAo", 647s # g_variant_new ("(^ao)", 647s # arg_arg_ao), 647s # G_DBUS_CALL_FLAGS_NONE, 647s # -1, 647s # cancellable, 647s # error); 647s # if (_ret == NULL) 647s # goto _out; 647s # g_variant_get (_ret, 647s # "()"); 647s # g_variant_unref (_ret); 647s # _out: 647s # return _ret != NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_complete_single_arg_method_ao: 647s # * @object: A #OrgProjectUsefulInterface. 647s # * @invocation: (transfer full): A #GDBusMethodInvocation. 647s # * 647s # * 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. 647s # * 647s # * This method will free @invocation, you cannot use it afterwards. 647s # */ 647s # void 647s # org_project_useful_interface_complete_single_arg_method_ao ( 647s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 647s # GDBusMethodInvocation *invocation) 647s # { 647s # g_dbus_method_invocation_return_value (invocation, 647s # g_variant_new ("()")); 647s # } 647s # 647s # /* ------------------------------------------------------------------------ */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceProxy: 647s # * 647s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceProxyClass: 647s # * @parent_class: The parent class. 647s # * 647s # * Class structure for #OrgProjectUsefulInterfaceProxy. 647s # */ 647s # 647s # struct _OrgProjectUsefulInterfaceProxyPrivate 647s # { 647s # GData *qdata; 647s # }; 647s # 647s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 647s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 647s # 647s # #else 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 647s # 647s # #endif 647s # static void 647s # org_project_useful_interface_proxy_finalize (GObject *object) 647s # { 647s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 647s # g_datalist_clear (&proxy->priv->qdata); 647s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 647s # guint prop_id G_GNUC_UNUSED, 647s # GValue *value G_GNUC_UNUSED, 647s # GParamSpec *pspec G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 647s # guint prop_id G_GNUC_UNUSED, 647s # const GValue *value G_GNUC_UNUSED, 647s # GParamSpec *pspec G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 647s # const gchar *sender_name G_GNUC_UNUSED, 647s # const gchar *signal_name, 647s # GVariant *parameters) 647s # { 647s # _ExtendedGDBusSignalInfo *info; 647s # GVariantIter iter; 647s # GVariant *child; 647s # GValue *paramv; 647s # gsize num_params; 647s # gsize n; 647s # guint signal_id; 647s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 647s # if (info == NULL) 647s # return; 647s # num_params = g_variant_n_children (parameters); 647s # paramv = g_new0 (GValue, num_params + 1); 647s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_set_object (¶mv[0], proxy); 647s # g_variant_iter_init (&iter, parameters); 647s # n = 1; 647s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 647s # { 647s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 647s # if (arg_info->use_gvariant) 647s # { 647s # g_value_init (¶mv[n], G_TYPE_VARIANT); 647s # g_value_set_variant (¶mv[n], child); 647s # n++; 647s # } 647s # else 647s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 647s # g_variant_unref (child); 647s # } 647s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_signal_emitv (paramv, signal_id, 0, NULL); 647s # for (n = 0; n < num_params + 1; n++) 647s # g_value_unset (¶mv[n]); 647s # g_free (paramv); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 647s # GVariant *changed_properties, 647s # const gchar *const *invalidated_properties) 647s # { 647s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 647s # guint n; 647s # const gchar *key; 647s # GVariantIter *iter; 647s # _ExtendedGDBusPropertyInfo *info; 647s # g_variant_get (changed_properties, "a{sv}", &iter); 647s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 647s # { 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 647s # g_datalist_remove_data (&proxy->priv->qdata, key); 647s # if (info != NULL) 647s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 647s # } 647s # g_variant_iter_free (iter); 647s # for (n = 0; invalidated_properties[n] != NULL; n++) 647s # { 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 647s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 647s # if (info != NULL) 647s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 647s # } 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 647s # { 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 647s # #else 647s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 647s # #endif 647s # 647s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 647s # { 647s # GObjectClass *gobject_class; 647s # GDBusProxyClass *proxy_class; 647s # 647s # gobject_class = G_OBJECT_CLASS (klass); 647s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 647s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 647s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 647s # 647s # proxy_class = G_DBUS_PROXY_CLASS (klass); 647s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 647s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 647s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 647s # #endif 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new: 647s # * @connection: A #GDBusConnection. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 647s # * 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 647s # */ 647s # void 647s # org_project_useful_interface_proxy_new ( 647s # GDBusConnection *connection, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_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); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_finish: 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 647s # * @error: Return location for error or %NULL 647s # * 647s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_finish ( 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GObject *ret; 647s # GObject *source_object; 647s # source_object = g_async_result_get_source_object (res); 647s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 647s # g_object_unref (source_object); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_sync: 647s # * @connection: A #GDBusConnection. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL 647s # * 647s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 647s # * 647s # * The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_sync ( 647s # GDBusConnection *connection, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GInitable *ret; 647s # 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); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus: 647s # * @bus_type: A #GBusType. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: A bus name (well-known or unique). 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 647s # * 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 647s # */ 647s # void 647s # org_project_useful_interface_proxy_new_for_bus ( 647s # GBusType bus_type, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_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); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus_finish: 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 647s # * @error: Return location for error or %NULL 647s # * 647s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_for_bus_finish ( 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GObject *ret; 647s # GObject *source_object; 647s # source_object = g_async_result_get_source_object (res); 647s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 647s # g_object_unref (source_object); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus_sync: 647s # * @bus_type: A #GBusType. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: A bus name (well-known or unique). 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL 647s # * 647s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 647s # * 647s # * The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_for_bus_sync ( 647s # GBusType bus_type, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GInitable *ret; 647s # 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); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # 647s # /* ------------------------------------------------------------------------ */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceSkeleton: 647s # * 647s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceSkeletonClass: 647s # * @parent_class: The parent class. 647s # * 647s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 647s # */ 647s # 647s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 647s # { 647s # GValue *properties; 647s # GList *changed_properties; 647s # GSource *changed_properties_idle_source; 647s # GMainContext *context; 647s # GMutex lock; 647s # }; 647s # 647s # static void 647s # _org_project_useful_interface_skeleton_handle_method_call ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name, 647s # const gchar *method_name, 647s # GVariant *parameters, 647s # GDBusMethodInvocation *invocation, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # _ExtendedGDBusMethodInfo *info; 647s # GVariantIter iter; 647s # GVariant *child; 647s # GValue *paramv; 647s # gsize num_params; 647s # guint num_extra; 647s # gsize n; 647s # guint signal_id; 647s # GValue return_value = G_VALUE_INIT; 647s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 647s # g_assert (info != NULL); 647s # num_params = g_variant_n_children (parameters); 647s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 647s # n = 0; 647s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_set_object (¶mv[n++], skeleton); 647s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 647s # g_value_set_object (¶mv[n++], invocation); 647s # if (info->pass_fdlist) 647s # { 647s # #ifdef G_OS_UNIX 647s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 647s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 647s # #else 647s # g_assert_not_reached (); 647s # #endif 647s # } 647s # g_variant_iter_init (&iter, parameters); 647s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 647s # { 647s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 647s # if (arg_info->use_gvariant) 647s # { 647s # g_value_init (¶mv[n], G_TYPE_VARIANT); 647s # g_value_set_variant (¶mv[n], child); 647s # n++; 647s # } 647s # else 647s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 647s # g_variant_unref (child); 647s # } 647s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_init (&return_value, G_TYPE_BOOLEAN); 647s # g_signal_emitv (paramv, signal_id, 0, &return_value); 647s # if (!g_value_get_boolean (&return_value)) 647s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 647s # g_value_unset (&return_value); 647s # for (n = 0; n < num_params + num_extra; n++) 647s # g_value_unset (¶mv[n]); 647s # g_free (paramv); 647s # } 647s # 647s # static GVariant * 647s # _org_project_useful_interface_skeleton_handle_get_property ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name G_GNUC_UNUSED, 647s # const gchar *property_name, 647s # GError **error, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # GValue value = G_VALUE_INIT; 647s # GParamSpec *pspec; 647s # _ExtendedGDBusPropertyInfo *info; 647s # GVariant *ret; 647s # ret = NULL; 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 647s # g_assert (info != NULL); 647s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 647s # if (pspec == NULL) 647s # { 647s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 647s # } 647s # else 647s # { 647s # g_value_init (&value, pspec->value_type); 647s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 647s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 647s # g_value_unset (&value); 647s # } 647s # return ret; 647s # } 647s # 647s # static gboolean 647s # _org_project_useful_interface_skeleton_handle_set_property ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name G_GNUC_UNUSED, 647s # const gchar *property_name, 647s # GVariant *variant, 647s # GError **error, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # GValue value = G_VALUE_INIT; 647s # GParamSpec *pspec; 647s # _ExtendedGDBusPropertyInfo *info; 647s # gboolean ret; 647s # ret = FALSE; 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 647s # g_assert (info != NULL); 647s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 647s # if (pspec == NULL) 647s # { 647s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 647s # } 647s # else 647s # { 647s # if (info->use_gvariant) 647s # g_value_set_variant (&value, variant); 647s # else 647s # g_dbus_gvariant_to_gvalue (variant, &value); 647s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 647s # g_value_unset (&value); 647s # ret = TRUE; 647s # } 647s # return ret; 647s # } 647s # 647s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 647s # { 647s # _org_project_useful_interface_skeleton_handle_method_call, 647s # _org_project_useful_interface_skeleton_handle_get_property, 647s # _org_project_useful_interface_skeleton_handle_set_property, 647s # {NULL} 647s # }; 647s # 647s # static GDBusInterfaceInfo * 647s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 647s # { 647s # return org_project_useful_interface_interface_info (); 647s # } 647s # 647s # static GDBusInterfaceVTable * 647s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 647s # { 647s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 647s # } 647s # 647s # static GVariant * 647s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 647s # 647s # GVariantBuilder builder; 647s # guint n; 647s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 647s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 647s # goto out; 647s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 647s # { 647s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 647s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 647s # { 647s # GVariant *value; 647s # 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); 647s # if (value != NULL) 647s # { 647s # g_variant_take_ref (value); 647s # g_variant_builder_add (&builder, "{sv}", info->name, value); 647s # g_variant_unref (value); 647s # } 647s # } 647s # } 647s # out: 647s # return g_variant_builder_end (&builder); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 647s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 647s # 647s # #else 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 647s # 647s # #endif 647s # static void 647s # org_project_useful_interface_skeleton_finalize (GObject *object) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 647s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 647s # if (skeleton->priv->changed_properties_idle_source != NULL) 647s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 647s # g_main_context_unref (skeleton->priv->context); 647s # g_mutex_clear (&skeleton->priv->lock); 647s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 647s # { 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 647s # #else 647s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 647s # #endif 647s # 647s # g_mutex_init (&skeleton->priv->lock); 647s # skeleton->priv->context = g_main_context_ref_thread_default (); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 647s # { 647s # GObjectClass *gobject_class; 647s # GDBusInterfaceSkeletonClass *skeleton_class; 647s # 647s # gobject_class = G_OBJECT_CLASS (klass); 647s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 647s # 647s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 647s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 647s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 647s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 647s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 647s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 647s # #endif 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_skeleton_new: 647s # * 647s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_skeleton_new (void) 647s # { 647s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 647s # } 647s # /tmp/tmpos1byynm/tmp0pkmrdbi.xml: 647s # 647s # 647s # 647s # 647s # 647s # 647s # 647s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpos1byynm/tmp0pkmrdbi.xml', '--output', '-', '--body'] 647s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 647s # Output: /* 647s # * This file is generated by gdbus-codegen, do not modify it. 647s # * 647s # * The license of this code is the same as for the D-Bus interface description 647s # * it was derived from. Note that it links to GLib, so must comply with the 647s # * LGPL linking clauses. 647s # */ 647s # 647s # #ifdef HAVE_CONFIG_H 647s # # include "config.h" 647s # #endif 647s # 647s # #include 647s # #ifdef G_OS_UNIX 647s # # include 647s # #endif 647s # 647s # #ifdef G_ENABLE_DEBUG 647s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 647s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 647s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 647s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 647s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 647s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 647s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 647s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 647s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 647s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 647s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 647s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 647s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 647s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 647s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 647s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 647s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 647s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 647s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 647s # #else /* !G_ENABLE_DEBUG */ 647s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 647s # * Do not access GValues directly in your code. Instead, use the 647s # * g_value_get_*() functions 647s # */ 647s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 647s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 647s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 647s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 647s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 647s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 647s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 647s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 647s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 647s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 647s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 647s # #endif /* !G_ENABLE_DEBUG */ 647s # 647s # typedef struct 647s # { 647s # GDBusArgInfo parent_struct; 647s # gboolean use_gvariant; 647s # } _ExtendedGDBusArgInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusMethodInfo parent_struct; 647s # const gchar *signal_name; 647s # gboolean pass_fdlist; 647s # } _ExtendedGDBusMethodInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusSignalInfo parent_struct; 647s # const gchar *signal_name; 647s # } _ExtendedGDBusSignalInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusPropertyInfo parent_struct; 647s # const gchar *hyphen_name; 647s # guint use_gvariant : 1; 647s # guint emits_changed_signal : 1; 647s # } _ExtendedGDBusPropertyInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusInterfaceInfo parent_struct; 647s # const gchar *hyphen_name; 647s # } _ExtendedGDBusInterfaceInfo; 647s # 647s # typedef struct 647s # { 647s # const _ExtendedGDBusPropertyInfo *info; 647s # guint prop_id; 647s # GValue orig_value; /* the value before the change */ 647s # } ChangedProperty; 647s # 647s # static void 647s # _changed_property_free (ChangedProperty *data) 647s # { 647s # g_value_unset (&data->orig_value); 647s # g_free (data); 647s # } 647s # 647s # static gboolean 647s # _g_strv_equal0 (gchar **a, gchar **b) 647s # { 647s # gboolean ret = FALSE; 647s # guint n; 647s # if (a == NULL && b == NULL) 647s # { 647s # ret = TRUE; 647s # goto out; 647s # } 647s # if (a == NULL || b == NULL) 647s # goto out; 647s # if (g_strv_length (a) != g_strv_length (b)) 647s # goto out; 647s # for (n = 0; a[n] != NULL; n++) 647s # if (g_strcmp0 (a[n], b[n]) != 0) 647s # goto out; 647s # ret = TRUE; 647s # out: 647s # return ret; 647s # } 647s # 647s # static gboolean 647s # _g_variant_equal0 (GVariant *a, GVariant *b) 647s # { 647s # gboolean ret = FALSE; 647s # if (a == NULL && b == NULL) 647s # { 647s # ret = TRUE; 647s # goto out; 647s # } 647s # if (a == NULL || b == NULL) 647s # goto out; 647s # ret = g_variant_equal (a, b); 647s # out: 647s # return ret; 647s # } 647s # 647s # G_GNUC_UNUSED static gboolean 647s # _g_value_equal (const GValue *a, const GValue *b) 647s # { 647s # gboolean ret = FALSE; 647s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 647s # switch (G_VALUE_TYPE (a)) 647s # { 647s # case G_TYPE_BOOLEAN: 647s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 647s # break; 647s # case G_TYPE_UCHAR: 647s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 647s # break; 647s # case G_TYPE_INT: 647s # ret = (g_value_get_int (a) == g_value_get_int (b)); 647s # break; 647s # case G_TYPE_UINT: 647s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 647s # break; 647s # case G_TYPE_INT64: 647s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 647s # break; 647s # case G_TYPE_UINT64: 647s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 647s # break; 647s # case G_TYPE_DOUBLE: 647s # { 647s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 647s # gdouble da = g_value_get_double (a); 647s # gdouble db = g_value_get_double (b); 647s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 647s # } 647s # break; 647s # case G_TYPE_STRING: 647s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 647s # break; 647s # case G_TYPE_VARIANT: 647s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 647s # break; 647s # default: 647s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 647s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 647s # else 647s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 647s # break; 647s # } 647s # return ret; 647s # } 647s # 647s # static void 647s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 647s # GClosure *closure, 647s # GValue *return_value, 647s # unsigned int n_param_values, 647s # const GValue *param_values, 647s # void *invocation_hint G_GNUC_UNUSED, 647s # void *marshal_data) 647s # { 647s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 647s # (void *data1, 647s # GDBusMethodInvocation *arg_method_invocation, 647s # const gchar *const *arg_arg_aay, 647s # void *data2); 647s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 647s # GCClosure *cc = (GCClosure*) closure; 647s # void *data1, *data2; 647s # gboolean v_return; 647s # 647s # g_return_if_fail (return_value != NULL); 647s # g_return_if_fail (n_param_values == 3); 647s # 647s # if (G_CCLOSURE_SWAP_DATA (closure)) 647s # { 647s # data1 = closure->data; 647s # data2 = g_value_peek_pointer (param_values + 0); 647s # } 647s # else 647s # { 647s # data1 = g_value_peek_pointer (param_values + 0); 647s # data2 = closure->data; 647s # } 647s # 647s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 647s # (marshal_data ? marshal_data : cc->callback); 647s # 647s # v_return = 647s # callback (data1, 647s # g_marshal_value_peek_object (param_values + 1), 647s # g_marshal_value_peek_boxed (param_values + 2), 647s # data2); 647s # 647s # g_value_set_boolean (return_value, v_return); 647s # } 647s # 647s # /* ------------------------------------------------------------------------ 647s # * Code for interface org.project.UsefulInterface 647s # * ------------------------------------------------------------------------ 647s # */ 647s # 647s # /** 647s # * SECTION:OrgProjectUsefulInterface 647s # * @title: OrgProjectUsefulInterface 647s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 647s # * 647s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 647s # */ 647s # 647s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 647s # 647s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 647s # { 647s # { 647s # -1, 647s # (gchar *) "arg_aay", 647s # (gchar *) "aay", 647s # NULL 647s # }, 647s # FALSE 647s # }; 647s # 647s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 647s # { 647s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 647s # NULL 647s # }; 647s # 647s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 647s # { 647s # { 647s # -1, 647s # (gchar *) "SingleArgMethodAay", 647s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 647s # NULL, 647s # NULL 647s # }, 647s # "handle-single-arg-method-aay", 647s # FALSE 647s # }; 647s # 647s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 647s # { 647s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 647s # NULL 647s # }; 647s # 647s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 647s # { 647s # { 647s # -1, 647s # (gchar *) "org.project.UsefulInterface", 647s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 647s # NULL, 647s # NULL, 647s # NULL 647s # }, 647s # "org-project-useful-interface", 647s # }; 647s # 647s # 647s # /** 647s # * org_project_useful_interface_interface_info: 647s # * 647s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 647s # * 647s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 647s # */ 647s # GDBusInterfaceInfo * 647s # org_project_useful_interface_interface_info (void) 647s # { 647s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_override_properties: 647s # * @klass: The class structure for a #GObject derived class. 647s # * @property_id_begin: The property id to assign to the first overridden property. 647s # * 647s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 647s # * The properties are overridden in the order they are defined. 647s # * 647s # * Returns: The last property id. 647s # */ 647s # guint 647s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 647s # { 647s # return property_id_begin - 1; 647s # } 647s # 647s # 647s # inline static void 647s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 647s # GClosure *closure, 647s # GValue *return_value, 647s # unsigned int n_param_values, 647s # const GValue *param_values, 647s # void *invocation_hint, 647s # void *marshal_data) 647s # { 647s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 647s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 647s # } 647s # 647s # 647s # /** 647s # * OrgProjectUsefulInterface: 647s # * 647s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceIface: 647s # * @parent_iface: The parent interface. 647s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 647s # * 647s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 647s # */ 647s # 647s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 647s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 647s # 647s # static void 647s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 647s # { 647s # /* GObject signals for incoming D-Bus method calls: */ 647s # /** 647s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 647s # * @object: A #OrgProjectUsefulInterface. 647s # * @invocation: A #GDBusMethodInvocation. 647s # * @arg_arg_aay: Argument passed by remote caller. 647s # * 647s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 647s # * 647s # * 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. 647s # * 647s # * 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. 647s # */ 647s # g_signal_new ("handle-single-arg-method-aay", 647s # G_TYPE_FROM_INTERFACE (iface), 647s # G_SIGNAL_RUN_LAST, 647s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 647s # g_signal_accumulator_true_handled, 647s # NULL, 647s # org_project_useful_interface_method_marshal_single_arg_method_aay, 647s # G_TYPE_BOOLEAN, 647s # 2, 647s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 647s # 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_aay: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @arg_arg_aay: Argument to pass with the method invocation. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 647s # */ 647s # void 647s # org_project_useful_interface_call_single_arg_method_aay ( 647s # OrgProjectUsefulInterface *proxy, 647s # const gchar *const *arg_arg_aay, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 647s # "SingleArgMethodAay", 647s # g_variant_new ("(^aay)", 647s # arg_arg_aay), 647s # G_DBUS_CALL_FLAGS_NONE, 647s # -1, 647s # cancellable, 647s # callback, 647s # user_data); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_aay_finish: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 647s # * @error: Return location for error or %NULL. 647s # * 647s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 647s # * 647s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 647s # */ 647s # gboolean 647s # org_project_useful_interface_call_single_arg_method_aay_finish ( 647s # OrgProjectUsefulInterface *proxy, 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GVariant *_ret; 647s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 647s # if (_ret == NULL) 647s # goto _out; 647s # g_variant_get (_ret, 647s # "()"); 647s # g_variant_unref (_ret); 647s # _out: 647s # return _ret != NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_aay_sync: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @arg_arg_aay: Argument to pass with the method invocation. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL. 647s # * 647s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 647s # * 647s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 647s # */ 647s # gboolean 647s # org_project_useful_interface_call_single_arg_method_aay_sync ( 647s # OrgProjectUsefulInterface *proxy, 647s # const gchar *const *arg_arg_aay, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GVariant *_ret; 647s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 647s # "SingleArgMethodAay", 647s # g_variant_new ("(^aay)", 647s # arg_arg_aay), 647s # G_DBUS_CALL_FLAGS_NONE, 647s # -1, 647s # cancellable, 647s # error); 647s # if (_ret == NULL) 647s # goto _out; 647s # g_variant_get (_ret, 647s # "()"); 647s # g_variant_unref (_ret); 647s # _out: 647s # return _ret != NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_complete_single_arg_method_aay: 647s # * @object: A #OrgProjectUsefulInterface. 647s # * @invocation: (transfer full): A #GDBusMethodInvocation. 647s # * 647s # * 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. 647s # * 647s # * This method will free @invocation, you cannot use it afterwards. 647s # */ 647s # void 647s # org_project_useful_interface_complete_single_arg_method_aay ( 647s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 647s # GDBusMethodInvocation *invocation) 647s # { 647s # g_dbus_method_invocation_return_value (invocation, 647s # g_variant_new ("()")); 647s # } 647s # 647s # /* ------------------------------------------------------------------------ */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceProxy: 647s # * 647s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceProxyClass: 647s # * @parent_class: The parent class. 647s # * 647s # * Class structure for #OrgProjectUsefulInterfaceProxy. 647s # */ 647s # 647s # struct _OrgProjectUsefulInterfaceProxyPrivate 647s # { 647s # GData *qdata; 647s # }; 647s # 647s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 647s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 647s # 647s # #else 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 647s # 647s # #endif 647s # static void 647s # org_project_useful_interface_proxy_finalize (GObject *object) 647s # { 647s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 647s # g_datalist_clear (&proxy->priv->qdata); 647s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 647s # guint prop_id G_GNUC_UNUSED, 647s # GValue *value G_GNUC_UNUSED, 647s # GParamSpec *pspec G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 647s # guint prop_id G_GNUC_UNUSED, 647s # const GValue *value G_GNUC_UNUSED, 647s # GParamSpec *pspec G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 647s # const gchar *sender_name G_GNUC_UNUSED, 647s # const gchar *signal_name, 647s # GVariant *parameters) 647s # { 647s # _ExtendedGDBusSignalInfo *info; 647s # GVariantIter iter; 647s # GVariant *child; 647s # GValue *paramv; 647s # gsize num_params; 647s # gsize n; 647s # guint signal_id; 647s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 647s # if (info == NULL) 647s # return; 647s # num_params = g_variant_n_children (parameters); 647s # paramv = g_new0 (GValue, num_params + 1); 647s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_set_object (¶mv[0], proxy); 647s # g_variant_iter_init (&iter, parameters); 647s # n = 1; 647s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 647s # { 647s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 647s # if (arg_info->use_gvariant) 647s # { 647s # g_value_init (¶mv[n], G_TYPE_VARIANT); 647s # g_value_set_variant (¶mv[n], child); 647s # n++; 647s # } 647s # else 647s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 647s # g_variant_unref (child); 647s # } 647s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_signal_emitv (paramv, signal_id, 0, NULL); 647s # for (n = 0; n < num_params + 1; n++) 647s # g_value_unset (¶mv[n]); 647s # g_free (paramv); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 647s # GVariant *changed_properties, 647s # const gchar *const *invalidated_properties) 647s # { 647s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 647s # guint n; 647s # const gchar *key; 647s # GVariantIter *iter; 647s # _ExtendedGDBusPropertyInfo *info; 647s # g_variant_get (changed_properties, "a{sv}", &iter); 647s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 647s # { 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 647s # g_datalist_remove_data (&proxy->priv->qdata, key); 647s # if (info != NULL) 647s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 647s # } 647s # g_variant_iter_free (iter); 647s # for (n = 0; invalidated_properties[n] != NULL; n++) 647s # { 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 647s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 647s # if (info != NULL) 647s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 647s # } 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 647s # { 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 647s # #else 647s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 647s # #endif 647s # 647s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 647s # { 647s # GObjectClass *gobject_class; 647s # GDBusProxyClass *proxy_class; 647s # 647s # gobject_class = G_OBJECT_CLASS (klass); 647s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 647s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 647s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 647s # 647s # proxy_class = G_DBUS_PROXY_CLASS (klass); 647s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 647s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 647s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 647s # #endif 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new: 647s # * @connection: A #GDBusConnection. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 647s # * 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 647s # */ 647s # void 647s # org_project_useful_interface_proxy_new ( 647s # GDBusConnection *connection, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_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); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_finish: 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 647s # * @error: Return location for error or %NULL 647s # * 647s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_finish ( 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GObject *ret; 647s # GObject *source_object; 647s # source_object = g_async_result_get_source_object (res); 647s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 647s # g_object_unref (source_object); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_sync: 647s # * @connection: A #GDBusConnection. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL 647s # * 647s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 647s # * 647s # * The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_sync ( 647s # GDBusConnection *connection, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GInitable *ret; 647s # 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); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus: 647s # * @bus_type: A #GBusType. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: A bus name (well-known or unique). 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 647s # * 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 647s # */ 647s # void 647s # org_project_useful_interface_proxy_new_for_bus ( 647s # GBusType bus_type, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_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); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus_finish: 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 647s # * @error: Return location for error or %NULL 647s # * 647s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_for_bus_finish ( 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GObject *ret; 647s # GObject *source_object; 647s # source_object = g_async_result_get_source_object (res); 647s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 647s # g_object_unref (source_object); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus_sync: 647s # * @bus_type: A #GBusType. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: A bus name (well-known or unique). 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL 647s # * 647s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 647s # * 647s # * The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_for_bus_sync ( 647s # GBusType bus_type, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GInitable *ret; 647s # 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); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # 647s # /* ------------------------------------------------------------------------ */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceSkeleton: 647s # * 647s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceSkeletonClass: 647s # * @parent_class: The parent class. 647s # * 647s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 647s # */ 647s # 647s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 647s # { 647s # GValue *properties; 647s # GList *changed_properties; 647s # GSource *changed_properties_idle_source; 647s # GMainContext *context; 647s # GMutex lock; 647s # }; 647s # 647s # static void 647s # _org_project_useful_interface_skeleton_handle_method_call ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name, 647s # const gchar *method_name, 647s # GVariant *parameters, 647s # GDBusMethodInvocation *invocation, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # _ExtendedGDBusMethodInfo *info; 647s # GVariantIter iter; 647s # GVariant *child; 647s # GValue *paramv; 647s # gsize num_params; 647s # guint num_extra; 647s # gsize n; 647s # guint signal_id; 647s # GValue return_value = G_VALUE_INIT; 647s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 647s # g_assert (info != NULL); 647s # num_params = g_variant_n_children (parameters); 647s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 647s # n = 0; 647s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_set_object (¶mv[n++], skeleton); 647s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 647s # g_value_set_object (¶mv[n++], invocation); 647s # if (info->pass_fdlist) 647s # { 647s # #ifdef G_OS_UNIX 647s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 647s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 647s # #else 647s # g_assert_not_reached (); 647s # #endif 647s # } 647s # g_variant_iter_init (&iter, parameters); 647s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 647s # { 647s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 647s # if (arg_info->use_gvariant) 647s # { 647s # g_value_init (¶mv[n], G_TYPE_VARIANT); 647s # g_value_set_variant (¶mv[n], child); 647s # n++; 647s # } 647s # else 647s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 647s # g_variant_unref (child); 647s # } 647s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_init (&return_value, G_TYPE_BOOLEAN); 647s # g_signal_emitv (paramv, signal_id, 0, &return_value); 647s # if (!g_value_get_boolean (&return_value)) 647s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 647s # g_value_unset (&return_value); 647s # for (n = 0; n < num_params + num_extra; n++) 647s # g_value_unset (¶mv[n]); 647s # g_free (paramv); 647s # } 647s # 647s # static GVariant * 647s # _org_project_useful_interface_skeleton_handle_get_property ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name G_GNUC_UNUSED, 647s # const gchar *property_name, 647s # GError **error, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # GValue value = G_VALUE_INIT; 647s # GParamSpec *pspec; 647s # _ExtendedGDBusPropertyInfo *info; 647s # GVariant *ret; 647s # ret = NULL; 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 647s # g_assert (info != NULL); 647s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 647s # if (pspec == NULL) 647s # { 647s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 647s # } 647s # else 647s # { 647s # g_value_init (&value, pspec->value_type); 647s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 647s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 647s # g_value_unset (&value); 647s # } 647s # return ret; 647s # } 647s # 647s # static gboolean 647s # _org_project_useful_interface_skeleton_handle_set_property ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name G_GNUC_UNUSED, 647s # const gchar *property_name, 647s # GVariant *variant, 647s # GError **error, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # GValue value = G_VALUE_INIT; 647s # GParamSpec *pspec; 647s # _ExtendedGDBusPropertyInfo *info; 647s # gboolean ret; 647s # ret = FALSE; 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 647s # g_assert (info != NULL); 647s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 647s # if (pspec == NULL) 647s # { 647s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 647s # } 647s # else 647s # { 647s # if (info->use_gvariant) 647s # g_value_set_variant (&value, variant); 647s # else 647s # g_dbus_gvariant_to_gvalue (variant, &value); 647s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 647s # g_value_unset (&value); 647s # ret = TRUE; 647s # } 647s # return ret; 647s # } 647s # 647s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 647s # { 647s # _org_project_useful_interface_skeleton_handle_method_call, 647s # _org_project_useful_interface_skeleton_handle_get_property, 647s # _org_project_useful_interface_skeleton_handle_set_property, 647s # {NULL} 647s # }; 647s # 647s # static GDBusInterfaceInfo * 647s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 647s # { 647s # return org_project_useful_interface_interface_info (); 647s # } 647s # 647s # static GDBusInterfaceVTable * 647s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 647s # { 647s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 647s # } 647s # 647s # static GVariant * 647s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 647s # 647s # GVariantBuilder builder; 647s # guint n; 647s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 647s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 647s # goto out; 647s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 647s # { 647s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 647s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 647s # { 647s # GVariant *value; 647s # 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); 647s # if (value != NULL) 647s # { 647s # g_variant_take_ref (value); 647s # g_variant_builder_add (&builder, "{sv}", info->name, value); 647s # g_variant_unref (value); 647s # } 647s # } 647s # } 647s # out: 647s # return g_variant_builder_end (&builder); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 647s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 647s # 647s # #else 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 647s # 647s # #endif 647s # static void 647s # org_project_useful_interface_skeleton_finalize (GObject *object) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 647s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 647s # if (skeleton->priv->changed_properties_idle_source != NULL) 647s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 647s # g_main_context_unref (skeleton->priv->context); 647s # g_mutex_clear (&skeleton->priv->lock); 647s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 647s # { 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 647s # #else 647s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 647s # #endif 647s # 647s # g_mutex_init (&skeleton->priv->lock); 647s # skeleton->priv->context = g_main_context_ref_thread_default (); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 647s # { 647s # GObjectClass *gobject_class; 647s # GDBusInterfaceSkeletonClass *skeleton_class; 647s # 647s # gobject_class = G_OBJECT_CLASS (klass); 647s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 647s # 647s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 647s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 647s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 647s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 647s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 647s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 647s # #endif 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_skeleton_new: 647s # * 647s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_skeleton_new (void) 647s # { 647s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 647s # } 647s # /tmp/tmpos1byynm/tmp_kuwo15d.xml: 647s # 647s # 647s # 647s # 647s # 647s # 647s # 647s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpos1byynm/tmp_kuwo15d.xml', '--output', '-', '--body'] 647s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 647s # Output: /* 647s # * This file is generated by gdbus-codegen, do not modify it. 647s # * 647s # * The license of this code is the same as for the D-Bus interface description 647s # * it was derived from. Note that it links to GLib, so must comply with the 647s # * LGPL linking clauses. 647s # */ 647s # 647s # #ifdef HAVE_CONFIG_H 647s # # include "config.h" 647s # #endif 647s # 647s # #include 647s # #ifdef G_OS_UNIX 647s # # include 647s # #endif 647s # 647s # #ifdef G_ENABLE_DEBUG 647s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 647s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 647s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 647s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 647s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 647s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 647s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 647s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 647s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 647s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 647s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 647s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 647s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 647s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 647s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 647s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 647s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 647s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 647s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 647s # #else /* !G_ENABLE_DEBUG */ 647s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 647s # * Do not access GValues directly in your code. Instead, use the 647s # * g_value_get_*() functions 647s # */ 647s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 647s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 647s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 647s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 647s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 647s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 647s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 647s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 647s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 647s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 647s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 647s # #endif /* !G_ENABLE_DEBUG */ 647s # 647s # typedef struct 647s # { 647s # GDBusArgInfo parent_struct; 647s # gboolean use_gvariant; 647s # } _ExtendedGDBusArgInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusMethodInfo parent_struct; 647s # const gchar *signal_name; 647s # gboolean pass_fdlist; 647s # } _ExtendedGDBusMethodInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusSignalInfo parent_struct; 647s # const gchar *signal_name; 647s # } _ExtendedGDBusSignalInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusPropertyInfo parent_struct; 647s # const gchar *hyphen_name; 647s # guint use_gvariant : 1; 647s # guint emits_changed_signal : 1; 647s # } _ExtendedGDBusPropertyInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusInterfaceInfo parent_struct; 647s # const gchar *hyphen_name; 647s # } _ExtendedGDBusInterfaceInfo; 647s # 647s # typedef struct 647s # { 647s # const _ExtendedGDBusPropertyInfo *info; 647s # guint prop_id; 647s # GValue orig_value; /* the value before the change */ 647s # } ChangedProperty; 647s # 647s # static void 647s # _changed_property_free (ChangedProperty *data) 647s # { 647s # g_value_unset (&data->orig_value); 647s # g_free (data); 647s # } 647s # 647s # static gboolean 647s # _g_strv_equal0 (gchar **a, gchar **b) 647s # { 647s # gboolean ret = FALSE; 647s # guint n; 647s # if (a == NULL && b == NULL) 647s # { 647s # ret = TRUE; 647s # goto out; 647s # } 647s # if (a == NULL || b == NULL) 647s # goto out; 647s # if (g_strv_length (a) != g_strv_length (b)) 647s # goto out; 647s # for (n = 0; a[n] != NULL; n++) 647s # if (g_strcmp0 (a[n], b[n]) != 0) 647s # goto out; 647s # ret = TRUE; 647s # out: 647s # return ret; 647s # } 647s # 647s # static gboolean 647s # _g_variant_equal0 (GVariant *a, GVariant *b) 647s # { 647s # gboolean ret = FALSE; 647s # if (a == NULL && b == NULL) 647s # { 647s # ret = TRUE; 647s # goto out; 647s # } 647s # if (a == NULL || b == NULL) 647s # goto out; 647s # ret = g_variant_equal (a, b); 647s # out: 647s # return ret; 647s # } 647s # 647s # G_GNUC_UNUSED static gboolean 647s # _g_value_equal (const GValue *a, const GValue *b) 647s # { 647s # gboolean ret = FALSE; 647s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 647s # switch (G_VALUE_TYPE (a)) 647s # { 647s # case G_TYPE_BOOLEAN: 647s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 647s # break; 647s # case G_TYPE_UCHAR: 647s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 647s # break; 647s # case G_TYPE_INT: 647s # ret = (g_value_get_int (a) == g_value_get_int (b)); 647s # break; 647s # case G_TYPE_UINT: 647s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 647s # break; 647s # case G_TYPE_INT64: 647s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 647s # break; 647s # case G_TYPE_UINT64: 647s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 647s # break; 647s # case G_TYPE_DOUBLE: 647s # { 647s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 647s # gdouble da = g_value_get_double (a); 647s # gdouble db = g_value_get_double (b); 647s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 647s # } 647s # break; 647s # case G_TYPE_STRING: 647s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 647s # break; 647s # case G_TYPE_VARIANT: 647s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 647s # break; 647s # default: 647s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 647s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 647s # else 647s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 647s # break; 647s # } 647s # return ret; 647s # } 647s # 647s # static void 647s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 647s # GClosure *closure, 647s # GValue *return_value, 647s # unsigned int n_param_values, 647s # const GValue *param_values, 647s # void *invocation_hint G_GNUC_UNUSED, 647s # void *marshal_data) 647s # { 647s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 647s # (void *data1, 647s # GDBusMethodInvocation *arg_method_invocation, 647s # GVariant *arg_arg_asv, 647s # void *data2); 647s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 647s # GCClosure *cc = (GCClosure*) closure; 647s # void *data1, *data2; 647s # gboolean v_return; 647s # 647s # g_return_if_fail (return_value != NULL); 647s # g_return_if_fail (n_param_values == 3); 647s # 647s # if (G_CCLOSURE_SWAP_DATA (closure)) 647s # { 647s # data1 = closure->data; 647s # data2 = g_value_peek_pointer (param_values + 0); 647s # } 647s # else 647s # { 647s # data1 = g_value_peek_pointer (param_values + 0); 647s # data2 = closure->data; 647s # } 647s # 647s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 647s # (marshal_data ? marshal_data : cc->callback); 647s # 647s # v_return = 647s # callback (data1, 647s # g_marshal_value_peek_object (param_values + 1), 647s # g_marshal_value_peek_variant (param_values + 2), 647s # data2); 647s # 647s # g_value_set_boolean (return_value, v_return); 647s # } 647s # 647s # /* ------------------------------------------------------------------------ 647s # * Code for interface org.project.UsefulInterface 647s # * ------------------------------------------------------------------------ 647s # */ 647s # 647s # /** 647s # * SECTION:OrgProjectUsefulInterface 647s # * @title: OrgProjectUsefulInterface 647s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 647s # * 647s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 647s # */ 647s # 647s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 647s # 647s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 647s # { 647s # { 647s # -1, 647s # (gchar *) "arg_asv", 647s # (gchar *) "a{sv}", 647s # NULL 647s # }, 647s # FALSE 647s # }; 647s # 647s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 647s # { 647s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 647s # NULL 647s # }; 647s # 647s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 647s # { 647s # { 647s # -1, 647s # (gchar *) "SingleArgMethodAsv", 647s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 647s # NULL, 647s # NULL 647s # }, 647s # "handle-single-arg-method-asv", 647s # FALSE 647s # }; 647s # 647s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 647s # { 647s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 647s # NULL 647s # }; 647s # 647s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 647s # { 647s # { 647s # -1, 647s # (gchar *) "org.project.UsefulInterface", 647s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 647s # NULL, 647s # NULL, 647s # NULL 647s # }, 647s # "org-project-useful-interface", 647s # }; 647s # 647s # 647s # /** 647s # * org_project_useful_interface_interface_info: 647s # * 647s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 647s # * 647s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 647s # */ 647s # GDBusInterfaceInfo * 647s # org_project_useful_interface_interface_info (void) 647s # { 647s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_override_properties: 647s # * @klass: The class structure for a #GObject derived class. 647s # * @property_id_begin: The property id to assign to the first overridden property. 647s # * 647s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 647s # * The properties are overridden in the order they are defined. 647s # * 647s # * Returns: The last property id. 647s # */ 647s # guint 647s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 647s # { 647s # return property_id_begin - 1; 647s # } 647s # 647s # 647s # inline static void 647s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 647s # GClosure *closure, 647s # GValue *return_value, 647s # unsigned int n_param_values, 647s # const GValue *param_values, 647s # void *invocation_hint, 647s # void *marshal_data) 647s # { 647s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 647s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 647s # } 647s # 647s # 647s # /** 647s # * OrgProjectUsefulInterface: 647s # * 647s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceIface: 647s # * @parent_iface: The parent interface. 647s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 647s # * 647s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 647s # */ 647s # 647s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 647s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 647s # 647s # static void 647s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 647s # { 647s # /* GObject signals for incoming D-Bus method calls: */ 647s # /** 647s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 647s # * @object: A #OrgProjectUsefulInterface. 647s # * @invocation: A #GDBusMethodInvocation. 647s # * @arg_arg_asv: Argument passed by remote caller. 647s # * 647s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 647s # * 647s # * 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. 647s # * 647s # * 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. 647s # */ 647s # g_signal_new ("handle-single-arg-method-asv", 647s # G_TYPE_FROM_INTERFACE (iface), 647s # G_SIGNAL_RUN_LAST, 647s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 647s # g_signal_accumulator_true_handled, 647s # NULL, 647s # org_project_useful_interface_method_marshal_single_arg_method_asv, 647s # G_TYPE_BOOLEAN, 647s # 2, 647s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 647s # 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_asv: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @arg_arg_asv: Argument to pass with the method invocation. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 647s # */ 647s # void 647s # org_project_useful_interface_call_single_arg_method_asv ( 647s # OrgProjectUsefulInterface *proxy, 647s # GVariant *arg_arg_asv, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 647s # "SingleArgMethodAsv", 647s # g_variant_new ("(@a{sv})", 647s # arg_arg_asv), 647s # G_DBUS_CALL_FLAGS_NONE, 647s # -1, 647s # cancellable, 647s # callback, 647s # user_data); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_asv_finish: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 647s # * @error: Return location for error or %NULL. 647s # * 647s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 647s # * 647s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 647s # */ 647s # gboolean 647s # org_project_useful_interface_call_single_arg_method_asv_finish ( 647s # OrgProjectUsefulInterface *proxy, 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GVariant *_ret; 647s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 647s # if (_ret == NULL) 647s # goto _out; 647s # g_variant_get (_ret, 647s # "()"); 647s # g_variant_unref (_ret); 647s # _out: 647s # return _ret != NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_asv_sync: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @arg_arg_asv: Argument to pass with the method invocation. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL. 647s # * 647s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 647s # * 647s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 647s # */ 647s # gboolean 647s # org_project_useful_interface_call_single_arg_method_asv_sync ( 647s # OrgProjectUsefulInterface *proxy, 647s # GVariant *arg_arg_asv, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GVariant *_ret; 647s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 647s # "SingleArgMethodAsv", 647s # g_variant_new ("(@a{sv})", 647s # arg_arg_asv), 647s # G_DBUS_CALL_FLAGS_NONE, 647s # -1, 647s # cancellable, 647s # error); 647s # if (_ret == NULL) 647s # goto _out; 647s # g_variant_get (_ret, 647s # "()"); 647s # g_variant_unref (_ret); 647s # _out: 647s # return _ret != NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_complete_single_arg_method_asv: 647s # * @object: A #OrgProjectUsefulInterface. 647s # * @invocation: (transfer full): A #GDBusMethodInvocation. 647s # * 647s # * 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. 647s # * 647s # * This method will free @invocation, you cannot use it afterwards. 647s # */ 647s # void 647s # org_project_useful_interface_complete_single_arg_method_asv ( 647s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 647s # GDBusMethodInvocation *invocation) 647s # { 647s # g_dbus_method_invocation_return_value (invocation, 647s # g_variant_new ("()")); 647s # } 647s # 647s # /* ------------------------------------------------------------------------ */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceProxy: 647s # * 647s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceProxyClass: 647s # * @parent_class: The parent class. 647s # * 647s # * Class structure for #OrgProjectUsefulInterfaceProxy. 647s # */ 647s # 647s # struct _OrgProjectUsefulInterfaceProxyPrivate 647s # { 647s # GData *qdata; 647s # }; 647s # 647s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 647s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 647s # 647s # #else 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 647s # 647s # #endif 647s # static void 647s # org_project_useful_interface_proxy_finalize (GObject *object) 647s # { 647s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 647s # g_datalist_clear (&proxy->priv->qdata); 647s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 647s # guint prop_id G_GNUC_UNUSED, 647s # GValue *value G_GNUC_UNUSED, 647s # GParamSpec *pspec G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 647s # guint prop_id G_GNUC_UNUSED, 647s # const GValue *value G_GNUC_UNUSED, 647s # GParamSpec *pspec G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 647s # const gchar *sender_name G_GNUC_UNUSED, 647s # const gchar *signal_name, 647s # GVariant *parameters) 647s # { 647s # _ExtendedGDBusSignalInfo *info; 647s # GVariantIter iter; 647s # GVariant *child; 647s # GValue *paramv; 647s # gsize num_params; 647s # gsize n; 647s # guint signal_id; 647s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 647s # if (info == NULL) 647s # return; 647s # num_params = g_variant_n_children (parameters); 647s # paramv = g_new0 (GValue, num_params + 1); 647s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_set_object (¶mv[0], proxy); 647s # g_variant_iter_init (&iter, parameters); 647s # n = 1; 647s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 647s # { 647s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 647s # if (arg_info->use_gvariant) 647s # { 647s # g_value_init (¶mv[n], G_TYPE_VARIANT); 647s # g_value_set_variant (¶mv[n], child); 647s # n++; 647s # } 647s # else 647s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 647s # g_variant_unref (child); 647s # } 647s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_signal_emitv (paramv, signal_id, 0, NULL); 647s # for (n = 0; n < num_params + 1; n++) 647s # g_value_unset (¶mv[n]); 647s # g_free (paramv); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 647s # GVariant *changed_properties, 647s # const gchar *const *invalidated_properties) 647s # { 647s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 647s # guint n; 647s # const gchar *key; 647s # GVariantIter *iter; 647s # _ExtendedGDBusPropertyInfo *info; 647s # g_variant_get (changed_properties, "a{sv}", &iter); 647s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 647s # { 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 647s # g_datalist_remove_data (&proxy->priv->qdata, key); 647s # if (info != NULL) 647s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 647s # } 647s # g_variant_iter_free (iter); 647s # for (n = 0; invalidated_properties[n] != NULL; n++) 647s # { 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 647s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 647s # if (info != NULL) 647s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 647s # } 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 647s # { 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 647s # #else 647s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 647s # #endif 647s # 647s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 647s # { 647s # GObjectClass *gobject_class; 647s # GDBusProxyClass *proxy_class; 647s # 647s # gobject_class = G_OBJECT_CLASS (klass); 647s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 647s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 647s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 647s # 647s # proxy_class = G_DBUS_PROXY_CLASS (klass); 647s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 647s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 647s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 647s # #endif 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new: 647s # * @connection: A #GDBusConnection. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 647s # * 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 647s # */ 647s # void 647s # org_project_useful_interface_proxy_new ( 647s # GDBusConnection *connection, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_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); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_finish: 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 647s # * @error: Return location for error or %NULL 647s # * 647s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_finish ( 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GObject *ret; 647s # GObject *source_object; 647s # source_object = g_async_result_get_source_object (res); 647s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 647s # g_object_unref (source_object); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_sync: 647s # * @connection: A #GDBusConnection. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL 647s # * 647s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 647s # * 647s # * The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_sync ( 647s # GDBusConnection *connection, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GInitable *ret; 647s # 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); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus: 647s # * @bus_type: A #GBusType. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: A bus name (well-known or unique). 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 647s # * 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 647s # */ 647s # void 647s # org_project_useful_interface_proxy_new_for_bus ( 647s # GBusType bus_type, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_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); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus_finish: 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 647s # * @error: Return location for error or %NULL 647s # * 647s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_for_bus_finish ( 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GObject *ret; 647s # GObject *source_object; 647s # source_object = g_async_result_get_source_object (res); 647s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 647s # g_object_unref (source_object); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus_sync: 647s # * @bus_type: A #GBusType. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: A bus name (well-known or unique). 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL 647s # * 647s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 647s # * 647s # * The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_for_bus_sync ( 647s # GBusType bus_type, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GInitable *ret; 647s # 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); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # 647s # /* ------------------------------------------------------------------------ */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceSkeleton: 647s # * 647s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceSkeletonClass: 647s # * @parent_class: The parent class. 647s # * 647s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 647s # */ 647s # 647s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 647s # { 647s # GValue *properties; 647s # GList *changed_properties; 647s # GSource *changed_properties_idle_source; 647s # GMainContext *context; 647s # GMutex lock; 647s # }; 647s # 647s # static void 647s # _org_project_useful_interface_skeleton_handle_method_call ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name, 647s # const gchar *method_name, 647s # GVariant *parameters, 647s # GDBusMethodInvocation *invocation, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # _ExtendedGDBusMethodInfo *info; 647s # GVariantIter iter; 647s # GVariant *child; 647s # GValue *paramv; 647s # gsize num_params; 647s # guint num_extra; 647s # gsize n; 647s # guint signal_id; 647s # GValue return_value = G_VALUE_INIT; 647s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 647s # g_assert (info != NULL); 647s # num_params = g_variant_n_children (parameters); 647s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 647s # n = 0; 647s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_set_object (¶mv[n++], skeleton); 647s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 647s # g_value_set_object (¶mv[n++], invocation); 647s # if (info->pass_fdlist) 647s # { 647s # #ifdef G_OS_UNIX 647s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 647s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 647s # #else 647s # g_assert_not_reached (); 647s # #endif 647s # } 647s # g_variant_iter_init (&iter, parameters); 647s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 647s # { 647s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 647s # if (arg_info->use_gvariant) 647s # { 647s # g_value_init (¶mv[n], G_TYPE_VARIANT); 647s # g_value_set_variant (¶mv[n], child); 647s # n++; 647s # } 647s # else 647s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 647s # g_variant_unref (child); 647s # } 647s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_init (&return_value, G_TYPE_BOOLEAN); 647s # g_signal_emitv (paramv, signal_id, 0, &return_value); 647s # if (!g_value_get_boolean (&return_value)) 647s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 647s # g_value_unset (&return_value); 647s # for (n = 0; n < num_params + num_extra; n++) 647s # g_value_unset (¶mv[n]); 647s # g_free (paramv); 647s # } 647s # 647s # static GVariant * 647s # _org_project_useful_interface_skeleton_handle_get_property ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name G_GNUC_UNUSED, 647s # const gchar *property_name, 647s # GError **error, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # GValue value = G_VALUE_INIT; 647s # GParamSpec *pspec; 647s # _ExtendedGDBusPropertyInfo *info; 647s # GVariant *ret; 647s # ret = NULL; 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 647s # g_assert (info != NULL); 647s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 647s # if (pspec == NULL) 647s # { 647s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 647s # } 647s # else 647s # { 647s # g_value_init (&value, pspec->value_type); 647s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 647s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 647s # g_value_unset (&value); 647s # } 647s # return ret; 647s # } 647s # 647s # static gboolean 647s # _org_project_useful_interface_skeleton_handle_set_property ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name G_GNUC_UNUSED, 647s # const gchar *property_name, 647s # GVariant *variant, 647s # GError **error, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # GValue value = G_VALUE_INIT; 647s # GParamSpec *pspec; 647s # _ExtendedGDBusPropertyInfo *info; 647s # gboolean ret; 647s # ret = FALSE; 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 647s # g_assert (info != NULL); 647s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 647s # if (pspec == NULL) 647s # { 647s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 647s # } 647s # else 647s # { 647s # if (info->use_gvariant) 647s # g_value_set_variant (&value, variant); 647s # else 647s # g_dbus_gvariant_to_gvalue (variant, &value); 647s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 647s # g_value_unset (&value); 647s # ret = TRUE; 647s # } 647s # return ret; 647s # } 647s # 647s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 647s # { 647s # _org_project_useful_interface_skeleton_handle_method_call, 647s # _org_project_useful_interface_skeleton_handle_get_property, 647s # _org_project_useful_interface_skeleton_handle_set_property, 647s # {NULL} 647s # }; 647s # 647s # static GDBusInterfaceInfo * 647s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 647s # { 647s # return org_project_useful_interface_interface_info (); 647s # } 647s # 647s # static GDBusInterfaceVTable * 647s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 647s # { 647s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 647s # } 647s # 647s # static GVariant * 647s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 647s # 647s # GVariantBuilder builder; 647s # guint n; 647s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 647s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 647s # goto out; 647s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 647s # { 647s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 647s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 647s # { 647s # GVariant *value; 647s # 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); 647s # if (value != NULL) 647s # { 647s # g_variant_take_ref (value); 647s # g_variant_builder_add (&builder, "{sv}", info->name, value); 647s # g_variant_unref (value); 647s # } 647s # } 647s # } 647s # out: 647s # return g_variant_builder_end (&builder); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 647s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 647s # 647s # #else 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 647s # 647s # #endif 647s # static void 647s # org_project_useful_interface_skeleton_finalize (GObject *object) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 647s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 647s # if (skeleton->priv->changed_properties_idle_source != NULL) 647s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 647s # g_main_context_unref (skeleton->priv->context); 647s # g_mutex_clear (&skeleton->priv->lock); 647s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 647s # { 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 647s # #else 647s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 647s # #endif 647s # 647s # g_mutex_init (&skeleton->priv->lock); 647s # skeleton->priv->context = g_main_context_ref_thread_default (); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 647s # { 647s # GObjectClass *gobject_class; 647s # GDBusInterfaceSkeletonClass *skeleton_class; 647s # 647s # gobject_class = G_OBJECT_CLASS (klass); 647s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 647s # 647s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 647s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 647s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 647s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 647s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 647s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 647s # #endif 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_skeleton_new: 647s # * 647s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_skeleton_new (void) 647s # { 647s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 647s # } 647s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 647s # tmpdir: /tmp/tmpy0e6khrq 647s # codegen: /usr/bin/gdbus-codegen 647s # /tmp/tmpy0e6khrq/tmppjacrr7v.xml: 647s # 647s # 647s # 647s # 647s # 647s # 647s # 647s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy0e6khrq/tmppjacrr7v.xml', '--output', '-', '--body'] 647s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 647s # Output: /* 647s # * This file is generated by gdbus-codegen, do not modify it. 647s # * 647s # * The license of this code is the same as for the D-Bus interface description 647s # * it was derived from. Note that it links to GLib, so must comply with the 647s # * LGPL linking clauses. 647s # */ 647s # 647s # #ifdef HAVE_CONFIG_H 647s # # include "config.h" 647s # #endif 647s # 647s # #include 647s # #ifdef G_OS_UNIX 647s # # include 647s # #endif 647s # 647s # #ifdef G_ENABLE_DEBUG 647s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 647s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 647s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 647s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 647s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 647s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 647s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 647s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 647s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 647s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 647s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 647s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 647s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 647s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 647s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 647s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 647s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 647s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 647s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 647s # #else /* !G_ENABLE_DEBUG */ 647s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 647s # * Do not access GValues directly in your code. Instead, use the 647s # * g_value_get_*() functions 647s # */ 647s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 647s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 647s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 647s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 647s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 647s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 647s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 647s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 647s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 647s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 647s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 647s # #endif /* !G_ENABLE_DEBUG */ 647s # 647s # typedef struct 647s # { 647s # GDBusArgInfo parent_struct; 647s # gboolean use_gvariant; 647s # } _ExtendedGDBusArgInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusMethodInfo parent_struct; 647s # const gchar *signal_name; 647s # gboolean pass_fdlist; 647s # } _ExtendedGDBusMethodInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusSignalInfo parent_struct; 647s # const gchar *signal_name; 647s # } _ExtendedGDBusSignalInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusPropertyInfo parent_struct; 647s # const gchar *hyphen_name; 647s # guint use_gvariant : 1; 647s # guint emits_changed_signal : 1; 647s # } _ExtendedGDBusPropertyInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusInterfaceInfo parent_struct; 647s # const gchar *hyphen_name; 647s # } _ExtendedGDBusInterfaceInfo; 647s # 647s # typedef struct 647s # { 647s # const _ExtendedGDBusPropertyInfo *info; 647s # guint prop_id; 647s # GValue orig_value; /* the value before the change */ 647s # } ChangedProperty; 647s # 647s # static void 647s # _changed_property_free (ChangedProperty *data) 647s # { 647s # g_value_unset (&data->orig_value); 647s # g_free (data); 647s # } 647s # 647s # static gboolean 647s # _g_strv_equal0 (gchar **a, gchar **b) 647s # { 647s # gboolean ret = FALSE; 647s # guint n; 647s # if (a == NULL && b == NULL) 647s # { 647s # ret = TRUE; 647s # goto out; 647s # } 647s # if (a == NULL || b == NULL) 647s # goto out; 647s # if (g_strv_length (a) != g_strv_length (b)) 647s # goto out; 647s # for (n = 0; a[n] != NULL; n++) 647s # if (g_strcmp0 (a[n], b[n]) != 0) 647s # goto out; 647s # ret = TRUE; 647s # out: 647s # return ret; 647s # } 647s # 647s # static gboolean 647s # _g_variant_equal0 (GVariant *a, GVariant *b) 647s # { 647s # gboolean ret = FALSE; 647s # if (a == NULL && b == NULL) 647s # { 647s # ret = TRUE; 647s # goto out; 647s # } 647s # if (a == NULL || b == NULL) 647s # goto out; 647s # ret = g_variant_equal (a, b); 647s # out: 647s # return ret; 647s # } 647s # 647s # G_GNUC_UNUSED static gboolean 647s # _g_value_equal (const GValue *a, const GValue *b) 647s # { 647s # gboolean ret = FALSE; 647s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 647s # switch (G_VALUE_TYPE (a)) 647s # { 647s # case G_TYPE_BOOLEAN: 647s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 647s # break; 647s # case G_TYPE_UCHAR: 647s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 647s # break; 647s # case G_TYPE_INT: 647s # ret = (g_value_get_int (a) == g_value_get_int (b)); 647s # break; 647s # case G_TYPE_UINT: 647s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 647s # break; 647s # case G_TYPE_INT64: 647s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 647s # break; 647s # case G_TYPE_UINT64: 647s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 647s # break; 647s # case G_TYPE_DOUBLE: 647s # { 647s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 647s # gdouble da = g_value_get_double (a); 647s # gdouble db = g_value_get_double (b); 647s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 647s # } 647s # break; 647s # case G_TYPE_STRING: 647s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 647s # break; 647s # case G_TYPE_VARIANT: 647s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 647s # break; 647s # default: 647s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 647s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 647s # else 647s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 647s # break; 647s # } 647s # return ret; 647s # } 647s # 647s # static void 647s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 647s # GClosure *closure, 647s # GValue *return_value, 647s # unsigned int n_param_values, 647s # const GValue *param_values, 647s # void *invocation_hint G_GNUC_UNUSED, 647s # void *marshal_data) 647s # { 647s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 647s # (void *data1, 647s # GDBusMethodInvocation *arg_method_invocation, 647s # void *data2); 647s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 647s # GCClosure *cc = (GCClosure*) closure; 647s # void *data1, *data2; 647s # gboolean v_return; 647s # 647s # g_return_if_fail (return_value != NULL); 647s # g_return_if_fail (n_param_values == 2); 647s # 647s # if (G_CCLOSURE_SWAP_DATA (closure)) 647s # { 647s # data1 = closure->data; 647s # data2 = g_value_peek_pointer (param_values + 0); 647s # } 647s # else 647s # { 647s # data1 = g_value_peek_pointer (param_values + 0); 647s # data2 = closure->data; 647s # } 647s # 647s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 647s # (marshal_data ? marshal_data : cc->callback); 647s # 647s # v_return = 647s # callback (data1, 647s # g_marshal_value_peek_object (param_values + 1), 647s # data2); 647s # 647s # g_value_set_boolean (return_value, v_return); 647s # } 647s # 647s # /* ------------------------------------------------------------------------ 647s # * Code for interface org.project.UsefulInterface 647s # * ------------------------------------------------------------------------ 647s # */ 647s # 647s # /** 647s # * SECTION:OrgProjectUsefulInterface 647s # * @title: OrgProjectUsefulInterface 647s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 647s # * 647s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 647s # */ 647s # 647s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 647s # 647s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 647s # { 647s # { 647s # -1, 647s # (gchar *) "arg_b", 647s # (gchar *) "b", 647s # NULL 647s # }, 647s # FALSE 647s # }; 647s # 647s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 647s # { 647s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 647s # NULL 647s # }; 647s # 647s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 647s # { 647s # { 647s # -1, 647s # (gchar *) "SingleArgMethodB", 647s # NULL, 647s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 647s # NULL 647s # }, 647s # "handle-single-arg-method-b", 647s # FALSE 647s # }; 647s # 647s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 647s # { 647s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 647s # NULL 647s # }; 647s # 647s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 647s # { 647s # { 647s # -1, 647s # (gchar *) "org.project.UsefulInterface", 647s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 647s # NULL, 647s # NULL, 647s # NULL 647s # }, 647s # "org-project-useful-interface", 647s # }; 647s # 647s # 647s # /** 647s # * org_project_useful_interface_interface_info: 647s # * 647s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 647s # * 647s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 647s # */ 647s # GDBusInterfaceInfo * 647s # org_project_useful_interface_interface_info (void) 647s # { 647s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_override_properties: 647s # * @klass: The class structure for a #GObject derived class. 647s # * @property_id_begin: The property id to assign to the first overridden property. 647s # * 647s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 647s # * The properties are overridden in the order they are defined. 647s # * 647s # * Returns: The last property id. 647s # */ 647s # guint 647s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 647s # { 647s # return property_id_begin - 1; 647s # } 647s # 647s # 647s # inline static void 647s # org_project_useful_interface_method_marshal_single_arg_method_b ( 647s # GClosure *closure, 647s # GValue *return_value, 647s # unsigned int n_param_values, 647s # const GValue *param_values, 647s # void *invocation_hint, 647s # void *marshal_data) 647s # { 647s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 647s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 647s # } 647s # 647s # 647s # /** 647s # * OrgProjectUsefulInterface: 647s # * 647s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceIface: 647s # * @parent_iface: The parent interface. 647s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 647s # * 647s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 647s # */ 647s # 647s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 647s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 647s # 647s # static void 647s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 647s # { 647s # /* GObject signals for incoming D-Bus method calls: */ 647s # /** 647s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 647s # * @object: A #OrgProjectUsefulInterface. 647s # * @invocation: A #GDBusMethodInvocation. 647s # * 647s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 647s # * 647s # * 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. 647s # * 647s # * 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. 647s # */ 647s # g_signal_new ("handle-single-arg-method-b", 647s # G_TYPE_FROM_INTERFACE (iface), 647s # G_SIGNAL_RUN_LAST, 647s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 647s # g_signal_accumulator_true_handled, 647s # NULL, 647s # org_project_useful_interface_method_marshal_single_arg_method_b, 647s # G_TYPE_BOOLEAN, 647s # 1, 647s # G_TYPE_DBUS_METHOD_INVOCATION); 647s # 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_b: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 647s # */ 647s # void 647s # org_project_useful_interface_call_single_arg_method_b ( 647s # OrgProjectUsefulInterface *proxy, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 647s # "SingleArgMethodB", 647s # g_variant_new ("()"), 647s # G_DBUS_CALL_FLAGS_NONE, 647s # -1, 647s # cancellable, 647s # callback, 647s # user_data); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_b_finish: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 647s # * @error: Return location for error or %NULL. 647s # * 647s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 647s # * 647s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 647s # */ 647s # gboolean 647s # org_project_useful_interface_call_single_arg_method_b_finish ( 647s # OrgProjectUsefulInterface *proxy, 647s # gboolean *out_arg_b, 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GVariant *_ret; 647s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 647s # if (_ret == NULL) 647s # goto _out; 647s # g_variant_get (_ret, 647s # "(b)", 647s # out_arg_b); 647s # g_variant_unref (_ret); 647s # _out: 647s # return _ret != NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_b_sync: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL. 647s # * 647s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 647s # * 647s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 647s # */ 647s # gboolean 647s # org_project_useful_interface_call_single_arg_method_b_sync ( 647s # OrgProjectUsefulInterface *proxy, 647s # gboolean *out_arg_b, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GVariant *_ret; 647s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 647s # "SingleArgMethodB", 647s # g_variant_new ("()"), 647s # G_DBUS_CALL_FLAGS_NONE, 647s # -1, 647s # cancellable, 647s # error); 647s # if (_ret == NULL) 647s # goto _out; 647s # g_variant_get (_ret, 647s # "(b)", 647s # out_arg_b); 647s # g_variant_unref (_ret); 647s # _out: 647s # return _ret != NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_complete_single_arg_method_b: 647s # * @object: A #OrgProjectUsefulInterface. 647s # * @invocation: (transfer full): A #GDBusMethodInvocation. 647s # * @arg_b: Parameter to return. 647s # * 647s # * 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. 647s # * 647s # * This method will free @invocation, you cannot use it afterwards. 647s # */ 647s # void 647s # org_project_useful_interface_complete_single_arg_method_b ( 647s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 647s # GDBusMethodInvocation *invocation, 647s # gboolean arg_b) 647s # { 647s # g_dbus_method_invocation_return_value (invocation, 647s # g_variant_new ("(b)", 647s # arg_b)); 647s # } 647s # 647s # /* ------------------------------------------------------------------------ */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceProxy: 647s # * 647s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceProxyClass: 647s # * @parent_class: The parent class. 647s # * 647s # * Class structure for #OrgProjectUsefulInterfaceProxy. 647s # */ 647s # 647s # struct _OrgProjectUsefulInterfaceProxyPrivate 647s # { 647s # GData *qdata; 647s # }; 647s # 647s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 647s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 647s # 647s # #else 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 647s # 647s # #endif 647s # static void 647s # org_project_useful_interface_proxy_finalize (GObject *object) 647s # { 647s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 647s # g_datalist_clear (&proxy->priv->qdata); 647s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 647s # guint prop_id G_GNUC_UNUSED, 647s # GValue *value G_GNUC_UNUSED, 647s # GParamSpec *pspec G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 647s # guint prop_id G_GNUC_UNUSED, 647s # const GValue *value G_GNUC_UNUSED, 647s # GParamSpec *pspec G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 647s # const gchar *sender_name G_GNUC_UNUSED, 647s # const gchar *signal_name, 647s # GVariant *parameters) 647s # { 647s # _ExtendedGDBusSignalInfo *info; 647s # GVariantIter iter; 647s # GVariant *child; 647s # GValue *paramv; 647s # gsize num_params; 647s # gsize n; 647s # guint signal_id; 647s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 647s # if (info == NULL) 647s # return; 647s # num_params = g_variant_n_children (parameters); 647s # paramv = g_new0 (GValue, num_params + 1); 647s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_set_object (¶mv[0], proxy); 647s # g_variant_iter_init (&iter, parameters); 647s # n = 1; 647s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 647s # { 647s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 647s # if (arg_info->use_gvariant) 647s # { 647s # g_value_init (¶mv[n], G_TYPE_VARIANT); 647s # g_value_set_variant (¶mv[n], child); 647s # n++; 647s # } 647s # else 647s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 647s # g_variant_unref (child); 647s # } 647s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_signal_emitv (paramv, signal_id, 0, NULL); 647s # for (n = 0; n < num_params + 1; n++) 647s # g_value_unset (¶mv[n]); 647s # g_free (paramv); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 647s # GVariant *changed_properties, 647s # const gchar *const *invalidated_properties) 647s # { 647s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 647s # guint n; 647s # const gchar *key; 647s # GVariantIter *iter; 647s # _ExtendedGDBusPropertyInfo *info; 647s # g_variant_get (changed_properties, "a{sv}", &iter); 647s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 647s # { 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 647s # g_datalist_remove_data (&proxy->priv->qdata, key); 647s # if (info != NULL) 647s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 647s # } 647s # g_variant_iter_free (iter); 647s # for (n = 0; invalidated_properties[n] != NULL; n++) 647s # { 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 647s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 647s # if (info != NULL) 647s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 647s # } 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 647s # { 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 647s # #else 647s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 647s # #endif 647s # 647s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 647s # { 647s # GObjectClass *gobject_class; 647s # GDBusProxyClass *proxy_class; 647s # 647s # gobject_class = G_OBJECT_CLASS (klass); 647s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 647s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 647s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 647s # 647s # proxy_class = G_DBUS_PROXY_CLASS (klass); 647s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 647s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 647s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 647s # #endif 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new: 647s # * @connection: A #GDBusConnection. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 647s # * 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 647s # */ 647s # void 647s # org_project_useful_interface_proxy_new ( 647s # GDBusConnection *connection, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_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); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_finish: 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 647s # * @error: Return location for error or %NULL 647s # * 647s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_finish ( 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GObject *ret; 647s # GObject *source_object; 647s # source_object = g_async_result_get_source_object (res); 647s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 647s # g_object_unref (source_object); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_sync: 647s # * @connection: A #GDBusConnection. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL 647s # * 647s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 647s # * 647s # * The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_sync ( 647s # GDBusConnection *connection, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GInitable *ret; 647s # 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); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus: 647s # * @bus_type: A #GBusType. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: A bus name (well-known or unique). 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 647s # * 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 647s # */ 647s # void 647s # org_project_useful_interface_proxy_new_for_bus ( 647s # GBusType bus_type, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_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); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus_finish: 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 647s # * @error: Return location for error or %NULL 647s # * 647s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_for_bus_finish ( 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GObject *ret; 647s # GObject *source_object; 647s # source_object = g_async_result_get_source_object (res); 647s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 647s # g_object_unref (source_object); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus_sync: 647s # * @bus_type: A #GBusType. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: A bus name (well-known or unique). 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL 647s # * 647s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 647s # * 647s # * The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_for_bus_sync ( 647s # GBusType bus_type, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GInitable *ret; 647s # 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); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # 647s # /* ------------------------------------------------------------------------ */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceSkeleton: 647s # * 647s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceSkeletonClass: 647s # * @parent_class: The parent class. 647s # * 647s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 647s # */ 647s # 647s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 647s # { 647s # GValue *properties; 647s # GList *changed_properties; 647s # GSource *changed_properties_idle_source; 647s # GMainContext *context; 647s # GMutex lock; 647s # }; 647s # 647s # static void 647s # _org_project_useful_interface_skeleton_handle_method_call ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name, 647s # const gchar *method_name, 647s # GVariant *parameters, 647s # GDBusMethodInvocation *invocation, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # _ExtendedGDBusMethodInfo *info; 647s # GVariantIter iter; 647s # GVariant *child; 647s # GValue *paramv; 647s # gsize num_params; 647s # guint num_extra; 647s # gsize n; 647s # guint signal_id; 647s # GValue return_value = G_VALUE_INIT; 647s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 647s # g_assert (info != NULL); 647s # num_params = g_variant_n_children (parameters); 647s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 647s # n = 0; 647s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_set_object (¶mv[n++], skeleton); 647s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 647s # g_value_set_object (¶mv[n++], invocation); 647s # if (info->pass_fdlist) 647s # { 647s # #ifdef G_OS_UNIX 647s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 647s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 647s # #else 647s # g_assert_not_reached (); 647s # #endif 647s # } 647s # g_variant_iter_init (&iter, parameters); 647s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 647s # { 647s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 647s # if (arg_info->use_gvariant) 647s # { 647s # g_value_init (¶mv[n], G_TYPE_VARIANT); 647s # g_value_set_variant (¶mv[n], child); 647s # n++; 647s # } 647s # else 647s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 647s # g_variant_unref (child); 647s # } 647s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_init (&return_value, G_TYPE_BOOLEAN); 647s # g_signal_emitv (paramv, signal_id, 0, &return_value); 647s # if (!g_value_get_boolean (&return_value)) 647s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 647s # g_value_unset (&return_value); 647s # for (n = 0; n < num_params + num_extra; n++) 647s # g_value_unset (¶mv[n]); 647s # g_free (paramv); 647s # } 647s # 647s # static GVariant * 647s # _org_project_useful_interface_skeleton_handle_get_property ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name G_GNUC_UNUSED, 647s # const gchar *property_name, 647s # GError **error, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # GValue value = G_VALUE_INIT; 647s # GParamSpec *pspec; 647s # _ExtendedGDBusPropertyInfo *info; 647s # GVariant *ret; 647s # ret = NULL; 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 647s # g_assert (info != NULL); 647s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 647s # if (pspec == NULL) 647s # { 647s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 647s # } 647s # else 647s # { 647s # g_value_init (&value, pspec->value_type); 647s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 647s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 647s # g_value_unset (&value); 647s # } 647s # return ret; 647s # } 647s # 647s # static gboolean 647s # _org_project_useful_interface_skeleton_handle_set_property ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name G_GNUC_UNUSED, 647s # const gchar *property_name, 647s # GVariant *variant, 647s # GError **error, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # GValue value = G_VALUE_INIT; 647s # GParamSpec *pspec; 647s # _ExtendedGDBusPropertyInfo *info; 647s # gboolean ret; 647s # ret = FALSE; 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 647s # g_assert (info != NULL); 647s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 647s # if (pspec == NULL) 647s # { 647s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 647s # } 647s # else 647s # { 647s # if (info->use_gvariant) 647s # g_value_set_variant (&value, variant); 647s # else 647s # g_dbus_gvariant_to_gvalue (variant, &value); 647s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 647s # g_value_unset (&value); 647s # ret = TRUE; 647s # } 647s # return ret; 647s # } 647s # 647s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 647s # { 647s # _org_project_useful_interface_skeleton_handle_method_call, 647s # _org_project_useful_interface_skeleton_handle_get_property, 647s # _org_project_useful_interface_skeleton_handle_set_property, 647s # {NULL} 647s # }; 647s # 647s # static GDBusInterfaceInfo * 647s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 647s # { 647s # return org_project_useful_interface_interface_info (); 647s # } 647s # 647s # static GDBusInterfaceVTable * 647s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 647s # { 647s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 647s # } 647s # 647s # static GVariant * 647s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 647s # 647s # GVariantBuilder builder; 647s # guint n; 647s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 647s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 647s # goto out; 647s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 647s # { 647s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 647s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 647s # { 647s # GVariant *value; 647s # 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); 647s # if (value != NULL) 647s # { 647s # g_variant_take_ref (value); 647s # g_variant_builder_add (&builder, "{sv}", info->name, value); 647s # g_variant_unref (value); 647s # } 647s # } 647s # } 647s # out: 647s # return g_variant_builder_end (&builder); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 647s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 647s # 647s # #else 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 647s # 647s # #endif 647s # static void 647s # org_project_useful_interface_skeleton_finalize (GObject *object) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 647s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 647s # if (skeleton->priv->changed_properties_idle_source != NULL) 647s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 647s # g_main_context_unref (skeleton->priv->context); 647s # g_mutex_clear (&skeleton->priv->lock); 647s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 647s # { 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 647s # #else 647s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 647s # #endif 647s # 647s # g_mutex_init (&skeleton->priv->lock); 647s # skeleton->priv->context = g_main_context_ref_thread_default (); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 647s # { 647s # GObjectClass *gobject_class; 647s # GDBusInterfaceSkeletonClass *skeleton_class; 647s # 647s # gobject_class = G_OBJECT_CLASS (klass); 647s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 647s # 647s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 647s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 647s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 647s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 647s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 647s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 647s # #endif 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_skeleton_new: 647s # * 647s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_skeleton_new (void) 647s # { 647s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 647s # } 647s # /tmp/tmpy0e6khrq/tmp4tk4oo6y.xml: 647s # 647s # 647s # 647s # 647s # 647s # 647s # 647s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy0e6khrq/tmp4tk4oo6y.xml', '--output', '-', '--body'] 647s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 647s # Output: /* 647s # * This file is generated by gdbus-codegen, do not modify it. 647s # * 647s # * The license of this code is the same as for the D-Bus interface description 647s # * it was derived from. Note that it links to GLib, so must comply with the 647s # * LGPL linking clauses. 647s # */ 647s # 647s # #ifdef HAVE_CONFIG_H 647s # # include "config.h" 647s # #endif 647s # 647s # #include 647s # #ifdef G_OS_UNIX 647s # # include 647s # #endif 647s # 647s # #ifdef G_ENABLE_DEBUG 647s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 647s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 647s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 647s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 647s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 647s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 647s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 647s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 647s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 647s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 647s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 647s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 647s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 647s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 647s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 647s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 647s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 647s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 647s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 647s # #else /* !G_ENABLE_DEBUG */ 647s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 647s # * Do not access GValues directly in your code. Instead, use the 647s # * g_value_get_*() functions 647s # */ 647s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 647s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 647s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 647s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 647s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 647s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 647s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 647s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 647s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 647s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 647s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 647s # #endif /* !G_ENABLE_DEBUG */ 647s # 647s # typedef struct 647s # { 647s # GDBusArgInfo parent_struct; 647s # gboolean use_gvariant; 647s # } _ExtendedGDBusArgInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusMethodInfo parent_struct; 647s # const gchar *signal_name; 647s # gboolean pass_fdlist; 647s # } _ExtendedGDBusMethodInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusSignalInfo parent_struct; 647s # const gchar *signal_name; 647s # } _ExtendedGDBusSignalInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusPropertyInfo parent_struct; 647s # const gchar *hyphen_name; 647s # guint use_gvariant : 1; 647s # guint emits_changed_signal : 1; 647s # } _ExtendedGDBusPropertyInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusInterfaceInfo parent_struct; 647s # const gchar *hyphen_name; 647s # } _ExtendedGDBusInterfaceInfo; 647s # 647s # typedef struct 647s # { 647s # const _ExtendedGDBusPropertyInfo *info; 647s # guint prop_id; 647s # GValue orig_value; /* the value before the change */ 647s # } ChangedProperty; 647s # 647s # static void 647s # _changed_property_free (ChangedProperty *data) 647s # { 647s # g_value_unset (&data->orig_value); 647s # g_free (data); 647s # } 647s # 647s # static gboolean 647s # _g_strv_equal0 (gchar **a, gchar **b) 647s # { 647s # gboolean ret = FALSE; 647s # guint n; 647s # if (a == NULL && b == NULL) 647s # { 647s # ret = TRUE; 647s # goto out; 647s # } 647s # if (a == NULL || b == NULL) 647s # goto out; 647s # if (g_strv_length (a) != g_strv_length (b)) 647s # goto out; 647s # for (n = 0; a[n] != NULL; n++) 647s # if (g_strcmp0 (a[n], b[n]) != 0) 647s # goto out; 647s # ret = TRUE; 647s # out: 647s # return ret; 647s # } 647s # 647s # static gboolean 647s # _g_variant_equal0 (GVariant *a, GVariant *b) 647s # { 647s # gboolean ret = FALSE; 647s # if (a == NULL && b == NULL) 647s # { 647s # ret = TRUE; 647s # goto out; 647s # } 647s # if (a == NULL || b == NULL) 647s # goto out; 647s # ret = g_variant_equal (a, b); 647s # out: 647s # return ret; 647s # } 647s # 647s # G_GNUC_UNUSED static gboolean 647s # _g_value_equal (const GValue *a, const GValue *b) 647s # { 647s # gboolean ret = FALSE; 647s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 647s # switch (G_VALUE_TYPE (a)) 647s # { 647s # case G_TYPE_BOOLEAN: 647s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 647s # break; 647s # case G_TYPE_UCHAR: 647s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 647s # break; 647s # case G_TYPE_INT: 647s # ret = (g_value_get_int (a) == g_value_get_int (b)); 647s # break; 647s # case G_TYPE_UINT: 647s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 647s # break; 647s # case G_TYPE_INT64: 647s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 647s # break; 647s # case G_TYPE_UINT64: 647s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 647s # break; 647s # case G_TYPE_DOUBLE: 647s # { 647s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 647s # gdouble da = g_value_get_double (a); 647s # gdouble db = g_value_get_double (b); 647s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 647s # } 647s # break; 647s # case G_TYPE_STRING: 647s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 647s # break; 647s # case G_TYPE_VARIANT: 647s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 647s # break; 647s # default: 647s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 647s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 647s # else 647s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 647s # break; 647s # } 647s # return ret; 647s # } 647s # 647s # static void 647s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 647s # GClosure *closure, 647s # GValue *return_value, 647s # unsigned int n_param_values, 647s # const GValue *param_values, 647s # void *invocation_hint G_GNUC_UNUSED, 647s # void *marshal_data) 647s # { 647s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 647s # (void *data1, 647s # GDBusMethodInvocation *arg_method_invocation, 647s # void *data2); 647s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 647s # GCClosure *cc = (GCClosure*) closure; 647s # void *data1, *data2; 647s # gboolean v_return; 647s # 647s # g_return_if_fail (return_value != NULL); 647s # g_return_if_fail (n_param_values == 2); 647s # 647s # if (G_CCLOSURE_SWAP_DATA (closure)) 647s # { 647s # data1 = closure->data; 647s # data2 = g_value_peek_pointer (param_values + 0); 647s # } 647s # else 647s # { 647s # data1 = g_value_peek_pointer (param_values + 0); 647s # data2 = closure->data; 647s # } 647s # 647s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 647s # (marshal_data ? marshal_data : cc->callback); 647s # 647s # v_return = 647s # callback (data1, 647s # g_marshal_value_peek_object (param_values + 1), 647s # data2); 647s # 647s # g_value_set_boolean (return_value, v_return); 647s # } 647s # 647s # /* ------------------------------------------------------------------------ 647s # * Code for interface org.project.UsefulInterface 647s # * ------------------------------------------------------------------------ 647s # */ 647s # 647s # /** 647s # * SECTION:OrgProjectUsefulInterface 647s # * @title: OrgProjectUsefulInterface 647s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 647s # * 647s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 647s # */ 647s # 647s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 647s # 647s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 647s # { 647s # { 647s # -1, 647s # (gchar *) "arg_y", 647s # (gchar *) "y", 647s # NULL 647s # }, 647s # FALSE 647s # }; 647s # 647s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 647s # { 647s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 647s # NULL 647s # }; 647s # 647s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 647s # { 647s # { 647s # -1, 647s # (gchar *) "SingleArgMethodY", 647s # NULL, 647s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 647s # NULL 647s # }, 647s # "handle-single-arg-method-y", 647s # FALSE 647s # }; 647s # 647s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 647s # { 647s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 647s # NULL 647s # }; 647s # 647s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 647s # { 647s # { 647s # -1, 647s # (gchar *) "org.project.UsefulInterface", 647s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 647s # NULL, 647s # NULL, 647s # NULL 647s # }, 647s # "org-project-useful-interface", 647s # }; 647s # 647s # 647s # /** 647s # * org_project_useful_interface_interface_info: 647s # * 647s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 647s # * 647s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 647s # */ 647s # GDBusInterfaceInfo * 647s # org_project_useful_interface_interface_info (void) 647s # { 647s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_override_properties: 647s # * @klass: The class structure for a #GObject derived class. 647s # * @property_id_begin: The property id to assign to the first overridden property. 647s # * 647s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 647s # * The properties are overridden in the order they are defined. 647s # * 647s # * Returns: The last property id. 647s # */ 647s # guint 647s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 647s # { 647s # return property_id_begin - 1; 647s # } 647s # 647s # 647s # inline static void 647s # org_project_useful_interface_method_marshal_single_arg_method_y ( 647s # GClosure *closure, 647s # GValue *return_value, 647s # unsigned int n_param_values, 647s # const GValue *param_values, 647s # void *invocation_hint, 647s # void *marshal_data) 647s # { 647s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 647s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 647s # } 647s # 647s # 647s # /** 647s # * OrgProjectUsefulInterface: 647s # * 647s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceIface: 647s # * @parent_iface: The parent interface. 647s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 647s # * 647s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 647s # */ 647s # 647s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 647s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 647s # 647s # static void 647s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 647s # { 647s # /* GObject signals for incoming D-Bus method calls: */ 647s # /** 647s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 647s # * @object: A #OrgProjectUsefulInterface. 647s # * @invocation: A #GDBusMethodInvocation. 647s # * 647s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 647s # * 647s # * 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. 647s # * 647s # * 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. 647s # */ 647s # g_signal_new ("handle-single-arg-method-y", 647s # G_TYPE_FROM_INTERFACE (iface), 647s # G_SIGNAL_RUN_LAST, 647s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 647s # g_signal_accumulator_true_handled, 647s # NULL, 647s # org_project_useful_interface_method_marshal_single_arg_method_y, 647s # G_TYPE_BOOLEAN, 647s # 1, 647s # G_TYPE_DBUS_METHOD_INVOCATION); 647s # 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_y: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 647s # */ 647s # void 647s # org_project_useful_interface_call_single_arg_method_y ( 647s # OrgProjectUsefulInterface *proxy, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 647s # "SingleArgMethodY", 647s # g_variant_new ("()"), 647s # G_DBUS_CALL_FLAGS_NONE, 647s # -1, 647s # cancellable, 647s # callback, 647s # user_data); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_y_finish: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 647s # * @error: Return location for error or %NULL. 647s # * 647s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 647s # * 647s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 647s # */ 647s # gboolean 647s # org_project_useful_interface_call_single_arg_method_y_finish ( 647s # OrgProjectUsefulInterface *proxy, 647s # guchar *out_arg_y, 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GVariant *_ret; 647s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 647s # if (_ret == NULL) 647s # goto _out; 647s # g_variant_get (_ret, 647s # "(y)", 647s # out_arg_y); 647s # g_variant_unref (_ret); 647s # _out: 647s # return _ret != NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_y_sync: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL. 647s # * 647s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 647s # * 647s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 647s # */ 647s # gboolean 647s # org_project_useful_interface_call_single_arg_method_y_sync ( 647s # OrgProjectUsefulInterface *proxy, 647s # guchar *out_arg_y, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GVariant *_ret; 647s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 647s # "SingleArgMethodY", 647s # g_variant_new ("()"), 647s # G_DBUS_CALL_FLAGS_NONE, 647s # -1, 647s # cancellable, 647s # error); 647s # if (_ret == NULL) 647s # goto _out; 647s # g_variant_get (_ret, 647s # "(y)", 647s # out_arg_y); 647s # g_variant_unref (_ret); 647s # _out: 647s # return _ret != NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_complete_single_arg_method_y: 647s # * @object: A #OrgProjectUsefulInterface. 647s # * @invocation: (transfer full): A #GDBusMethodInvocation. 647s # * @arg_y: Parameter to return. 647s # * 647s # * 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. 647s # * 647s # * This method will free @invocation, you cannot use it afterwards. 647s # */ 647s # void 647s # org_project_useful_interface_complete_single_arg_method_y ( 647s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 647s # GDBusMethodInvocation *invocation, 647s # guchar arg_y) 647s # { 647s # g_dbus_method_invocation_return_value (invocation, 647s # g_variant_new ("(y)", 647s # arg_y)); 647s # } 647s # 647s # /* ------------------------------------------------------------------------ */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceProxy: 647s # * 647s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceProxyClass: 647s # * @parent_class: The parent class. 647s # * 647s # * Class structure for #OrgProjectUsefulInterfaceProxy. 647s # */ 647s # 647s # struct _OrgProjectUsefulInterfaceProxyPrivate 647s # { 647s # GData *qdata; 647s # }; 647s # 647s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 647s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 647s # 647s # #else 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 647s # 647s # #endif 647s # static void 647s # org_project_useful_interface_proxy_finalize (GObject *object) 647s # { 647s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 647s # g_datalist_clear (&proxy->priv->qdata); 647s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 647s # guint prop_id G_GNUC_UNUSED, 647s # GValue *value G_GNUC_UNUSED, 647s # GParamSpec *pspec G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 647s # guint prop_id G_GNUC_UNUSED, 647s # const GValue *value G_GNUC_UNUSED, 647s # GParamSpec *pspec G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 647s # const gchar *sender_name G_GNUC_UNUSED, 647s # const gchar *signal_name, 647s # GVariant *parameters) 647s # { 647s # _ExtendedGDBusSignalInfo *info; 647s # GVariantIter iter; 647s # GVariant *child; 647s # GValue *paramv; 647s # gsize num_params; 647s # gsize n; 647s # guint signal_id; 647s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 647s # if (info == NULL) 647s # return; 647s # num_params = g_variant_n_children (parameters); 647s # paramv = g_new0 (GValue, num_params + 1); 647s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_set_object (¶mv[0], proxy); 647s # g_variant_iter_init (&iter, parameters); 647s # n = 1; 647s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 647s # { 647s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 647s # if (arg_info->use_gvariant) 647s # { 647s # g_value_init (¶mv[n], G_TYPE_VARIANT); 647s # g_value_set_variant (¶mv[n], child); 647s # n++; 647s # } 647s # else 647s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 647s # g_variant_unref (child); 647s # } 647s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_signal_emitv (paramv, signal_id, 0, NULL); 647s # for (n = 0; n < num_params + 1; n++) 647s # g_value_unset (¶mv[n]); 647s # g_free (paramv); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 647s # GVariant *changed_properties, 647s # const gchar *const *invalidated_properties) 647s # { 647s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 647s # guint n; 647s # const gchar *key; 647s # GVariantIter *iter; 647s # _ExtendedGDBusPropertyInfo *info; 647s # g_variant_get (changed_properties, "a{sv}", &iter); 647s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 647s # { 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 647s # g_datalist_remove_data (&proxy->priv->qdata, key); 647s # if (info != NULL) 647s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 647s # } 647s # g_variant_iter_free (iter); 647s # for (n = 0; invalidated_properties[n] != NULL; n++) 647s # { 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 647s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 647s # if (info != NULL) 647s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 647s # } 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 647s # { 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 647s # #else 647s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 647s # #endif 647s # 647s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 647s # { 647s # GObjectClass *gobject_class; 647s # GDBusProxyClass *proxy_class; 647s # 647s # gobject_class = G_OBJECT_CLASS (klass); 647s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 647s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 647s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 647s # 647s # proxy_class = G_DBUS_PROXY_CLASS (klass); 647s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 647s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 647s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 647s # #endif 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new: 647s # * @connection: A #GDBusConnection. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 647s # * 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 647s # */ 647s # void 647s # org_project_useful_interface_proxy_new ( 647s # GDBusConnection *connection, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_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); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_finish: 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 647s # * @error: Return location for error or %NULL 647s # * 647s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_finish ( 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GObject *ret; 647s # GObject *source_object; 647s # source_object = g_async_result_get_source_object (res); 647s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 647s # g_object_unref (source_object); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_sync: 647s # * @connection: A #GDBusConnection. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL 647s # * 647s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 647s # * 647s # * The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_sync ( 647s # GDBusConnection *connection, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GInitable *ret; 647s # 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); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus: 647s # * @bus_type: A #GBusType. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: A bus name (well-known or unique). 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 647s # * 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 647s # */ 647s # void 647s # org_project_useful_interface_proxy_new_for_bus ( 647s # GBusType bus_type, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_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); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus_finish: 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 647s # * @error: Return location for error or %NULL 647s # * 647s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_for_bus_finish ( 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GObject *ret; 647s # GObject *source_object; 647s # source_object = g_async_result_get_source_object (res); 647s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 647s # g_object_unref (source_object); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus_sync: 647s # * @bus_type: A #GBusType. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: A bus name (well-known or unique). 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL 647s # * 647s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 647s # * 647s # * The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_for_bus_sync ( 647s # GBusType bus_type, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GInitable *ret; 647s # 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); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # 647s # /* ------------------------------------------------------------------------ */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceSkeleton: 647s # * 647s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceSkeletonClass: 647s # * @parent_class: The parent class. 647s # * 647s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 647s # */ 647s # 647s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 647s # { 647s # GValue *properties; 647s # GList *changed_properties; 647s # GSource *changed_properties_idle_source; 647s # GMainContext *context; 647s # GMutex lock; 647s # }; 647s # 647s # static void 647s # _org_project_useful_interface_skeleton_handle_method_call ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name, 647s # const gchar *method_name, 647s # GVariant *parameters, 647s # GDBusMethodInvocation *invocation, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # _ExtendedGDBusMethodInfo *info; 647s # GVariantIter iter; 647s # GVariant *child; 647s # GValue *paramv; 647s # gsize num_params; 647s # guint num_extra; 647s # gsize n; 647s # guint signal_id; 647s # GValue return_value = G_VALUE_INIT; 647s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 647s # g_assert (info != NULL); 647s # num_params = g_variant_n_children (parameters); 647s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 647s # n = 0; 647s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_set_object (¶mv[n++], skeleton); 647s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 647s # g_value_set_object (¶mv[n++], invocation); 647s # if (info->pass_fdlist) 647s # { 647s # #ifdef G_OS_UNIX 647s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 647s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 647s # #else 647s # g_assert_not_reached (); 647s # #endif 647s # } 647s # g_variant_iter_init (&iter, parameters); 647s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 647s # { 647s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 647s # if (arg_info->use_gvariant) 647s # { 647s # g_value_init (¶mv[n], G_TYPE_VARIANT); 647s # g_value_set_variant (¶mv[n], child); 647s # n++; 647s # } 647s # else 647s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 647s # g_variant_unref (child); 647s # } 647s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_init (&return_value, G_TYPE_BOOLEAN); 647s # g_signal_emitv (paramv, signal_id, 0, &return_value); 647s # if (!g_value_get_boolean (&return_value)) 647s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 647s # g_value_unset (&return_value); 647s # for (n = 0; n < num_params + num_extra; n++) 647s # g_value_unset (¶mv[n]); 647s # g_free (paramv); 647s # } 647s # 647s # static GVariant * 647s # _org_project_useful_interface_skeleton_handle_get_property ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name G_GNUC_UNUSED, 647s # const gchar *property_name, 647s # GError **error, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # GValue value = G_VALUE_INIT; 647s # GParamSpec *pspec; 647s # _ExtendedGDBusPropertyInfo *info; 647s # GVariant *ret; 647s # ret = NULL; 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 647s # g_assert (info != NULL); 647s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 647s # if (pspec == NULL) 647s # { 647s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 647s # } 647s # else 647s # { 647s # g_value_init (&value, pspec->value_type); 647s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 647s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 647s # g_value_unset (&value); 647s # } 647s # return ret; 647s # } 647s # 647s # static gboolean 647s # _org_project_useful_interface_skeleton_handle_set_property ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name G_GNUC_UNUSED, 647s # const gchar *property_name, 647s # GVariant *variant, 647s # GError **error, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # GValue value = G_VALUE_INIT; 647s # GParamSpec *pspec; 647s # _ExtendedGDBusPropertyInfo *info; 647s # gboolean ret; 647s # ret = FALSE; 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 647s # g_assert (info != NULL); 647s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 647s # if (pspec == NULL) 647s # { 647s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 647s # } 647s # else 647s # { 647s # if (info->use_gvariant) 647s # g_value_set_variant (&value, variant); 647s # else 647s # g_dbus_gvariant_to_gvalue (variant, &value); 647s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 647s # g_value_unset (&value); 647s # ret = TRUE; 647s # } 647s # return ret; 647s # } 647s # 647s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 647s # { 647s # _org_project_useful_interface_skeleton_handle_method_call, 647s # _org_project_useful_interface_skeleton_handle_get_property, 647s # _org_project_useful_interface_skeleton_handle_set_property, 647s # {NULL} 647s # }; 647s # 647s # static GDBusInterfaceInfo * 647s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 647s # { 647s # return org_project_useful_interface_interface_info (); 647s # } 647s # 647s # static GDBusInterfaceVTable * 647s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 647s # { 647s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 647s # } 647s # 647s # static GVariant * 647s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 647s # 647s # GVariantBuilder builder; 647s # guint n; 647s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 647s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 647s # goto out; 647s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 647s # { 647s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 647s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 647s # { 647s # GVariant *value; 647s # 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); 647s # if (value != NULL) 647s # { 647s # g_variant_take_ref (value); 647s # g_variant_builder_add (&builder, "{sv}", info->name, value); 647s # g_variant_unref (value); 647s # } 647s # } 647s # } 647s # out: 647s # return g_variant_builder_end (&builder); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 647s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 647s # 647s # #else 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 647s # 647s # #endif 647s # static void 647s # org_project_useful_interface_skeleton_finalize (GObject *object) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 647s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 647s # if (skeleton->priv->changed_properties_idle_source != NULL) 647s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 647s # g_main_context_unref (skeleton->priv->context); 647s # g_mutex_clear (&skeleton->priv->lock); 647s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 647s # { 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 647s # #else 647s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 647s # #endif 647s # 647s # g_mutex_init (&skeleton->priv->lock); 647s # skeleton->priv->context = g_main_context_ref_thread_default (); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 647s # { 647s # GObjectClass *gobject_class; 647s # GDBusInterfaceSkeletonClass *skeleton_class; 647s # 647s # gobject_class = G_OBJECT_CLASS (klass); 647s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 647s # 647s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 647s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 647s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 647s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 647s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 647s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 647s # #endif 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_skeleton_new: 647s # * 647s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_skeleton_new (void) 647s # { 647s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 647s # } 647s # /tmp/tmpy0e6khrq/tmpnj1tr0er.xml: 647s # 647s # 647s # 647s # 647s # 647s # 647s # 647s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy0e6khrq/tmpnj1tr0er.xml', '--output', '-', '--body'] 647s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 647s # Output: /* 647s # * This file is generated by gdbus-codegen, do not modify it. 647s # * 647s # * The license of this code is the same as for the D-Bus interface description 647s # * it was derived from. Note that it links to GLib, so must comply with the 647s # * LGPL linking clauses. 647s # */ 647s # 647s # #ifdef HAVE_CONFIG_H 647s # # include "config.h" 647s # #endif 647s # 647s # #include 647s # #ifdef G_OS_UNIX 647s # # include 647s # #endif 647s # 647s # #ifdef G_ENABLE_DEBUG 647s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 647s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 647s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 647s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 647s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 647s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 647s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 647s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 647s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 647s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 647s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 647s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 647s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 647s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 647s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 647s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 647s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 647s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 647s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 647s # #else /* !G_ENABLE_DEBUG */ 647s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 647s # * Do not access GValues directly in your code. Instead, use the 647s # * g_value_get_*() functions 647s # */ 647s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 647s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 647s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 647s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 647s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 647s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 647s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 647s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 647s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 647s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 647s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 647s # #endif /* !G_ENABLE_DEBUG */ 647s # 647s # typedef struct 647s # { 647s # GDBusArgInfo parent_struct; 647s # gboolean use_gvariant; 647s # } _ExtendedGDBusArgInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusMethodInfo parent_struct; 647s # const gchar *signal_name; 647s # gboolean pass_fdlist; 647s # } _ExtendedGDBusMethodInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusSignalInfo parent_struct; 647s # const gchar *signal_name; 647s # } _ExtendedGDBusSignalInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusPropertyInfo parent_struct; 647s # const gchar *hyphen_name; 647s # guint use_gvariant : 1; 647s # guint emits_changed_signal : 1; 647s # } _ExtendedGDBusPropertyInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusInterfaceInfo parent_struct; 647s # const gchar *hyphen_name; 647s # } _ExtendedGDBusInterfaceInfo; 647s # 647s # typedef struct 647s # { 647s # const _ExtendedGDBusPropertyInfo *info; 647s # guint prop_id; 647s # GValue orig_value; /* the value before the change */ 647s # } ChangedProperty; 647s # 647s # static void 647s # _changed_property_free (ChangedProperty *data) 647s # { 647s # g_value_unset (&data->orig_value); 647s # g_free (data); 647s # } 647s # 647s # static gboolean 647s # _g_strv_equal0 (gchar **a, gchar **b) 647s # { 647s # gboolean ret = FALSE; 647s # guint n; 647s # if (a == NULL && b == NULL) 647s # { 647s # ret = TRUE; 647s # goto out; 647s # } 647s # if (a == NULL || b == NULL) 647s # goto out; 647s # if (g_strv_length (a) != g_strv_length (b)) 647s # goto out; 647s # for (n = 0; a[n] != NULL; n++) 647s # if (g_strcmp0 (a[n], b[n]) != 0) 647s # goto out; 647s # ret = TRUE; 647s # out: 647s # return ret; 647s # } 647s # 647s # static gboolean 647s # _g_variant_equal0 (GVariant *a, GVariant *b) 647s # { 647s # gboolean ret = FALSE; 647s # if (a == NULL && b == NULL) 647s # { 647s # ret = TRUE; 647s # goto out; 647s # } 647s # if (a == NULL || b == NULL) 647s # goto out; 647s # ret = g_variant_equal (a, b); 647s # out: 647s # return ret; 647s # } 647s # 647s # G_GNUC_UNUSED static gboolean 647s # _g_value_equal (const GValue *a, const GValue *b) 647s # { 647s # gboolean ret = FALSE; 647s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 647s # switch (G_VALUE_TYPE (a)) 647s # { 647s # case G_TYPE_BOOLEAN: 647s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 647s # break; 647s # case G_TYPE_UCHAR: 647s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 647s # break; 647s # case G_TYPE_INT: 647s # ret = (g_value_get_int (a) == g_value_get_int (b)); 647s # break; 647s # case G_TYPE_UINT: 647s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 647s # break; 647s # case G_TYPE_INT64: 647s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 647s # break; 647s # case G_TYPE_UINT64: 647s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 647s # break; 647s # case G_TYPE_DOUBLE: 647s # { 647s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 647s # gdouble da = g_value_get_double (a); 647s # gdouble db = g_value_get_double (b); 647s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 647s # } 647s # break; 647s # case G_TYPE_STRING: 647s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 647s # break; 647s # case G_TYPE_VARIANT: 647s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 647s # break; 647s # default: 647s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 647s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 647s # else 647s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 647s # break; 647s # } 647s # return ret; 647s # } 647s # 647s # static void 647s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 647s # GClosure *closure, 647s # GValue *return_value, 647s # unsigned int n_param_values, 647s # const GValue *param_values, 647s # void *invocation_hint G_GNUC_UNUSED, 647s # void *marshal_data) 647s # { 647s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 647s # (void *data1, 647s # GDBusMethodInvocation *arg_method_invocation, 647s # void *data2); 647s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 647s # GCClosure *cc = (GCClosure*) closure; 647s # void *data1, *data2; 647s # gboolean v_return; 647s # 647s # g_return_if_fail (return_value != NULL); 647s # g_return_if_fail (n_param_values == 2); 647s # 647s # if (G_CCLOSURE_SWAP_DATA (closure)) 647s # { 647s # data1 = closure->data; 647s # data2 = g_value_peek_pointer (param_values + 0); 647s # } 647s # else 647s # { 647s # data1 = g_value_peek_pointer (param_values + 0); 647s # data2 = closure->data; 647s # } 647s # 647s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 647s # (marshal_data ? marshal_data : cc->callback); 647s # 647s # v_return = 647s # callback (data1, 647s # g_marshal_value_peek_object (param_values + 1), 647s # data2); 647s # 647s # g_value_set_boolean (return_value, v_return); 647s # } 647s # 647s # /* ------------------------------------------------------------------------ 647s # * Code for interface org.project.UsefulInterface 647s # * ------------------------------------------------------------------------ 647s # */ 647s # 647s # /** 647s # * SECTION:OrgProjectUsefulInterface 647s # * @title: OrgProjectUsefulInterface 647s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 647s # * 647s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 647s # */ 647s # 647s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 647s # 647s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 647s # { 647s # { 647s # -1, 647s # (gchar *) "arg_n", 647s # (gchar *) "n", 647s # NULL 647s # }, 647s # FALSE 647s # }; 647s # 647s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 647s # { 647s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 647s # NULL 647s # }; 647s # 647s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 647s # { 647s # { 647s # -1, 647s # (gchar *) "SingleArgMethodN", 647s # NULL, 647s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 647s # NULL 647s # }, 647s # "handle-single-arg-method-n", 647s # FALSE 647s # }; 647s # 647s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 647s # { 647s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 647s # NULL 647s # }; 647s # 647s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 647s # { 647s # { 647s # -1, 647s # (gchar *) "org.project.UsefulInterface", 647s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 647s # NULL, 647s # NULL, 647s # NULL 647s # }, 647s # "org-project-useful-interface", 647s # }; 647s # 647s # 647s # /** 647s # * org_project_useful_interface_interface_info: 647s # * 647s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 647s # * 647s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 647s # */ 647s # GDBusInterfaceInfo * 647s # org_project_useful_interface_interface_info (void) 647s # { 647s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_override_properties: 647s # * @klass: The class structure for a #GObject derived class. 647s # * @property_id_begin: The property id to assign to the first overridden property. 647s # * 647s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 647s # * The properties are overridden in the order they are defined. 647s # * 647s # * Returns: The last property id. 647s # */ 647s # guint 647s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 647s # { 647s # return property_id_begin - 1; 647s # } 647s # 647s # 647s # inline static void 647s # org_project_useful_interface_method_marshal_single_arg_method_n ( 647s # GClosure *closure, 647s # GValue *return_value, 647s # unsigned int n_param_values, 647s # const GValue *param_values, 647s # void *invocation_hint, 647s # void *marshal_data) 647s # { 647s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 647s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 647s # } 647s # 647s # 647s # /** 647s # * OrgProjectUsefulInterface: 647s # * 647s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceIface: 647s # * @parent_iface: The parent interface. 647s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 647s # * 647s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 647s # */ 647s # 647s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 647s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 647s # 647s # static void 647s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 647s # { 647s # /* GObject signals for incoming D-Bus method calls: */ 647s # /** 647s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 647s # * @object: A #OrgProjectUsefulInterface. 647s # * @invocation: A #GDBusMethodInvocation. 647s # * 647s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 647s # * 647s # * 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. 647s # * 647s # * 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. 647s # */ 647s # g_signal_new ("handle-single-arg-method-n", 647s # G_TYPE_FROM_INTERFACE (iface), 647s # G_SIGNAL_RUN_LAST, 647s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 647s # g_signal_accumulator_true_handled, 647s # NULL, 647s # org_project_useful_interface_method_marshal_single_arg_method_n, 647s # G_TYPE_BOOLEAN, 647s # 1, 647s # G_TYPE_DBUS_METHOD_INVOCATION); 647s # 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_n: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 647s # */ 647s # void 647s # org_project_useful_interface_call_single_arg_method_n ( 647s # OrgProjectUsefulInterface *proxy, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 647s # "SingleArgMethodN", 647s # g_variant_new ("()"), 647s # G_DBUS_CALL_FLAGS_NONE, 647s # -1, 647s # cancellable, 647s # callback, 647s # user_data); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_n_finish: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 647s # * @error: Return location for error or %NULL. 647s # * 647s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 647s # * 647s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 647s # */ 647s # gboolean 647s # org_project_useful_interface_call_single_arg_method_n_finish ( 647s # OrgProjectUsefulInterface *proxy, 647s # gint16 *out_arg_n, 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GVariant *_ret; 647s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 647s # if (_ret == NULL) 647s # goto _out; 647s # g_variant_get (_ret, 647s # "(n)", 647s # out_arg_n); 647s # g_variant_unref (_ret); 647s # _out: 647s # return _ret != NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_call_single_arg_method_n_sync: 647s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 647s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL. 647s # * 647s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 647s # * 647s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 647s # */ 647s # gboolean 647s # org_project_useful_interface_call_single_arg_method_n_sync ( 647s # OrgProjectUsefulInterface *proxy, 647s # gint16 *out_arg_n, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GVariant *_ret; 647s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 647s # "SingleArgMethodN", 647s # g_variant_new ("()"), 647s # G_DBUS_CALL_FLAGS_NONE, 647s # -1, 647s # cancellable, 647s # error); 647s # if (_ret == NULL) 647s # goto _out; 647s # g_variant_get (_ret, 647s # "(n)", 647s # out_arg_n); 647s # g_variant_unref (_ret); 647s # _out: 647s # return _ret != NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_complete_single_arg_method_n: 647s # * @object: A #OrgProjectUsefulInterface. 647s # * @invocation: (transfer full): A #GDBusMethodInvocation. 647s # * @arg_n: Parameter to return. 647s # * 647s # * 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. 647s # * 647s # * This method will free @invocation, you cannot use it afterwards. 647s # */ 647s # void 647s # org_project_useful_interface_complete_single_arg_method_n ( 647s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 647s # GDBusMethodInvocation *invocation, 647s # gint16 arg_n) 647s # { 647s # g_dbus_method_invocation_return_value (invocation, 647s # g_variant_new ("(n)", 647s # arg_n)); 647s # } 647s # 647s # /* ------------------------------------------------------------------------ */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceProxy: 647s # * 647s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceProxyClass: 647s # * @parent_class: The parent class. 647s # * 647s # * Class structure for #OrgProjectUsefulInterfaceProxy. 647s # */ 647s # 647s # struct _OrgProjectUsefulInterfaceProxyPrivate 647s # { 647s # GData *qdata; 647s # }; 647s # 647s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 647s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 647s # 647s # #else 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 647s # 647s # #endif 647s # static void 647s # org_project_useful_interface_proxy_finalize (GObject *object) 647s # { 647s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 647s # g_datalist_clear (&proxy->priv->qdata); 647s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 647s # guint prop_id G_GNUC_UNUSED, 647s # GValue *value G_GNUC_UNUSED, 647s # GParamSpec *pspec G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 647s # guint prop_id G_GNUC_UNUSED, 647s # const GValue *value G_GNUC_UNUSED, 647s # GParamSpec *pspec G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 647s # const gchar *sender_name G_GNUC_UNUSED, 647s # const gchar *signal_name, 647s # GVariant *parameters) 647s # { 647s # _ExtendedGDBusSignalInfo *info; 647s # GVariantIter iter; 647s # GVariant *child; 647s # GValue *paramv; 647s # gsize num_params; 647s # gsize n; 647s # guint signal_id; 647s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 647s # if (info == NULL) 647s # return; 647s # num_params = g_variant_n_children (parameters); 647s # paramv = g_new0 (GValue, num_params + 1); 647s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_set_object (¶mv[0], proxy); 647s # g_variant_iter_init (&iter, parameters); 647s # n = 1; 647s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 647s # { 647s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 647s # if (arg_info->use_gvariant) 647s # { 647s # g_value_init (¶mv[n], G_TYPE_VARIANT); 647s # g_value_set_variant (¶mv[n], child); 647s # n++; 647s # } 647s # else 647s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 647s # g_variant_unref (child); 647s # } 647s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_signal_emitv (paramv, signal_id, 0, NULL); 647s # for (n = 0; n < num_params + 1; n++) 647s # g_value_unset (¶mv[n]); 647s # g_free (paramv); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 647s # GVariant *changed_properties, 647s # const gchar *const *invalidated_properties) 647s # { 647s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 647s # guint n; 647s # const gchar *key; 647s # GVariantIter *iter; 647s # _ExtendedGDBusPropertyInfo *info; 647s # g_variant_get (changed_properties, "a{sv}", &iter); 647s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 647s # { 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 647s # g_datalist_remove_data (&proxy->priv->qdata, key); 647s # if (info != NULL) 647s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 647s # } 647s # g_variant_iter_free (iter); 647s # for (n = 0; invalidated_properties[n] != NULL; n++) 647s # { 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 647s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 647s # if (info != NULL) 647s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 647s # } 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 647s # { 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 647s # #else 647s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 647s # #endif 647s # 647s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 647s # { 647s # GObjectClass *gobject_class; 647s # GDBusProxyClass *proxy_class; 647s # 647s # gobject_class = G_OBJECT_CLASS (klass); 647s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 647s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 647s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 647s # 647s # proxy_class = G_DBUS_PROXY_CLASS (klass); 647s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 647s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 647s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 647s # #endif 647s # } 647s # 647s # static void 647s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new: 647s # * @connection: A #GDBusConnection. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 647s # * 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 647s # */ 647s # void 647s # org_project_useful_interface_proxy_new ( 647s # GDBusConnection *connection, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_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); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_finish: 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 647s # * @error: Return location for error or %NULL 647s # * 647s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_finish ( 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GObject *ret; 647s # GObject *source_object; 647s # source_object = g_async_result_get_source_object (res); 647s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 647s # g_object_unref (source_object); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_sync: 647s # * @connection: A #GDBusConnection. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL 647s # * 647s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 647s # * 647s # * The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_sync ( 647s # GDBusConnection *connection, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GInitable *ret; 647s # 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); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus: 647s # * @bus_type: A #GBusType. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: A bus name (well-known or unique). 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 647s # * @user_data: User data to pass to @callback. 647s # * 647s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 647s # * 647s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 647s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 647s # * 647s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 647s # */ 647s # void 647s # org_project_useful_interface_proxy_new_for_bus ( 647s # GBusType bus_type, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GAsyncReadyCallback callback, 647s # gpointer user_data) 647s # { 647s # g_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); 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus_finish: 647s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 647s # * @error: Return location for error or %NULL 647s # * 647s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_for_bus_finish ( 647s # GAsyncResult *res, 647s # GError **error) 647s # { 647s # GObject *ret; 647s # GObject *source_object; 647s # source_object = g_async_result_get_source_object (res); 647s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 647s # g_object_unref (source_object); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_proxy_new_for_bus_sync: 647s # * @bus_type: A #GBusType. 647s # * @flags: Flags from the #GDBusProxyFlags enumeration. 647s # * @name: A bus name (well-known or unique). 647s # * @object_path: An object path. 647s # * @cancellable: (nullable): A #GCancellable or %NULL. 647s # * @error: Return location for error or %NULL 647s # * 647s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 647s # * 647s # * The calling thread is blocked until a reply is received. 647s # * 647s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_proxy_new_for_bus_sync ( 647s # GBusType bus_type, 647s # GDBusProxyFlags flags, 647s # const gchar *name, 647s # const gchar *object_path, 647s # GCancellable *cancellable, 647s # GError **error) 647s # { 647s # GInitable *ret; 647s # 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); 647s # if (ret != NULL) 647s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 647s # else 647s # return NULL; 647s # } 647s # 647s # 647s # /* ------------------------------------------------------------------------ */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceSkeleton: 647s # * 647s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 647s # */ 647s # 647s # /** 647s # * OrgProjectUsefulInterfaceSkeletonClass: 647s # * @parent_class: The parent class. 647s # * 647s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 647s # */ 647s # 647s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 647s # { 647s # GValue *properties; 647s # GList *changed_properties; 647s # GSource *changed_properties_idle_source; 647s # GMainContext *context; 647s # GMutex lock; 647s # }; 647s # 647s # static void 647s # _org_project_useful_interface_skeleton_handle_method_call ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name, 647s # const gchar *method_name, 647s # GVariant *parameters, 647s # GDBusMethodInvocation *invocation, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # _ExtendedGDBusMethodInfo *info; 647s # GVariantIter iter; 647s # GVariant *child; 647s # GValue *paramv; 647s # gsize num_params; 647s # guint num_extra; 647s # gsize n; 647s # guint signal_id; 647s # GValue return_value = G_VALUE_INIT; 647s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 647s # g_assert (info != NULL); 647s # num_params = g_variant_n_children (parameters); 647s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 647s # n = 0; 647s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_set_object (¶mv[n++], skeleton); 647s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 647s # g_value_set_object (¶mv[n++], invocation); 647s # if (info->pass_fdlist) 647s # { 647s # #ifdef G_OS_UNIX 647s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 647s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 647s # #else 647s # g_assert_not_reached (); 647s # #endif 647s # } 647s # g_variant_iter_init (&iter, parameters); 647s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 647s # { 647s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 647s # if (arg_info->use_gvariant) 647s # { 647s # g_value_init (¶mv[n], G_TYPE_VARIANT); 647s # g_value_set_variant (¶mv[n], child); 647s # n++; 647s # } 647s # else 647s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 647s # g_variant_unref (child); 647s # } 647s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 647s # g_value_init (&return_value, G_TYPE_BOOLEAN); 647s # g_signal_emitv (paramv, signal_id, 0, &return_value); 647s # if (!g_value_get_boolean (&return_value)) 647s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 647s # g_value_unset (&return_value); 647s # for (n = 0; n < num_params + num_extra; n++) 647s # g_value_unset (¶mv[n]); 647s # g_free (paramv); 647s # } 647s # 647s # static GVariant * 647s # _org_project_useful_interface_skeleton_handle_get_property ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name G_GNUC_UNUSED, 647s # const gchar *property_name, 647s # GError **error, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # GValue value = G_VALUE_INIT; 647s # GParamSpec *pspec; 647s # _ExtendedGDBusPropertyInfo *info; 647s # GVariant *ret; 647s # ret = NULL; 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 647s # g_assert (info != NULL); 647s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 647s # if (pspec == NULL) 647s # { 647s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 647s # } 647s # else 647s # { 647s # g_value_init (&value, pspec->value_type); 647s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 647s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 647s # g_value_unset (&value); 647s # } 647s # return ret; 647s # } 647s # 647s # static gboolean 647s # _org_project_useful_interface_skeleton_handle_set_property ( 647s # GDBusConnection *connection G_GNUC_UNUSED, 647s # const gchar *sender G_GNUC_UNUSED, 647s # const gchar *object_path G_GNUC_UNUSED, 647s # const gchar *interface_name G_GNUC_UNUSED, 647s # const gchar *property_name, 647s # GVariant *variant, 647s # GError **error, 647s # gpointer user_data) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 647s # GValue value = G_VALUE_INIT; 647s # GParamSpec *pspec; 647s # _ExtendedGDBusPropertyInfo *info; 647s # gboolean ret; 647s # ret = FALSE; 647s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 647s # g_assert (info != NULL); 647s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 647s # if (pspec == NULL) 647s # { 647s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 647s # } 647s # else 647s # { 647s # if (info->use_gvariant) 647s # g_value_set_variant (&value, variant); 647s # else 647s # g_dbus_gvariant_to_gvalue (variant, &value); 647s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 647s # g_value_unset (&value); 647s # ret = TRUE; 647s # } 647s # return ret; 647s # } 647s # 647s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 647s # { 647s # _org_project_useful_interface_skeleton_handle_method_call, 647s # _org_project_useful_interface_skeleton_handle_get_property, 647s # _org_project_useful_interface_skeleton_handle_set_property, 647s # {NULL} 647s # }; 647s # 647s # static GDBusInterfaceInfo * 647s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 647s # { 647s # return org_project_useful_interface_interface_info (); 647s # } 647s # 647s # static GDBusInterfaceVTable * 647s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 647s # { 647s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 647s # } 647s # 647s # static GVariant * 647s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 647s # 647s # GVariantBuilder builder; 647s # guint n; 647s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 647s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 647s # goto out; 647s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 647s # { 647s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 647s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 647s # { 647s # GVariant *value; 647s # 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); 647s # if (value != NULL) 647s # { 647s # g_variant_take_ref (value); 647s # g_variant_builder_add (&builder, "{sv}", info->name, value); 647s # g_variant_unref (value); 647s # } 647s # } 647s # } 647s # out: 647s # return g_variant_builder_end (&builder); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 647s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 647s # 647s # #else 647s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 647s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 647s # 647s # #endif 647s # static void 647s # org_project_useful_interface_skeleton_finalize (GObject *object) 647s # { 647s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 647s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 647s # if (skeleton->priv->changed_properties_idle_source != NULL) 647s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 647s # g_main_context_unref (skeleton->priv->context); 647s # g_mutex_clear (&skeleton->priv->lock); 647s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 647s # { 647s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 647s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 647s # #else 647s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 647s # #endif 647s # 647s # g_mutex_init (&skeleton->priv->lock); 647s # skeleton->priv->context = g_main_context_ref_thread_default (); 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 647s # { 647s # GObjectClass *gobject_class; 647s # GDBusInterfaceSkeletonClass *skeleton_class; 647s # 647s # gobject_class = G_OBJECT_CLASS (klass); 647s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 647s # 647s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 647s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 647s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 647s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 647s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 647s # 647s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 647s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 647s # #endif 647s # } 647s # 647s # static void 647s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 647s # { 647s # } 647s # 647s # /** 647s # * org_project_useful_interface_skeleton_new: 647s # * 647s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 647s # * 647s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 647s # */ 647s # OrgProjectUsefulInterface * 647s # org_project_useful_interface_skeleton_new (void) 647s # { 647s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 647s # } 647s # /tmp/tmpy0e6khrq/tmppvg1dl10.xml: 647s # 647s # 647s # 647s # 647s # 647s # 647s # 647s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy0e6khrq/tmppvg1dl10.xml', '--output', '-', '--body'] 647s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 647s # Output: /* 647s # * This file is generated by gdbus-codegen, do not modify it. 647s # * 647s # * The license of this code is the same as for the D-Bus interface description 647s # * it was derived from. Note that it links to GLib, so must comply with the 647s # * LGPL linking clauses. 647s # */ 647s # 647s # #ifdef HAVE_CONFIG_H 647s # # include "config.h" 647s # #endif 647s # 647s # #include 647s # #ifdef G_OS_UNIX 647s # # include 647s # #endif 647s # 647s # #ifdef G_ENABLE_DEBUG 647s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 647s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 647s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 647s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 647s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 647s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 647s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 647s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 647s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 647s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 647s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 647s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 647s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 647s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 647s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 647s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 647s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 647s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 647s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 647s # #else /* !G_ENABLE_DEBUG */ 647s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 647s # * Do not access GValues directly in your code. Instead, use the 647s # * g_value_get_*() functions 647s # */ 647s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 647s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 647s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 647s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 647s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 647s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 647s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 647s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 647s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 647s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 647s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 647s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 647s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 647s # #endif /* !G_ENABLE_DEBUG */ 647s # 647s # typedef struct 647s # { 647s # GDBusArgInfo parent_struct; 647s # gboolean use_gvariant; 647s # } _ExtendedGDBusArgInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusMethodInfo parent_struct; 647s # const gchar *signal_name; 647s # gboolean pass_fdlist; 647s # } _ExtendedGDBusMethodInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusSignalInfo parent_struct; 647s # const gchar *signal_name; 647s # } _ExtendedGDBusSignalInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusPropertyInfo parent_struct; 647s # const gchar *hyphen_name; 647s # guint use_gvariant : 1; 647s # guint emits_changed_signal : 1; 647s # } _ExtendedGDBusPropertyInfo; 647s # 647s # typedef struct 647s # { 647s # GDBusInterfaceInfo parent_struct; 647s # const gchar *hyphen_name; 647s # } _ExtendedGDBusInterfaceInfo; 647s # 647s # typedef struct 647s # { 647s # const _ExtendedGDBusPropertyInfo *info; 647s # guint prop_id; 647s # GValue orig_value; /* the value before the change */ 647s # } ChangedProperty; 647s # 647s # static void 647s # _changed_property_free (ChangedProperty *data) 647s # { 647s # g_value_unset (&data->orig_value); 647s # g_free (data); 647s # } 647s # 647s # static gboolean 647s # _g_strv_equal0 (gchar **a, gchar **b) 647s # { 647s # gboolean ret = FALSE; 647s # guint n; 647s # if (a == NULL && b == NULL) 647s # { 647s # ret = TRUE; 647s # goto out; 647s # } 647s # if (a == NULL || b == NULL) 647s # goto out; 647s # if (g_strv_length (a) != g_strv_length (b)) 647s # goto out; 647s # for (n = 0; a[n] != NULL; n++) 647s # if (g_strcmp0 (a[n], b[n]) != 0) 647s # goto out; 647s # ret = TRUE; 647s # out: 647s # return ret; 647s # } 647s # 647s # static gboolean 647s # _g_variant_equal0 (GVariant *a, GVariant *b) 647s # { 647s # gboolean ret = FALSE; 647s # if (a == NULL && b == NULL) 647s # { 647s # ret = TRUE; 647s # goto out; 647s # } 647s # if (a == NULL || b == NULL) 647s # goto out; 647s # ret = g_variant_equal (a, b); 647s # out: 647s # return ret; 647s # } 647s # 647s # G_GNUC_UNUSED static gboolean 647s # _g_value_equal (const GValue *a, const GValue *b) 647s # { 647s # gboolean ret = FALSE; 647s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 647s # switch (G_VALUE_TYPE (a)) 647s # { 647s # case G_TYPE_BOOLEAN: 647s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 647s # break; 647s # case G_TYPE_UCHAR: 647s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 647s # break; 647s # case G_TYPE_INT: 647s # ret = (g_value_get_int (a) == g_value_get_int (b)); 647s # break; 647s # case G_TYPE_UINT: 647s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 647s # break; 647s # case G_TYPE_INT64: 647s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 647s # break; 647s # case G_TYPE_UINT64: 647s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 647s # break; 647s # case G_TYPE_DOUBLE: 647s # { 647s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 647s # gdouble da = g_value_get_double (a); 647s # gdouble db = g_value_get_double (b); 647s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 647s # } 647s # break; 647s # case G_TYPE_STRING: 647s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 647s # break; 647s # case G_TYPE_VARIANT: 647s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 647s # break; 647s # default: 647s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 648s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 648s # else 648s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 648s # break; 648s # } 648s # return ret; 648s # } 648s # 648s # static void 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint G_GNUC_UNUSED, 648s # void *marshal_data) 648s # { 648s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (void *data1, 648s # GDBusMethodInvocation *arg_method_invocation, 648s # void *data2); 648s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 648s # GCClosure *cc = (GCClosure*) closure; 648s # void *data1, *data2; 648s # gboolean v_return; 648s # 648s # g_return_if_fail (return_value != NULL); 648s # g_return_if_fail (n_param_values == 2); 648s # 648s # if (G_CCLOSURE_SWAP_DATA (closure)) 648s # { 648s # data1 = closure->data; 648s # data2 = g_value_peek_pointer (param_values + 0); 648s # } 648s # else 648s # { 648s # data1 = g_value_peek_pointer (param_values + 0); 648s # data2 = closure->data; 648s # } 648s # 648s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (marshal_data ? marshal_data : cc->callback); 648s # 648s # v_return = 648s # callback (data1, 648s # g_marshal_value_peek_object (param_values + 1), 648s # data2); 648s # 648s # g_value_set_boolean (return_value, v_return); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ 648s # * Code for interface org.project.UsefulInterface 648s # * ------------------------------------------------------------------------ 648s # */ 648s # 648s # /** 648s # * SECTION:OrgProjectUsefulInterface 648s # * @title: OrgProjectUsefulInterface 648s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 648s # * 648s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 648s # */ 648s # 648s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 648s # 648s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 648s # { 648s # { 648s # -1, 648s # (gchar *) "arg_q", 648s # (gchar *) "q", 648s # NULL 648s # }, 648s # FALSE 648s # }; 648s # 648s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 648s # { 648s # { 648s # -1, 648s # (gchar *) "SingleArgMethodQ", 648s # NULL, 648s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 648s # NULL 648s # }, 648s # "handle-single-arg-method-q", 648s # FALSE 648s # }; 648s # 648s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 648s # { 648s # { 648s # -1, 648s # (gchar *) "org.project.UsefulInterface", 648s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 648s # NULL, 648s # NULL, 648s # NULL 648s # }, 648s # "org-project-useful-interface", 648s # }; 648s # 648s # 648s # /** 648s # * org_project_useful_interface_interface_info: 648s # * 648s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 648s # * 648s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 648s # */ 648s # GDBusInterfaceInfo * 648s # org_project_useful_interface_interface_info (void) 648s # { 648s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_override_properties: 648s # * @klass: The class structure for a #GObject derived class. 648s # * @property_id_begin: The property id to assign to the first overridden property. 648s # * 648s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 648s # * The properties are overridden in the order they are defined. 648s # * 648s # * Returns: The last property id. 648s # */ 648s # guint 648s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 648s # { 648s # return property_id_begin - 1; 648s # } 648s # 648s # 648s # inline static void 648s # org_project_useful_interface_method_marshal_single_arg_method_q ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint, 648s # void *marshal_data) 648s # { 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 648s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 648s # } 648s # 648s # 648s # /** 648s # * OrgProjectUsefulInterface: 648s # * 648s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceIface: 648s # * @parent_iface: The parent interface. 648s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 648s # * 648s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 648s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 648s # 648s # static void 648s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 648s # { 648s # /* GObject signals for incoming D-Bus method calls: */ 648s # /** 648s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: A #GDBusMethodInvocation. 648s # * 648s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 648s # * 648s # * 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. 648s # * 648s # * 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. 648s # */ 648s # g_signal_new ("handle-single-arg-method-q", 648s # G_TYPE_FROM_INTERFACE (iface), 648s # G_SIGNAL_RUN_LAST, 648s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 648s # g_signal_accumulator_true_handled, 648s # NULL, 648s # org_project_useful_interface_method_marshal_single_arg_method_q, 648s # G_TYPE_BOOLEAN, 648s # 1, 648s # G_TYPE_DBUS_METHOD_INVOCATION); 648s # 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_q: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 648s # */ 648s # void 648s # org_project_useful_interface_call_single_arg_method_q ( 648s # OrgProjectUsefulInterface *proxy, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodQ", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # callback, 648s # user_data); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_q_finish: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_q_finish ( 648s # OrgProjectUsefulInterface *proxy, 648s # guint16 *out_arg_q, 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(q)", 648s # out_arg_q); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_q_sync: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_q_sync ( 648s # OrgProjectUsefulInterface *proxy, 648s # guint16 *out_arg_q, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodQ", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(q)", 648s # out_arg_q); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_complete_single_arg_method_q: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: (transfer full): A #GDBusMethodInvocation. 648s # * @arg_q: Parameter to return. 648s # * 648s # * 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. 648s # * 648s # * This method will free @invocation, you cannot use it afterwards. 648s # */ 648s # void 648s # org_project_useful_interface_complete_single_arg_method_q ( 648s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 648s # GDBusMethodInvocation *invocation, 648s # guint16 arg_q) 648s # { 648s # g_dbus_method_invocation_return_value (invocation, 648s # g_variant_new ("(q)", 648s # arg_q)); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxy: 648s # * 648s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxyClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceProxy. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceProxyPrivate 648s # { 648s # GData *qdata; 648s # }; 648s # 648s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_proxy_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 648s # g_datalist_clear (&proxy->priv->qdata); 648s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # const GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 648s # const gchar *sender_name G_GNUC_UNUSED, 648s # const gchar *signal_name, 648s # GVariant *parameters) 648s # { 648s # _ExtendedGDBusSignalInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # gsize n; 648s # guint signal_id; 648s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 648s # if (info == NULL) 648s # return; 648s # num_params = g_variant_n_children (parameters); 648s # paramv = g_new0 (GValue, num_params + 1); 648s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[0], proxy); 648s # g_variant_iter_init (&iter, parameters); 648s # n = 1; 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_signal_emitv (paramv, signal_id, 0, NULL); 648s # for (n = 0; n < num_params + 1; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 648s # GVariant *changed_properties, 648s # const gchar *const *invalidated_properties) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 648s # guint n; 648s # const gchar *key; 648s # GVariantIter *iter; 648s # _ExtendedGDBusPropertyInfo *info; 648s # g_variant_get (changed_properties, "a{sv}", &iter); 648s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 648s # g_datalist_remove_data (&proxy->priv->qdata, key); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # g_variant_iter_free (iter); 648s # for (n = 0; invalidated_properties[n] != NULL; n++) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 648s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 648s # #else 648s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 648s # #endif 648s # 648s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusProxyClass *proxy_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 648s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 648s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 648s # 648s # proxy_class = G_DBUS_PROXY_CLASS (klass); 648s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 648s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_sync: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_sync ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new_for_bus ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_sync: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_sync ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeleton: 648s # * 648s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeletonClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 648s # { 648s # GValue *properties; 648s # GList *changed_properties; 648s # GSource *changed_properties_idle_source; 648s # GMainContext *context; 648s # GMutex lock; 648s # }; 648s # 648s # static void 648s # _org_project_useful_interface_skeleton_handle_method_call ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name, 648s # const gchar *method_name, 648s # GVariant *parameters, 648s # GDBusMethodInvocation *invocation, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # _ExtendedGDBusMethodInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # guint num_extra; 648s # gsize n; 648s # guint signal_id; 648s # GValue return_value = G_VALUE_INIT; 648s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 648s # g_assert (info != NULL); 648s # num_params = g_variant_n_children (parameters); 648s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 648s # n = 0; 648s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[n++], skeleton); 648s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 648s # g_value_set_object (¶mv[n++], invocation); 648s # if (info->pass_fdlist) 648s # { 648s # #ifdef G_OS_UNIX 648s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 648s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 648s # #else 648s # g_assert_not_reached (); 648s # #endif 648s # } 648s # g_variant_iter_init (&iter, parameters); 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_init (&return_value, G_TYPE_BOOLEAN); 648s # g_signal_emitv (paramv, signal_id, 0, &return_value); 648s # if (!g_value_get_boolean (&return_value)) 648s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 648s # g_value_unset (&return_value); 648s # for (n = 0; n < num_params + num_extra; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static GVariant * 648s # _org_project_useful_interface_skeleton_handle_get_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # GVariant *ret; 648s # ret = NULL; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # g_value_init (&value, pspec->value_type); 648s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 648s # g_value_unset (&value); 648s # } 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _org_project_useful_interface_skeleton_handle_set_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GVariant *variant, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # gboolean ret; 648s # ret = FALSE; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # if (info->use_gvariant) 648s # g_value_set_variant (&value, variant); 648s # else 648s # g_dbus_gvariant_to_gvalue (variant, &value); 648s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # g_value_unset (&value); 648s # ret = TRUE; 648s # } 648s # return ret; 648s # } 648s # 648s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 648s # { 648s # _org_project_useful_interface_skeleton_handle_method_call, 648s # _org_project_useful_interface_skeleton_handle_get_property, 648s # _org_project_useful_interface_skeleton_handle_set_property, 648s # {NULL} 648s # }; 648s # 648s # static GDBusInterfaceInfo * 648s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return org_project_useful_interface_interface_info (); 648s # } 648s # 648s # static GDBusInterfaceVTable * 648s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 648s # } 648s # 648s # static GVariant * 648s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 648s # 648s # GVariantBuilder builder; 648s # guint n; 648s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 648s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 648s # goto out; 648s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 648s # { 648s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 648s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 648s # { 648s # GVariant *value; 648s # 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); 648s # if (value != NULL) 648s # { 648s # g_variant_take_ref (value); 648s # g_variant_builder_add (&builder, "{sv}", info->name, value); 648s # g_variant_unref (value); 648s # } 648s # } 648s # } 648s # out: 648s # return g_variant_builder_end (&builder); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_skeleton_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 648s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 648s # if (skeleton->priv->changed_properties_idle_source != NULL) 648s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 648s # g_main_context_unref (skeleton->priv->context); 648s # g_mutex_clear (&skeleton->priv->lock); 648s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 648s # #else 648s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 648s # #endif 648s # 648s # g_mutex_init (&skeleton->priv->lock); 648s # skeleton->priv->context = g_main_context_ref_thread_default (); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusInterfaceSkeletonClass *skeleton_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 648s # 648s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 648s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 648s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 648s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 648s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_skeleton_new: 648s # * 648s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_skeleton_new (void) 648s # { 648s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 648s # } 648s # /tmp/tmpy0e6khrq/tmpkbpu2py3.xml: 648s # 648s # 648s # 648s # 648s # 648s # 648s # 648s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy0e6khrq/tmpkbpu2py3.xml', '--output', '-', '--body'] 648s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 648s # Output: /* 648s # * This file is generated by gdbus-codegen, do not modify it. 648s # * 648s # * The license of this code is the same as for the D-Bus interface description 648s # * it was derived from. Note that it links to GLib, so must comply with the 648s # * LGPL linking clauses. 648s # */ 648s # 648s # #ifdef HAVE_CONFIG_H 648s # # include "config.h" 648s # #endif 648s # 648s # #include 648s # #ifdef G_OS_UNIX 648s # # include 648s # #endif 648s # 648s # #ifdef G_ENABLE_DEBUG 648s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 648s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 648s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 648s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 648s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 648s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 648s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 648s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 648s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 648s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 648s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 648s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 648s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 648s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 648s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 648s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 648s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 648s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 648s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 648s # #else /* !G_ENABLE_DEBUG */ 648s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 648s # * Do not access GValues directly in your code. Instead, use the 648s # * g_value_get_*() functions 648s # */ 648s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 648s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 648s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 648s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 648s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 648s # #endif /* !G_ENABLE_DEBUG */ 648s # 648s # typedef struct 648s # { 648s # GDBusArgInfo parent_struct; 648s # gboolean use_gvariant; 648s # } _ExtendedGDBusArgInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusMethodInfo parent_struct; 648s # const gchar *signal_name; 648s # gboolean pass_fdlist; 648s # } _ExtendedGDBusMethodInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusSignalInfo parent_struct; 648s # const gchar *signal_name; 648s # } _ExtendedGDBusSignalInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusPropertyInfo parent_struct; 648s # const gchar *hyphen_name; 648s # guint use_gvariant : 1; 648s # guint emits_changed_signal : 1; 648s # } _ExtendedGDBusPropertyInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusInterfaceInfo parent_struct; 648s # const gchar *hyphen_name; 648s # } _ExtendedGDBusInterfaceInfo; 648s # 648s # typedef struct 648s # { 648s # const _ExtendedGDBusPropertyInfo *info; 648s # guint prop_id; 648s # GValue orig_value; /* the value before the change */ 648s # } ChangedProperty; 648s # 648s # static void 648s # _changed_property_free (ChangedProperty *data) 648s # { 648s # g_value_unset (&data->orig_value); 648s # g_free (data); 648s # } 648s # 648s # static gboolean 648s # _g_strv_equal0 (gchar **a, gchar **b) 648s # { 648s # gboolean ret = FALSE; 648s # guint n; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # if (g_strv_length (a) != g_strv_length (b)) 648s # goto out; 648s # for (n = 0; a[n] != NULL; n++) 648s # if (g_strcmp0 (a[n], b[n]) != 0) 648s # goto out; 648s # ret = TRUE; 648s # out: 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _g_variant_equal0 (GVariant *a, GVariant *b) 648s # { 648s # gboolean ret = FALSE; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # ret = g_variant_equal (a, b); 648s # out: 648s # return ret; 648s # } 648s # 648s # G_GNUC_UNUSED static gboolean 648s # _g_value_equal (const GValue *a, const GValue *b) 648s # { 648s # gboolean ret = FALSE; 648s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 648s # switch (G_VALUE_TYPE (a)) 648s # { 648s # case G_TYPE_BOOLEAN: 648s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 648s # break; 648s # case G_TYPE_UCHAR: 648s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 648s # break; 648s # case G_TYPE_INT: 648s # ret = (g_value_get_int (a) == g_value_get_int (b)); 648s # break; 648s # case G_TYPE_UINT: 648s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 648s # break; 648s # case G_TYPE_INT64: 648s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 648s # break; 648s # case G_TYPE_UINT64: 648s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 648s # break; 648s # case G_TYPE_DOUBLE: 648s # { 648s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 648s # gdouble da = g_value_get_double (a); 648s # gdouble db = g_value_get_double (b); 648s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 648s # } 648s # break; 648s # case G_TYPE_STRING: 648s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 648s # break; 648s # case G_TYPE_VARIANT: 648s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 648s # break; 648s # default: 648s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 648s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 648s # else 648s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 648s # break; 648s # } 648s # return ret; 648s # } 648s # 648s # static void 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint G_GNUC_UNUSED, 648s # void *marshal_data) 648s # { 648s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (void *data1, 648s # GDBusMethodInvocation *arg_method_invocation, 648s # void *data2); 648s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 648s # GCClosure *cc = (GCClosure*) closure; 648s # void *data1, *data2; 648s # gboolean v_return; 648s # 648s # g_return_if_fail (return_value != NULL); 648s # g_return_if_fail (n_param_values == 2); 648s # 648s # if (G_CCLOSURE_SWAP_DATA (closure)) 648s # { 648s # data1 = closure->data; 648s # data2 = g_value_peek_pointer (param_values + 0); 648s # } 648s # else 648s # { 648s # data1 = g_value_peek_pointer (param_values + 0); 648s # data2 = closure->data; 648s # } 648s # 648s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (marshal_data ? marshal_data : cc->callback); 648s # 648s # v_return = 648s # callback (data1, 648s # g_marshal_value_peek_object (param_values + 1), 648s # data2); 648s # 648s # g_value_set_boolean (return_value, v_return); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ 648s # * Code for interface org.project.UsefulInterface 648s # * ------------------------------------------------------------------------ 648s # */ 648s # 648s # /** 648s # * SECTION:OrgProjectUsefulInterface 648s # * @title: OrgProjectUsefulInterface 648s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 648s # * 648s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 648s # */ 648s # 648s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 648s # 648s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 648s # { 648s # { 648s # -1, 648s # (gchar *) "arg_i", 648s # (gchar *) "i", 648s # NULL 648s # }, 648s # FALSE 648s # }; 648s # 648s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 648s # { 648s # { 648s # -1, 648s # (gchar *) "SingleArgMethodI", 648s # NULL, 648s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 648s # NULL 648s # }, 648s # "handle-single-arg-method-i", 648s # FALSE 648s # }; 648s # 648s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 648s # { 648s # { 648s # -1, 648s # (gchar *) "org.project.UsefulInterface", 648s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 648s # NULL, 648s # NULL, 648s # NULL 648s # }, 648s # "org-project-useful-interface", 648s # }; 648s # 648s # 648s # /** 648s # * org_project_useful_interface_interface_info: 648s # * 648s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 648s # * 648s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 648s # */ 648s # GDBusInterfaceInfo * 648s # org_project_useful_interface_interface_info (void) 648s # { 648s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_override_properties: 648s # * @klass: The class structure for a #GObject derived class. 648s # * @property_id_begin: The property id to assign to the first overridden property. 648s # * 648s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 648s # * The properties are overridden in the order they are defined. 648s # * 648s # * Returns: The last property id. 648s # */ 648s # guint 648s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 648s # { 648s # return property_id_begin - 1; 648s # } 648s # 648s # 648s # inline static void 648s # org_project_useful_interface_method_marshal_single_arg_method_i ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint, 648s # void *marshal_data) 648s # { 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 648s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 648s # } 648s # 648s # 648s # /** 648s # * OrgProjectUsefulInterface: 648s # * 648s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceIface: 648s # * @parent_iface: The parent interface. 648s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 648s # * 648s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 648s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 648s # 648s # static void 648s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 648s # { 648s # /* GObject signals for incoming D-Bus method calls: */ 648s # /** 648s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: A #GDBusMethodInvocation. 648s # * 648s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 648s # * 648s # * 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. 648s # * 648s # * 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. 648s # */ 648s # g_signal_new ("handle-single-arg-method-i", 648s # G_TYPE_FROM_INTERFACE (iface), 648s # G_SIGNAL_RUN_LAST, 648s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 648s # g_signal_accumulator_true_handled, 648s # NULL, 648s # org_project_useful_interface_method_marshal_single_arg_method_i, 648s # G_TYPE_BOOLEAN, 648s # 1, 648s # G_TYPE_DBUS_METHOD_INVOCATION); 648s # 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_i: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 648s # */ 648s # void 648s # org_project_useful_interface_call_single_arg_method_i ( 648s # OrgProjectUsefulInterface *proxy, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodI", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # callback, 648s # user_data); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_i_finish: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_i_finish ( 648s # OrgProjectUsefulInterface *proxy, 648s # gint *out_arg_i, 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(i)", 648s # out_arg_i); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_i_sync: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_i_sync ( 648s # OrgProjectUsefulInterface *proxy, 648s # gint *out_arg_i, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodI", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(i)", 648s # out_arg_i); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_complete_single_arg_method_i: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: (transfer full): A #GDBusMethodInvocation. 648s # * @arg_i: Parameter to return. 648s # * 648s # * 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. 648s # * 648s # * This method will free @invocation, you cannot use it afterwards. 648s # */ 648s # void 648s # org_project_useful_interface_complete_single_arg_method_i ( 648s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 648s # GDBusMethodInvocation *invocation, 648s # gint arg_i) 648s # { 648s # g_dbus_method_invocation_return_value (invocation, 648s # g_variant_new ("(i)", 648s # arg_i)); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxy: 648s # * 648s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxyClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceProxy. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceProxyPrivate 648s # { 648s # GData *qdata; 648s # }; 648s # 648s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_proxy_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 648s # g_datalist_clear (&proxy->priv->qdata); 648s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # const GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 648s # const gchar *sender_name G_GNUC_UNUSED, 648s # const gchar *signal_name, 648s # GVariant *parameters) 648s # { 648s # _ExtendedGDBusSignalInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # gsize n; 648s # guint signal_id; 648s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 648s # if (info == NULL) 648s # return; 648s # num_params = g_variant_n_children (parameters); 648s # paramv = g_new0 (GValue, num_params + 1); 648s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[0], proxy); 648s # g_variant_iter_init (&iter, parameters); 648s # n = 1; 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_signal_emitv (paramv, signal_id, 0, NULL); 648s # for (n = 0; n < num_params + 1; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 648s # GVariant *changed_properties, 648s # const gchar *const *invalidated_properties) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 648s # guint n; 648s # const gchar *key; 648s # GVariantIter *iter; 648s # _ExtendedGDBusPropertyInfo *info; 648s # g_variant_get (changed_properties, "a{sv}", &iter); 648s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 648s # g_datalist_remove_data (&proxy->priv->qdata, key); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # g_variant_iter_free (iter); 648s # for (n = 0; invalidated_properties[n] != NULL; n++) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 648s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 648s # #else 648s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 648s # #endif 648s # 648s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusProxyClass *proxy_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 648s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 648s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 648s # 648s # proxy_class = G_DBUS_PROXY_CLASS (klass); 648s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 648s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_sync: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_sync ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new_for_bus ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_sync: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_sync ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeleton: 648s # * 648s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeletonClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 648s # { 648s # GValue *properties; 648s # GList *changed_properties; 648s # GSource *changed_properties_idle_source; 648s # GMainContext *context; 648s # GMutex lock; 648s # }; 648s # 648s # static void 648s # _org_project_useful_interface_skeleton_handle_method_call ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name, 648s # const gchar *method_name, 648s # GVariant *parameters, 648s # GDBusMethodInvocation *invocation, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # _ExtendedGDBusMethodInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # guint num_extra; 648s # gsize n; 648s # guint signal_id; 648s # GValue return_value = G_VALUE_INIT; 648s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 648s # g_assert (info != NULL); 648s # num_params = g_variant_n_children (parameters); 648s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 648s # n = 0; 648s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[n++], skeleton); 648s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 648s # g_value_set_object (¶mv[n++], invocation); 648s # if (info->pass_fdlist) 648s # { 648s # #ifdef G_OS_UNIX 648s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 648s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 648s # #else 648s # g_assert_not_reached (); 648s # #endif 648s # } 648s # g_variant_iter_init (&iter, parameters); 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_init (&return_value, G_TYPE_BOOLEAN); 648s # g_signal_emitv (paramv, signal_id, 0, &return_value); 648s # if (!g_value_get_boolean (&return_value)) 648s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 648s # g_value_unset (&return_value); 648s # for (n = 0; n < num_params + num_extra; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static GVariant * 648s # _org_project_useful_interface_skeleton_handle_get_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # GVariant *ret; 648s # ret = NULL; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # g_value_init (&value, pspec->value_type); 648s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 648s # g_value_unset (&value); 648s # } 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _org_project_useful_interface_skeleton_handle_set_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GVariant *variant, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # gboolean ret; 648s # ret = FALSE; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # if (info->use_gvariant) 648s # g_value_set_variant (&value, variant); 648s # else 648s # g_dbus_gvariant_to_gvalue (variant, &value); 648s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # g_value_unset (&value); 648s # ret = TRUE; 648s # } 648s # return ret; 648s # } 648s # 648s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 648s # { 648s # _org_project_useful_interface_skeleton_handle_method_call, 648s # _org_project_useful_interface_skeleton_handle_get_property, 648s # _org_project_useful_interface_skeleton_handle_set_property, 648s # {NULL} 648s # }; 648s # 648s # static GDBusInterfaceInfo * 648s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return org_project_useful_interface_interface_info (); 648s # } 648s # 648s # static GDBusInterfaceVTable * 648s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 648s # } 648s # 648s # static GVariant * 648s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 648s # 648s # GVariantBuilder builder; 648s # guint n; 648s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 648s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 648s # goto out; 648s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 648s # { 648s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 648s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 648s # { 648s # GVariant *value; 648s # 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); 648s # if (value != NULL) 648s # { 648s # g_variant_take_ref (value); 648s # g_variant_builder_add (&builder, "{sv}", info->name, value); 648s # g_variant_unref (value); 648s # } 648s # } 648s # } 648s # out: 648s # return g_variant_builder_end (&builder); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_skeleton_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 648s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 648s # if (skeleton->priv->changed_properties_idle_source != NULL) 648s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 648s # g_main_context_unref (skeleton->priv->context); 648s # g_mutex_clear (&skeleton->priv->lock); 648s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 648s # #else 648s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 648s # #endif 648s # 648s # g_mutex_init (&skeleton->priv->lock); 648s # skeleton->priv->context = g_main_context_ref_thread_default (); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusInterfaceSkeletonClass *skeleton_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 648s # 648s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 648s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 648s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 648s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 648s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_skeleton_new: 648s # * 648s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_skeleton_new (void) 648s # { 648s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 648s # } 648s # /tmp/tmpy0e6khrq/tmpbypvo3_x.xml: 648s # 648s # 648s # 648s # 648s # 648s # 648s # 648s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy0e6khrq/tmpbypvo3_x.xml', '--output', '-', '--body'] 648s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 648s # Output: /* 648s # * This file is generated by gdbus-codegen, do not modify it. 648s # * 648s # * The license of this code is the same as for the D-Bus interface description 648s # * it was derived from. Note that it links to GLib, so must comply with the 648s # * LGPL linking clauses. 648s # */ 648s # 648s # #ifdef HAVE_CONFIG_H 648s # # include "config.h" 648s # #endif 648s # 648s # #include 648s # #ifdef G_OS_UNIX 648s # # include 648s # #endif 648s # 648s # #ifdef G_ENABLE_DEBUG 648s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 648s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 648s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 648s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 648s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 648s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 648s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 648s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 648s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 648s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 648s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 648s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 648s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 648s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 648s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 648s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 648s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 648s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 648s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 648s # #else /* !G_ENABLE_DEBUG */ 648s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 648s # * Do not access GValues directly in your code. Instead, use the 648s # * g_value_get_*() functions 648s # */ 648s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 648s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 648s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 648s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 648s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 648s # #endif /* !G_ENABLE_DEBUG */ 648s # 648s # typedef struct 648s # { 648s # GDBusArgInfo parent_struct; 648s # gboolean use_gvariant; 648s # } _ExtendedGDBusArgInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusMethodInfo parent_struct; 648s # const gchar *signal_name; 648s # gboolean pass_fdlist; 648s # } _ExtendedGDBusMethodInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusSignalInfo parent_struct; 648s # const gchar *signal_name; 648s # } _ExtendedGDBusSignalInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusPropertyInfo parent_struct; 648s # const gchar *hyphen_name; 648s # guint use_gvariant : 1; 648s # guint emits_changed_signal : 1; 648s # } _ExtendedGDBusPropertyInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusInterfaceInfo parent_struct; 648s # const gchar *hyphen_name; 648s # } _ExtendedGDBusInterfaceInfo; 648s # 648s # typedef struct 648s # { 648s # const _ExtendedGDBusPropertyInfo *info; 648s # guint prop_id; 648s # GValue orig_value; /* the value before the change */ 648s # } ChangedProperty; 648s # 648s # static void 648s # _changed_property_free (ChangedProperty *data) 648s # { 648s # g_value_unset (&data->orig_value); 648s # g_free (data); 648s # } 648s # 648s # static gboolean 648s # _g_strv_equal0 (gchar **a, gchar **b) 648s # { 648s # gboolean ret = FALSE; 648s # guint n; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # if (g_strv_length (a) != g_strv_length (b)) 648s # goto out; 648s # for (n = 0; a[n] != NULL; n++) 648s # if (g_strcmp0 (a[n], b[n]) != 0) 648s # goto out; 648s # ret = TRUE; 648s # out: 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _g_variant_equal0 (GVariant *a, GVariant *b) 648s # { 648s # gboolean ret = FALSE; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # ret = g_variant_equal (a, b); 648s # out: 648s # return ret; 648s # } 648s # 648s # G_GNUC_UNUSED static gboolean 648s # _g_value_equal (const GValue *a, const GValue *b) 648s # { 648s # gboolean ret = FALSE; 648s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 648s # switch (G_VALUE_TYPE (a)) 648s # { 648s # case G_TYPE_BOOLEAN: 648s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 648s # break; 648s # case G_TYPE_UCHAR: 648s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 648s # break; 648s # case G_TYPE_INT: 648s # ret = (g_value_get_int (a) == g_value_get_int (b)); 648s # break; 648s # case G_TYPE_UINT: 648s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 648s # break; 648s # case G_TYPE_INT64: 648s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 648s # break; 648s # case G_TYPE_UINT64: 648s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 648s # break; 648s # case G_TYPE_DOUBLE: 648s # { 648s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 648s # gdouble da = g_value_get_double (a); 648s # gdouble db = g_value_get_double (b); 648s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 648s # } 648s # break; 648s # case G_TYPE_STRING: 648s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 648s # break; 648s # case G_TYPE_VARIANT: 648s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 648s # break; 648s # default: 648s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 648s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 648s # else 648s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 648s # break; 648s # } 648s # return ret; 648s # } 648s # 648s # static void 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint G_GNUC_UNUSED, 648s # void *marshal_data) 648s # { 648s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (void *data1, 648s # GDBusMethodInvocation *arg_method_invocation, 648s # void *data2); 648s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 648s # GCClosure *cc = (GCClosure*) closure; 648s # void *data1, *data2; 648s # gboolean v_return; 648s # 648s # g_return_if_fail (return_value != NULL); 648s # g_return_if_fail (n_param_values == 2); 648s # 648s # if (G_CCLOSURE_SWAP_DATA (closure)) 648s # { 648s # data1 = closure->data; 648s # data2 = g_value_peek_pointer (param_values + 0); 648s # } 648s # else 648s # { 648s # data1 = g_value_peek_pointer (param_values + 0); 648s # data2 = closure->data; 648s # } 648s # 648s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (marshal_data ? marshal_data : cc->callback); 648s # 648s # v_return = 648s # callback (data1, 648s # g_marshal_value_peek_object (param_values + 1), 648s # data2); 648s # 648s # g_value_set_boolean (return_value, v_return); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ 648s # * Code for interface org.project.UsefulInterface 648s # * ------------------------------------------------------------------------ 648s # */ 648s # 648s # /** 648s # * SECTION:OrgProjectUsefulInterface 648s # * @title: OrgProjectUsefulInterface 648s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 648s # * 648s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 648s # */ 648s # 648s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 648s # 648s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 648s # { 648s # { 648s # -1, 648s # (gchar *) "arg_u", 648s # (gchar *) "u", 648s # NULL 648s # }, 648s # FALSE 648s # }; 648s # 648s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 648s # { 648s # { 648s # -1, 648s # (gchar *) "SingleArgMethodU", 648s # NULL, 648s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 648s # NULL 648s # }, 648s # "handle-single-arg-method-u", 648s # FALSE 648s # }; 648s # 648s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 648s # { 648s # { 648s # -1, 648s # (gchar *) "org.project.UsefulInterface", 648s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 648s # NULL, 648s # NULL, 648s # NULL 648s # }, 648s # "org-project-useful-interface", 648s # }; 648s # 648s # 648s # /** 648s # * org_project_useful_interface_interface_info: 648s # * 648s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 648s # * 648s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 648s # */ 648s # GDBusInterfaceInfo * 648s # org_project_useful_interface_interface_info (void) 648s # { 648s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_override_properties: 648s # * @klass: The class structure for a #GObject derived class. 648s # * @property_id_begin: The property id to assign to the first overridden property. 648s # * 648s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 648s # * The properties are overridden in the order they are defined. 648s # * 648s # * Returns: The last property id. 648s # */ 648s # guint 648s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 648s # { 648s # return property_id_begin - 1; 648s # } 648s # 648s # 648s # inline static void 648s # org_project_useful_interface_method_marshal_single_arg_method_u ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint, 648s # void *marshal_data) 648s # { 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 648s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 648s # } 648s # 648s # 648s # /** 648s # * OrgProjectUsefulInterface: 648s # * 648s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceIface: 648s # * @parent_iface: The parent interface. 648s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 648s # * 648s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 648s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 648s # 648s # static void 648s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 648s # { 648s # /* GObject signals for incoming D-Bus method calls: */ 648s # /** 648s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: A #GDBusMethodInvocation. 648s # * 648s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 648s # * 648s # * 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. 648s # * 648s # * 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. 648s # */ 648s # g_signal_new ("handle-single-arg-method-u", 648s # G_TYPE_FROM_INTERFACE (iface), 648s # G_SIGNAL_RUN_LAST, 648s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 648s # g_signal_accumulator_true_handled, 648s # NULL, 648s # org_project_useful_interface_method_marshal_single_arg_method_u, 648s # G_TYPE_BOOLEAN, 648s # 1, 648s # G_TYPE_DBUS_METHOD_INVOCATION); 648s # 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_u: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 648s # */ 648s # void 648s # org_project_useful_interface_call_single_arg_method_u ( 648s # OrgProjectUsefulInterface *proxy, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodU", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # callback, 648s # user_data); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_u_finish: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_u_finish ( 648s # OrgProjectUsefulInterface *proxy, 648s # guint *out_arg_u, 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(u)", 648s # out_arg_u); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_u_sync: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_u_sync ( 648s # OrgProjectUsefulInterface *proxy, 648s # guint *out_arg_u, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodU", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(u)", 648s # out_arg_u); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_complete_single_arg_method_u: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: (transfer full): A #GDBusMethodInvocation. 648s # * @arg_u: Parameter to return. 648s # * 648s # * 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. 648s # * 648s # * This method will free @invocation, you cannot use it afterwards. 648s # */ 648s # void 648s # org_project_useful_interface_complete_single_arg_method_u ( 648s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 648s # GDBusMethodInvocation *invocation, 648s # guint arg_u) 648s # { 648s # g_dbus_method_invocation_return_value (invocation, 648s # g_variant_new ("(u)", 648s # arg_u)); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxy: 648s # * 648s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxyClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceProxy. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceProxyPrivate 648s # { 648s # GData *qdata; 648s # }; 648s # 648s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_proxy_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 648s # g_datalist_clear (&proxy->priv->qdata); 648s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # const GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 648s # const gchar *sender_name G_GNUC_UNUSED, 648s # const gchar *signal_name, 648s # GVariant *parameters) 648s # { 648s # _ExtendedGDBusSignalInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # gsize n; 648s # guint signal_id; 648s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 648s # if (info == NULL) 648s # return; 648s # num_params = g_variant_n_children (parameters); 648s # paramv = g_new0 (GValue, num_params + 1); 648s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[0], proxy); 648s # g_variant_iter_init (&iter, parameters); 648s # n = 1; 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_signal_emitv (paramv, signal_id, 0, NULL); 648s # for (n = 0; n < num_params + 1; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 648s # GVariant *changed_properties, 648s # const gchar *const *invalidated_properties) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 648s # guint n; 648s # const gchar *key; 648s # GVariantIter *iter; 648s # _ExtendedGDBusPropertyInfo *info; 648s # g_variant_get (changed_properties, "a{sv}", &iter); 648s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 648s # g_datalist_remove_data (&proxy->priv->qdata, key); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # g_variant_iter_free (iter); 648s # for (n = 0; invalidated_properties[n] != NULL; n++) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 648s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 648s # #else 648s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 648s # #endif 648s # 648s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusProxyClass *proxy_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 648s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 648s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 648s # 648s # proxy_class = G_DBUS_PROXY_CLASS (klass); 648s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 648s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_sync: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_sync ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new_for_bus ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_sync: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_sync ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeleton: 648s # * 648s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeletonClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 648s # { 648s # GValue *properties; 648s # GList *changed_properties; 648s # GSource *changed_properties_idle_source; 648s # GMainContext *context; 648s # GMutex lock; 648s # }; 648s # 648s # static void 648s # _org_project_useful_interface_skeleton_handle_method_call ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name, 648s # const gchar *method_name, 648s # GVariant *parameters, 648s # GDBusMethodInvocation *invocation, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # _ExtendedGDBusMethodInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # guint num_extra; 648s # gsize n; 648s # guint signal_id; 648s # GValue return_value = G_VALUE_INIT; 648s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 648s # g_assert (info != NULL); 648s # num_params = g_variant_n_children (parameters); 648s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 648s # n = 0; 648s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[n++], skeleton); 648s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 648s # g_value_set_object (¶mv[n++], invocation); 648s # if (info->pass_fdlist) 648s # { 648s # #ifdef G_OS_UNIX 648s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 648s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 648s # #else 648s # g_assert_not_reached (); 648s # #endif 648s # } 648s # g_variant_iter_init (&iter, parameters); 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_init (&return_value, G_TYPE_BOOLEAN); 648s # g_signal_emitv (paramv, signal_id, 0, &return_value); 648s # if (!g_value_get_boolean (&return_value)) 648s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 648s # g_value_unset (&return_value); 648s # for (n = 0; n < num_params + num_extra; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static GVariant * 648s # _org_project_useful_interface_skeleton_handle_get_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # GVariant *ret; 648s # ret = NULL; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # g_value_init (&value, pspec->value_type); 648s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 648s # g_value_unset (&value); 648s # } 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _org_project_useful_interface_skeleton_handle_set_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GVariant *variant, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # gboolean ret; 648s # ret = FALSE; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # if (info->use_gvariant) 648s # g_value_set_variant (&value, variant); 648s # else 648s # g_dbus_gvariant_to_gvalue (variant, &value); 648s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # g_value_unset (&value); 648s # ret = TRUE; 648s # } 648s # return ret; 648s # } 648s # 648s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 648s # { 648s # _org_project_useful_interface_skeleton_handle_method_call, 648s # _org_project_useful_interface_skeleton_handle_get_property, 648s # _org_project_useful_interface_skeleton_handle_set_property, 648s # {NULL} 648s # }; 648s # 648s # static GDBusInterfaceInfo * 648s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return org_project_useful_interface_interface_info (); 648s # } 648s # 648s # static GDBusInterfaceVTable * 648s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 648s # } 648s # 648s # static GVariant * 648s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 648s # 648s # GVariantBuilder builder; 648s # guint n; 648s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 648s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 648s # goto out; 648s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 648s # { 648s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 648s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 648s # { 648s # GVariant *value; 648s # 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); 648s # if (value != NULL) 648s # { 648s # g_variant_take_ref (value); 648s # g_variant_builder_add (&builder, "{sv}", info->name, value); 648s # g_variant_unref (value); 648s # } 648s # } 648s # } 648s # out: 648s # return g_variant_builder_end (&builder); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_skeleton_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 648s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 648s # if (skeleton->priv->changed_properties_idle_source != NULL) 648s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 648s # g_main_context_unref (skeleton->priv->context); 648s # g_mutex_clear (&skeleton->priv->lock); 648s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 648s # #else 648s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 648s # #endif 648s # 648s # g_mutex_init (&skeleton->priv->lock); 648s # skeleton->priv->context = g_main_context_ref_thread_default (); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusInterfaceSkeletonClass *skeleton_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 648s # 648s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 648s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 648s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 648s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 648s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_skeleton_new: 648s # * 648s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_skeleton_new (void) 648s # { 648s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 648s # } 648s # /tmp/tmpy0e6khrq/tmp8bvo2gen.xml: 648s # 648s # 648s # 648s # 648s # 648s # 648s # 648s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy0e6khrq/tmp8bvo2gen.xml', '--output', '-', '--body'] 648s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 648s # Output: /* 648s # * This file is generated by gdbus-codegen, do not modify it. 648s # * 648s # * The license of this code is the same as for the D-Bus interface description 648s # * it was derived from. Note that it links to GLib, so must comply with the 648s # * LGPL linking clauses. 648s # */ 648s # 648s # #ifdef HAVE_CONFIG_H 648s # # include "config.h" 648s # #endif 648s # 648s # #include 648s # #ifdef G_OS_UNIX 648s # # include 648s # #endif 648s # 648s # #ifdef G_ENABLE_DEBUG 648s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 648s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 648s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 648s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 648s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 648s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 648s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 648s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 648s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 648s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 648s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 648s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 648s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 648s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 648s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 648s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 648s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 648s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 648s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 648s # #else /* !G_ENABLE_DEBUG */ 648s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 648s # * Do not access GValues directly in your code. Instead, use the 648s # * g_value_get_*() functions 648s # */ 648s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 648s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 648s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 648s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 648s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 648s # #endif /* !G_ENABLE_DEBUG */ 648s # 648s # typedef struct 648s # { 648s # GDBusArgInfo parent_struct; 648s # gboolean use_gvariant; 648s # } _ExtendedGDBusArgInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusMethodInfo parent_struct; 648s # const gchar *signal_name; 648s # gboolean pass_fdlist; 648s # } _ExtendedGDBusMethodInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusSignalInfo parent_struct; 648s # const gchar *signal_name; 648s # } _ExtendedGDBusSignalInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusPropertyInfo parent_struct; 648s # const gchar *hyphen_name; 648s # guint use_gvariant : 1; 648s # guint emits_changed_signal : 1; 648s # } _ExtendedGDBusPropertyInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusInterfaceInfo parent_struct; 648s # const gchar *hyphen_name; 648s # } _ExtendedGDBusInterfaceInfo; 648s # 648s # typedef struct 648s # { 648s # const _ExtendedGDBusPropertyInfo *info; 648s # guint prop_id; 648s # GValue orig_value; /* the value before the change */ 648s # } ChangedProperty; 648s # 648s # static void 648s # _changed_property_free (ChangedProperty *data) 648s # { 648s # g_value_unset (&data->orig_value); 648s # g_free (data); 648s # } 648s # 648s # static gboolean 648s # _g_strv_equal0 (gchar **a, gchar **b) 648s # { 648s # gboolean ret = FALSE; 648s # guint n; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # if (g_strv_length (a) != g_strv_length (b)) 648s # goto out; 648s # for (n = 0; a[n] != NULL; n++) 648s # if (g_strcmp0 (a[n], b[n]) != 0) 648s # goto out; 648s # ret = TRUE; 648s # out: 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _g_variant_equal0 (GVariant *a, GVariant *b) 648s # { 648s # gboolean ret = FALSE; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # ret = g_variant_equal (a, b); 648s # out: 648s # return ret; 648s # } 648s # 648s # G_GNUC_UNUSED static gboolean 648s # _g_value_equal (const GValue *a, const GValue *b) 648s # { 648s # gboolean ret = FALSE; 648s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 648s # switch (G_VALUE_TYPE (a)) 648s # { 648s # case G_TYPE_BOOLEAN: 648s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 648s # break; 648s # case G_TYPE_UCHAR: 648s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 648s # break; 648s # case G_TYPE_INT: 648s # ret = (g_value_get_int (a) == g_value_get_int (b)); 648s # break; 648s # case G_TYPE_UINT: 648s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 648s # break; 648s # case G_TYPE_INT64: 648s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 648s # break; 648s # case G_TYPE_UINT64: 648s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 648s # break; 648s # case G_TYPE_DOUBLE: 648s # { 648s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 648s # gdouble da = g_value_get_double (a); 648s # gdouble db = g_value_get_double (b); 648s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 648s # } 648s # break; 648s # case G_TYPE_STRING: 648s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 648s # break; 648s # case G_TYPE_VARIANT: 648s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 648s # break; 648s # default: 648s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 648s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 648s # else 648s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 648s # break; 648s # } 648s # return ret; 648s # } 648s # 648s # static void 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint G_GNUC_UNUSED, 648s # void *marshal_data) 648s # { 648s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (void *data1, 648s # GDBusMethodInvocation *arg_method_invocation, 648s # void *data2); 648s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 648s # GCClosure *cc = (GCClosure*) closure; 648s # void *data1, *data2; 648s # gboolean v_return; 648s # 648s # g_return_if_fail (return_value != NULL); 648s # g_return_if_fail (n_param_values == 2); 648s # 648s # if (G_CCLOSURE_SWAP_DATA (closure)) 648s # { 648s # data1 = closure->data; 648s # data2 = g_value_peek_pointer (param_values + 0); 648s # } 648s # else 648s # { 648s # data1 = g_value_peek_pointer (param_values + 0); 648s # data2 = closure->data; 648s # } 648s # 648s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (marshal_data ? marshal_data : cc->callback); 648s # 648s # v_return = 648s # callback (data1, 648s # g_marshal_value_peek_object (param_values + 1), 648s # data2); 648s # 648s # g_value_set_boolean (return_value, v_return); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ 648s # * Code for interface org.project.UsefulInterface 648s # * ------------------------------------------------------------------------ 648s # */ 648s # 648s # /** 648s # * SECTION:OrgProjectUsefulInterface 648s # * @title: OrgProjectUsefulInterface 648s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 648s # * 648s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 648s # */ 648s # 648s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 648s # 648s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 648s # { 648s # { 648s # -1, 648s # (gchar *) "arg_x", 648s # (gchar *) "x", 648s # NULL 648s # }, 648s # FALSE 648s # }; 648s # 648s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 648s # { 648s # { 648s # -1, 648s # (gchar *) "SingleArgMethodX", 648s # NULL, 648s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 648s # NULL 648s # }, 648s # "handle-single-arg-method-x", 648s # FALSE 648s # }; 648s # 648s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 648s # { 648s # { 648s # -1, 648s # (gchar *) "org.project.UsefulInterface", 648s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 648s # NULL, 648s # NULL, 648s # NULL 648s # }, 648s # "org-project-useful-interface", 648s # }; 648s # 648s # 648s # /** 648s # * org_project_useful_interface_interface_info: 648s # * 648s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 648s # * 648s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 648s # */ 648s # GDBusInterfaceInfo * 648s # org_project_useful_interface_interface_info (void) 648s # { 648s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_override_properties: 648s # * @klass: The class structure for a #GObject derived class. 648s # * @property_id_begin: The property id to assign to the first overridden property. 648s # * 648s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 648s # * The properties are overridden in the order they are defined. 648s # * 648s # * Returns: The last property id. 648s # */ 648s # guint 648s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 648s # { 648s # return property_id_begin - 1; 648s # } 648s # 648s # 648s # inline static void 648s # org_project_useful_interface_method_marshal_single_arg_method_x ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint, 648s # void *marshal_data) 648s # { 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 648s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 648s # } 648s # 648s # 648s # /** 648s # * OrgProjectUsefulInterface: 648s # * 648s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceIface: 648s # * @parent_iface: The parent interface. 648s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 648s # * 648s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 648s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 648s # 648s # static void 648s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 648s # { 648s # /* GObject signals for incoming D-Bus method calls: */ 648s # /** 648s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: A #GDBusMethodInvocation. 648s # * 648s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 648s # * 648s # * 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. 648s # * 648s # * 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. 648s # */ 648s # g_signal_new ("handle-single-arg-method-x", 648s # G_TYPE_FROM_INTERFACE (iface), 648s # G_SIGNAL_RUN_LAST, 648s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 648s # g_signal_accumulator_true_handled, 648s # NULL, 648s # org_project_useful_interface_method_marshal_single_arg_method_x, 648s # G_TYPE_BOOLEAN, 648s # 1, 648s # G_TYPE_DBUS_METHOD_INVOCATION); 648s # 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_x: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 648s # */ 648s # void 648s # org_project_useful_interface_call_single_arg_method_x ( 648s # OrgProjectUsefulInterface *proxy, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodX", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # callback, 648s # user_data); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_x_finish: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_x_finish ( 648s # OrgProjectUsefulInterface *proxy, 648s # gint64 *out_arg_x, 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(x)", 648s # out_arg_x); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_x_sync: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_x_sync ( 648s # OrgProjectUsefulInterface *proxy, 648s # gint64 *out_arg_x, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodX", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(x)", 648s # out_arg_x); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_complete_single_arg_method_x: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: (transfer full): A #GDBusMethodInvocation. 648s # * @arg_x: Parameter to return. 648s # * 648s # * 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. 648s # * 648s # * This method will free @invocation, you cannot use it afterwards. 648s # */ 648s # void 648s # org_project_useful_interface_complete_single_arg_method_x ( 648s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 648s # GDBusMethodInvocation *invocation, 648s # gint64 arg_x) 648s # { 648s # g_dbus_method_invocation_return_value (invocation, 648s # g_variant_new ("(x)", 648s # arg_x)); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxy: 648s # * 648s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxyClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceProxy. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceProxyPrivate 648s # { 648s # GData *qdata; 648s # }; 648s # 648s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_proxy_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 648s # g_datalist_clear (&proxy->priv->qdata); 648s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # const GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 648s # const gchar *sender_name G_GNUC_UNUSED, 648s # const gchar *signal_name, 648s # GVariant *parameters) 648s # { 648s # _ExtendedGDBusSignalInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # gsize n; 648s # guint signal_id; 648s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 648s # if (info == NULL) 648s # return; 648s # num_params = g_variant_n_children (parameters); 648s # paramv = g_new0 (GValue, num_params + 1); 648s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[0], proxy); 648s # g_variant_iter_init (&iter, parameters); 648s # n = 1; 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_signal_emitv (paramv, signal_id, 0, NULL); 648s # for (n = 0; n < num_params + 1; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 648s # GVariant *changed_properties, 648s # const gchar *const *invalidated_properties) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 648s # guint n; 648s # const gchar *key; 648s # GVariantIter *iter; 648s # _ExtendedGDBusPropertyInfo *info; 648s # g_variant_get (changed_properties, "a{sv}", &iter); 648s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 648s # g_datalist_remove_data (&proxy->priv->qdata, key); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # g_variant_iter_free (iter); 648s # for (n = 0; invalidated_properties[n] != NULL; n++) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 648s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 648s # #else 648s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 648s # #endif 648s # 648s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusProxyClass *proxy_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 648s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 648s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 648s # 648s # proxy_class = G_DBUS_PROXY_CLASS (klass); 648s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 648s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_sync: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_sync ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new_for_bus ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_sync: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_sync ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeleton: 648s # * 648s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeletonClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 648s # { 648s # GValue *properties; 648s # GList *changed_properties; 648s # GSource *changed_properties_idle_source; 648s # GMainContext *context; 648s # GMutex lock; 648s # }; 648s # 648s # static void 648s # _org_project_useful_interface_skeleton_handle_method_call ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name, 648s # const gchar *method_name, 648s # GVariant *parameters, 648s # GDBusMethodInvocation *invocation, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # _ExtendedGDBusMethodInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # guint num_extra; 648s # gsize n; 648s # guint signal_id; 648s # GValue return_value = G_VALUE_INIT; 648s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 648s # g_assert (info != NULL); 648s # num_params = g_variant_n_children (parameters); 648s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 648s # n = 0; 648s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[n++], skeleton); 648s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 648s # g_value_set_object (¶mv[n++], invocation); 648s # if (info->pass_fdlist) 648s # { 648s # #ifdef G_OS_UNIX 648s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 648s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 648s # #else 648s # g_assert_not_reached (); 648s # #endif 648s # } 648s # g_variant_iter_init (&iter, parameters); 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_init (&return_value, G_TYPE_BOOLEAN); 648s # g_signal_emitv (paramv, signal_id, 0, &return_value); 648s # if (!g_value_get_boolean (&return_value)) 648s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 648s # g_value_unset (&return_value); 648s # for (n = 0; n < num_params + num_extra; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static GVariant * 648s # _org_project_useful_interface_skeleton_handle_get_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # GVariant *ret; 648s # ret = NULL; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # g_value_init (&value, pspec->value_type); 648s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 648s # g_value_unset (&value); 648s # } 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _org_project_useful_interface_skeleton_handle_set_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GVariant *variant, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # gboolean ret; 648s # ret = FALSE; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # if (info->use_gvariant) 648s # g_value_set_variant (&value, variant); 648s # else 648s # g_dbus_gvariant_to_gvalue (variant, &value); 648s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # g_value_unset (&value); 648s # ret = TRUE; 648s # } 648s # return ret; 648s # } 648s # 648s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 648s # { 648s # _org_project_useful_interface_skeleton_handle_method_call, 648s # _org_project_useful_interface_skeleton_handle_get_property, 648s # _org_project_useful_interface_skeleton_handle_set_property, 648s # {NULL} 648s # }; 648s # 648s # static GDBusInterfaceInfo * 648s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return org_project_useful_interface_interface_info (); 648s # } 648s # 648s # static GDBusInterfaceVTable * 648s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 648s # } 648s # 648s # static GVariant * 648s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 648s # 648s # GVariantBuilder builder; 648s # guint n; 648s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 648s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 648s # goto out; 648s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 648s # { 648s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 648s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 648s # { 648s # GVariant *value; 648s # 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); 648s # if (value != NULL) 648s # { 648s # g_variant_take_ref (value); 648s # g_variant_builder_add (&builder, "{sv}", info->name, value); 648s # g_variant_unref (value); 648s # } 648s # } 648s # } 648s # out: 648s # return g_variant_builder_end (&builder); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_skeleton_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 648s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 648s # if (skeleton->priv->changed_properties_idle_source != NULL) 648s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 648s # g_main_context_unref (skeleton->priv->context); 648s # g_mutex_clear (&skeleton->priv->lock); 648s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 648s # #else 648s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 648s # #endif 648s # 648s # g_mutex_init (&skeleton->priv->lock); 648s # skeleton->priv->context = g_main_context_ref_thread_default (); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusInterfaceSkeletonClass *skeleton_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 648s # 648s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 648s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 648s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 648s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 648s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_skeleton_new: 648s # * 648s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_skeleton_new (void) 648s # { 648s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 648s # } 648s # /tmp/tmpy0e6khrq/tmpru_yi60e.xml: 648s # 648s # 648s # 648s # 648s # 648s # 648s # 648s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy0e6khrq/tmpru_yi60e.xml', '--output', '-', '--body'] 648s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 648s # Output: /* 648s # * This file is generated by gdbus-codegen, do not modify it. 648s # * 648s # * The license of this code is the same as for the D-Bus interface description 648s # * it was derived from. Note that it links to GLib, so must comply with the 648s # * LGPL linking clauses. 648s # */ 648s # 648s # #ifdef HAVE_CONFIG_H 648s # # include "config.h" 648s # #endif 648s # 648s # #include 648s # #ifdef G_OS_UNIX 648s # # include 648s # #endif 648s # 648s # #ifdef G_ENABLE_DEBUG 648s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 648s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 648s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 648s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 648s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 648s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 648s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 648s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 648s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 648s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 648s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 648s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 648s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 648s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 648s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 648s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 648s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 648s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 648s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 648s # #else /* !G_ENABLE_DEBUG */ 648s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 648s # * Do not access GValues directly in your code. Instead, use the 648s # * g_value_get_*() functions 648s # */ 648s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 648s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 648s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 648s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 648s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 648s # #endif /* !G_ENABLE_DEBUG */ 648s # 648s # typedef struct 648s # { 648s # GDBusArgInfo parent_struct; 648s # gboolean use_gvariant; 648s # } _ExtendedGDBusArgInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusMethodInfo parent_struct; 648s # const gchar *signal_name; 648s # gboolean pass_fdlist; 648s # } _ExtendedGDBusMethodInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusSignalInfo parent_struct; 648s # const gchar *signal_name; 648s # } _ExtendedGDBusSignalInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusPropertyInfo parent_struct; 648s # const gchar *hyphen_name; 648s # guint use_gvariant : 1; 648s # guint emits_changed_signal : 1; 648s # } _ExtendedGDBusPropertyInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusInterfaceInfo parent_struct; 648s # const gchar *hyphen_name; 648s # } _ExtendedGDBusInterfaceInfo; 648s # 648s # typedef struct 648s # { 648s # const _ExtendedGDBusPropertyInfo *info; 648s # guint prop_id; 648s # GValue orig_value; /* the value before the change */ 648s # } ChangedProperty; 648s # 648s # static void 648s # _changed_property_free (ChangedProperty *data) 648s # { 648s # g_value_unset (&data->orig_value); 648s # g_free (data); 648s # } 648s # 648s # static gboolean 648s # _g_strv_equal0 (gchar **a, gchar **b) 648s # { 648s # gboolean ret = FALSE; 648s # guint n; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # if (g_strv_length (a) != g_strv_length (b)) 648s # goto out; 648s # for (n = 0; a[n] != NULL; n++) 648s # if (g_strcmp0 (a[n], b[n]) != 0) 648s # goto out; 648s # ret = TRUE; 648s # out: 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _g_variant_equal0 (GVariant *a, GVariant *b) 648s # { 648s # gboolean ret = FALSE; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # ret = g_variant_equal (a, b); 648s # out: 648s # return ret; 648s # } 648s # 648s # G_GNUC_UNUSED static gboolean 648s # _g_value_equal (const GValue *a, const GValue *b) 648s # { 648s # gboolean ret = FALSE; 648s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 648s # switch (G_VALUE_TYPE (a)) 648s # { 648s # case G_TYPE_BOOLEAN: 648s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 648s # break; 648s # case G_TYPE_UCHAR: 648s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 648s # break; 648s # case G_TYPE_INT: 648s # ret = (g_value_get_int (a) == g_value_get_int (b)); 648s # break; 648s # case G_TYPE_UINT: 648s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 648s # break; 648s # case G_TYPE_INT64: 648s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 648s # break; 648s # case G_TYPE_UINT64: 648s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 648s # break; 648s # case G_TYPE_DOUBLE: 648s # { 648s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 648s # gdouble da = g_value_get_double (a); 648s # gdouble db = g_value_get_double (b); 648s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 648s # } 648s # break; 648s # case G_TYPE_STRING: 648s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 648s # break; 648s # case G_TYPE_VARIANT: 648s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 648s # break; 648s # default: 648s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 648s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 648s # else 648s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 648s # break; 648s # } 648s # return ret; 648s # } 648s # 648s # static void 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint G_GNUC_UNUSED, 648s # void *marshal_data) 648s # { 648s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (void *data1, 648s # GDBusMethodInvocation *arg_method_invocation, 648s # void *data2); 648s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 648s # GCClosure *cc = (GCClosure*) closure; 648s # void *data1, *data2; 648s # gboolean v_return; 648s # 648s # g_return_if_fail (return_value != NULL); 648s # g_return_if_fail (n_param_values == 2); 648s # 648s # if (G_CCLOSURE_SWAP_DATA (closure)) 648s # { 648s # data1 = closure->data; 648s # data2 = g_value_peek_pointer (param_values + 0); 648s # } 648s # else 648s # { 648s # data1 = g_value_peek_pointer (param_values + 0); 648s # data2 = closure->data; 648s # } 648s # 648s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (marshal_data ? marshal_data : cc->callback); 648s # 648s # v_return = 648s # callback (data1, 648s # g_marshal_value_peek_object (param_values + 1), 648s # data2); 648s # 648s # g_value_set_boolean (return_value, v_return); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ 648s # * Code for interface org.project.UsefulInterface 648s # * ------------------------------------------------------------------------ 648s # */ 648s # 648s # /** 648s # * SECTION:OrgProjectUsefulInterface 648s # * @title: OrgProjectUsefulInterface 648s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 648s # * 648s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 648s # */ 648s # 648s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 648s # 648s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 648s # { 648s # { 648s # -1, 648s # (gchar *) "arg_t", 648s # (gchar *) "t", 648s # NULL 648s # }, 648s # FALSE 648s # }; 648s # 648s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 648s # { 648s # { 648s # -1, 648s # (gchar *) "SingleArgMethodT", 648s # NULL, 648s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 648s # NULL 648s # }, 648s # "handle-single-arg-method-t", 648s # FALSE 648s # }; 648s # 648s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 648s # { 648s # { 648s # -1, 648s # (gchar *) "org.project.UsefulInterface", 648s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 648s # NULL, 648s # NULL, 648s # NULL 648s # }, 648s # "org-project-useful-interface", 648s # }; 648s # 648s # 648s # /** 648s # * org_project_useful_interface_interface_info: 648s # * 648s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 648s # * 648s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 648s # */ 648s # GDBusInterfaceInfo * 648s # org_project_useful_interface_interface_info (void) 648s # { 648s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_override_properties: 648s # * @klass: The class structure for a #GObject derived class. 648s # * @property_id_begin: The property id to assign to the first overridden property. 648s # * 648s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 648s # * The properties are overridden in the order they are defined. 648s # * 648s # * Returns: The last property id. 648s # */ 648s # guint 648s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 648s # { 648s # return property_id_begin - 1; 648s # } 648s # 648s # 648s # inline static void 648s # org_project_useful_interface_method_marshal_single_arg_method_t ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint, 648s # void *marshal_data) 648s # { 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 648s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 648s # } 648s # 648s # 648s # /** 648s # * OrgProjectUsefulInterface: 648s # * 648s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceIface: 648s # * @parent_iface: The parent interface. 648s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 648s # * 648s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 648s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 648s # 648s # static void 648s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 648s # { 648s # /* GObject signals for incoming D-Bus method calls: */ 648s # /** 648s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: A #GDBusMethodInvocation. 648s # * 648s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 648s # * 648s # * 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. 648s # * 648s # * 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. 648s # */ 648s # g_signal_new ("handle-single-arg-method-t", 648s # G_TYPE_FROM_INTERFACE (iface), 648s # G_SIGNAL_RUN_LAST, 648s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 648s # g_signal_accumulator_true_handled, 648s # NULL, 648s # org_project_useful_interface_method_marshal_single_arg_method_t, 648s # G_TYPE_BOOLEAN, 648s # 1, 648s # G_TYPE_DBUS_METHOD_INVOCATION); 648s # 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_t: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 648s # */ 648s # void 648s # org_project_useful_interface_call_single_arg_method_t ( 648s # OrgProjectUsefulInterface *proxy, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodT", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # callback, 648s # user_data); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_t_finish: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_t_finish ( 648s # OrgProjectUsefulInterface *proxy, 648s # guint64 *out_arg_t, 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(t)", 648s # out_arg_t); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_t_sync: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_t_sync ( 648s # OrgProjectUsefulInterface *proxy, 648s # guint64 *out_arg_t, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodT", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(t)", 648s # out_arg_t); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_complete_single_arg_method_t: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: (transfer full): A #GDBusMethodInvocation. 648s # * @arg_t: Parameter to return. 648s # * 648s # * 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. 648s # * 648s # * This method will free @invocation, you cannot use it afterwards. 648s # */ 648s # void 648s # org_project_useful_interface_complete_single_arg_method_t ( 648s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 648s # GDBusMethodInvocation *invocation, 648s # guint64 arg_t) 648s # { 648s # g_dbus_method_invocation_return_value (invocation, 648s # g_variant_new ("(t)", 648s # arg_t)); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxy: 648s # * 648s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxyClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceProxy. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceProxyPrivate 648s # { 648s # GData *qdata; 648s # }; 648s # 648s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_proxy_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 648s # g_datalist_clear (&proxy->priv->qdata); 648s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # const GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 648s # const gchar *sender_name G_GNUC_UNUSED, 648s # const gchar *signal_name, 648s # GVariant *parameters) 648s # { 648s # _ExtendedGDBusSignalInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # gsize n; 648s # guint signal_id; 648s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 648s # if (info == NULL) 648s # return; 648s # num_params = g_variant_n_children (parameters); 648s # paramv = g_new0 (GValue, num_params + 1); 648s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[0], proxy); 648s # g_variant_iter_init (&iter, parameters); 648s # n = 1; 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_signal_emitv (paramv, signal_id, 0, NULL); 648s # for (n = 0; n < num_params + 1; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 648s # GVariant *changed_properties, 648s # const gchar *const *invalidated_properties) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 648s # guint n; 648s # const gchar *key; 648s # GVariantIter *iter; 648s # _ExtendedGDBusPropertyInfo *info; 648s # g_variant_get (changed_properties, "a{sv}", &iter); 648s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 648s # g_datalist_remove_data (&proxy->priv->qdata, key); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # g_variant_iter_free (iter); 648s # for (n = 0; invalidated_properties[n] != NULL; n++) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 648s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 648s # #else 648s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 648s # #endif 648s # 648s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusProxyClass *proxy_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 648s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 648s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 648s # 648s # proxy_class = G_DBUS_PROXY_CLASS (klass); 648s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 648s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_sync: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_sync ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new_for_bus ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_sync: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_sync ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeleton: 648s # * 648s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeletonClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 648s # { 648s # GValue *properties; 648s # GList *changed_properties; 648s # GSource *changed_properties_idle_source; 648s # GMainContext *context; 648s # GMutex lock; 648s # }; 648s # 648s # static void 648s # _org_project_useful_interface_skeleton_handle_method_call ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name, 648s # const gchar *method_name, 648s # GVariant *parameters, 648s # GDBusMethodInvocation *invocation, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # _ExtendedGDBusMethodInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # guint num_extra; 648s # gsize n; 648s # guint signal_id; 648s # GValue return_value = G_VALUE_INIT; 648s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 648s # g_assert (info != NULL); 648s # num_params = g_variant_n_children (parameters); 648s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 648s # n = 0; 648s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[n++], skeleton); 648s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 648s # g_value_set_object (¶mv[n++], invocation); 648s # if (info->pass_fdlist) 648s # { 648s # #ifdef G_OS_UNIX 648s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 648s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 648s # #else 648s # g_assert_not_reached (); 648s # #endif 648s # } 648s # g_variant_iter_init (&iter, parameters); 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_init (&return_value, G_TYPE_BOOLEAN); 648s # g_signal_emitv (paramv, signal_id, 0, &return_value); 648s # if (!g_value_get_boolean (&return_value)) 648s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 648s # g_value_unset (&return_value); 648s # for (n = 0; n < num_params + num_extra; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static GVariant * 648s # _org_project_useful_interface_skeleton_handle_get_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # GVariant *ret; 648s # ret = NULL; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # g_value_init (&value, pspec->value_type); 648s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 648s # g_value_unset (&value); 648s # } 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _org_project_useful_interface_skeleton_handle_set_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GVariant *variant, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # gboolean ret; 648s # ret = FALSE; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # if (info->use_gvariant) 648s # g_value_set_variant (&value, variant); 648s # else 648s # g_dbus_gvariant_to_gvalue (variant, &value); 648s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # g_value_unset (&value); 648s # ret = TRUE; 648s # } 648s # return ret; 648s # } 648s # 648s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 648s # { 648s # _org_project_useful_interface_skeleton_handle_method_call, 648s # _org_project_useful_interface_skeleton_handle_get_property, 648s # _org_project_useful_interface_skeleton_handle_set_property, 648s # {NULL} 648s # }; 648s # 648s # static GDBusInterfaceInfo * 648s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return org_project_useful_interface_interface_info (); 648s # } 648s # 648s # static GDBusInterfaceVTable * 648s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 648s # } 648s # 648s # static GVariant * 648s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 648s # 648s # GVariantBuilder builder; 648s # guint n; 648s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 648s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 648s # goto out; 648s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 648s # { 648s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 648s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 648s # { 648s # GVariant *value; 648s # 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); 648s # if (value != NULL) 648s # { 648s # g_variant_take_ref (value); 648s # g_variant_builder_add (&builder, "{sv}", info->name, value); 648s # g_variant_unref (value); 648s # } 648s # } 648s # } 648s # out: 648s # return g_variant_builder_end (&builder); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_skeleton_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 648s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 648s # if (skeleton->priv->changed_properties_idle_source != NULL) 648s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 648s # g_main_context_unref (skeleton->priv->context); 648s # g_mutex_clear (&skeleton->priv->lock); 648s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 648s # #else 648s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 648s # #endif 648s # 648s # g_mutex_init (&skeleton->priv->lock); 648s # skeleton->priv->context = g_main_context_ref_thread_default (); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusInterfaceSkeletonClass *skeleton_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 648s # 648s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 648s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 648s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 648s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 648s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_skeleton_new: 648s # * 648s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_skeleton_new (void) 648s # { 648s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 648s # } 648s # /tmp/tmpy0e6khrq/tmpi8fj5bca.xml: 648s # 648s # 648s # 648s # 648s # 648s # 648s # 648s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy0e6khrq/tmpi8fj5bca.xml', '--output', '-', '--body'] 648s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 648s # Output: /* 648s # * This file is generated by gdbus-codegen, do not modify it. 648s # * 648s # * The license of this code is the same as for the D-Bus interface description 648s # * it was derived from. Note that it links to GLib, so must comply with the 648s # * LGPL linking clauses. 648s # */ 648s # 648s # #ifdef HAVE_CONFIG_H 648s # # include "config.h" 648s # #endif 648s # 648s # #include 648s # #ifdef G_OS_UNIX 648s # # include 648s # #endif 648s # 648s # #ifdef G_ENABLE_DEBUG 648s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 648s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 648s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 648s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 648s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 648s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 648s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 648s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 648s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 648s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 648s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 648s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 648s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 648s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 648s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 648s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 648s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 648s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 648s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 648s # #else /* !G_ENABLE_DEBUG */ 648s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 648s # * Do not access GValues directly in your code. Instead, use the 648s # * g_value_get_*() functions 648s # */ 648s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 648s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 648s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 648s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 648s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 648s # #endif /* !G_ENABLE_DEBUG */ 648s # 648s # typedef struct 648s # { 648s # GDBusArgInfo parent_struct; 648s # gboolean use_gvariant; 648s # } _ExtendedGDBusArgInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusMethodInfo parent_struct; 648s # const gchar *signal_name; 648s # gboolean pass_fdlist; 648s # } _ExtendedGDBusMethodInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusSignalInfo parent_struct; 648s # const gchar *signal_name; 648s # } _ExtendedGDBusSignalInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusPropertyInfo parent_struct; 648s # const gchar *hyphen_name; 648s # guint use_gvariant : 1; 648s # guint emits_changed_signal : 1; 648s # } _ExtendedGDBusPropertyInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusInterfaceInfo parent_struct; 648s # const gchar *hyphen_name; 648s # } _ExtendedGDBusInterfaceInfo; 648s # 648s # typedef struct 648s # { 648s # const _ExtendedGDBusPropertyInfo *info; 648s # guint prop_id; 648s # GValue orig_value; /* the value before the change */ 648s # } ChangedProperty; 648s # 648s # static void 648s # _changed_property_free (ChangedProperty *data) 648s # { 648s # g_value_unset (&data->orig_value); 648s # g_free (data); 648s # } 648s # 648s # static gboolean 648s # _g_strv_equal0 (gchar **a, gchar **b) 648s # { 648s # gboolean ret = FALSE; 648s # guint n; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # if (g_strv_length (a) != g_strv_length (b)) 648s # goto out; 648s # for (n = 0; a[n] != NULL; n++) 648s # if (g_strcmp0 (a[n], b[n]) != 0) 648s # goto out; 648s # ret = TRUE; 648s # out: 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _g_variant_equal0 (GVariant *a, GVariant *b) 648s # { 648s # gboolean ret = FALSE; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # ret = g_variant_equal (a, b); 648s # out: 648s # return ret; 648s # } 648s # 648s # G_GNUC_UNUSED static gboolean 648s # _g_value_equal (const GValue *a, const GValue *b) 648s # { 648s # gboolean ret = FALSE; 648s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 648s # switch (G_VALUE_TYPE (a)) 648s # { 648s # case G_TYPE_BOOLEAN: 648s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 648s # break; 648s # case G_TYPE_UCHAR: 648s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 648s # break; 648s # case G_TYPE_INT: 648s # ret = (g_value_get_int (a) == g_value_get_int (b)); 648s # break; 648s # case G_TYPE_UINT: 648s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 648s # break; 648s # case G_TYPE_INT64: 648s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 648s # break; 648s # case G_TYPE_UINT64: 648s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 648s # break; 648s # case G_TYPE_DOUBLE: 648s # { 648s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 648s # gdouble da = g_value_get_double (a); 648s # gdouble db = g_value_get_double (b); 648s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 648s # } 648s # break; 648s # case G_TYPE_STRING: 648s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 648s # break; 648s # case G_TYPE_VARIANT: 648s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 648s # break; 648s # default: 648s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 648s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 648s # else 648s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 648s # break; 648s # } 648s # return ret; 648s # } 648s # 648s # static void 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint G_GNUC_UNUSED, 648s # void *marshal_data) 648s # { 648s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (void *data1, 648s # GDBusMethodInvocation *arg_method_invocation, 648s # void *data2); 648s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 648s # GCClosure *cc = (GCClosure*) closure; 648s # void *data1, *data2; 648s # gboolean v_return; 648s # 648s # g_return_if_fail (return_value != NULL); 648s # g_return_if_fail (n_param_values == 2); 648s # 648s # if (G_CCLOSURE_SWAP_DATA (closure)) 648s # { 648s # data1 = closure->data; 648s # data2 = g_value_peek_pointer (param_values + 0); 648s # } 648s # else 648s # { 648s # data1 = g_value_peek_pointer (param_values + 0); 648s # data2 = closure->data; 648s # } 648s # 648s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (marshal_data ? marshal_data : cc->callback); 648s # 648s # v_return = 648s # callback (data1, 648s # g_marshal_value_peek_object (param_values + 1), 648s # data2); 648s # 648s # g_value_set_boolean (return_value, v_return); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ 648s # * Code for interface org.project.UsefulInterface 648s # * ------------------------------------------------------------------------ 648s # */ 648s # 648s # /** 648s # * SECTION:OrgProjectUsefulInterface 648s # * @title: OrgProjectUsefulInterface 648s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 648s # * 648s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 648s # */ 648s # 648s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 648s # 648s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 648s # { 648s # { 648s # -1, 648s # (gchar *) "arg_d", 648s # (gchar *) "d", 648s # NULL 648s # }, 648s # FALSE 648s # }; 648s # 648s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 648s # { 648s # { 648s # -1, 648s # (gchar *) "SingleArgMethodD", 648s # NULL, 648s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 648s # NULL 648s # }, 648s # "handle-single-arg-method-d", 648s # FALSE 648s # }; 648s # 648s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 648s # { 648s # { 648s # -1, 648s # (gchar *) "org.project.UsefulInterface", 648s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 648s # NULL, 648s # NULL, 648s # NULL 648s # }, 648s # "org-project-useful-interface", 648s # }; 648s # 648s # 648s # /** 648s # * org_project_useful_interface_interface_info: 648s # * 648s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 648s # * 648s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 648s # */ 648s # GDBusInterfaceInfo * 648s # org_project_useful_interface_interface_info (void) 648s # { 648s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_override_properties: 648s # * @klass: The class structure for a #GObject derived class. 648s # * @property_id_begin: The property id to assign to the first overridden property. 648s # * 648s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 648s # * The properties are overridden in the order they are defined. 648s # * 648s # * Returns: The last property id. 648s # */ 648s # guint 648s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 648s # { 648s # return property_id_begin - 1; 648s # } 648s # 648s # 648s # inline static void 648s # org_project_useful_interface_method_marshal_single_arg_method_d ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint, 648s # void *marshal_data) 648s # { 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 648s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 648s # } 648s # 648s # 648s # /** 648s # * OrgProjectUsefulInterface: 648s # * 648s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceIface: 648s # * @parent_iface: The parent interface. 648s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 648s # * 648s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 648s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 648s # 648s # static void 648s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 648s # { 648s # /* GObject signals for incoming D-Bus method calls: */ 648s # /** 648s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: A #GDBusMethodInvocation. 648s # * 648s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 648s # * 648s # * 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. 648s # * 648s # * 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. 648s # */ 648s # g_signal_new ("handle-single-arg-method-d", 648s # G_TYPE_FROM_INTERFACE (iface), 648s # G_SIGNAL_RUN_LAST, 648s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 648s # g_signal_accumulator_true_handled, 648s # NULL, 648s # org_project_useful_interface_method_marshal_single_arg_method_d, 648s # G_TYPE_BOOLEAN, 648s # 1, 648s # G_TYPE_DBUS_METHOD_INVOCATION); 648s # 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_d: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 648s # */ 648s # void 648s # org_project_useful_interface_call_single_arg_method_d ( 648s # OrgProjectUsefulInterface *proxy, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodD", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # callback, 648s # user_data); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_d_finish: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_d_finish ( 648s # OrgProjectUsefulInterface *proxy, 648s # gdouble *out_arg_d, 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(d)", 648s # out_arg_d); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_d_sync: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_d_sync ( 648s # OrgProjectUsefulInterface *proxy, 648s # gdouble *out_arg_d, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodD", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(d)", 648s # out_arg_d); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_complete_single_arg_method_d: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: (transfer full): A #GDBusMethodInvocation. 648s # * @arg_d: Parameter to return. 648s # * 648s # * 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. 648s # * 648s # * This method will free @invocation, you cannot use it afterwards. 648s # */ 648s # void 648s # org_project_useful_interface_complete_single_arg_method_d ( 648s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 648s # GDBusMethodInvocation *invocation, 648s # gdouble arg_d) 648s # { 648s # g_dbus_method_invocation_return_value (invocation, 648s # g_variant_new ("(d)", 648s # arg_d)); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxy: 648s # * 648s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxyClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceProxy. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceProxyPrivate 648s # { 648s # GData *qdata; 648s # }; 648s # 648s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_proxy_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 648s # g_datalist_clear (&proxy->priv->qdata); 648s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # const GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 648s # const gchar *sender_name G_GNUC_UNUSED, 648s # const gchar *signal_name, 648s # GVariant *parameters) 648s # { 648s # _ExtendedGDBusSignalInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # gsize n; 648s # guint signal_id; 648s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 648s # if (info == NULL) 648s # return; 648s # num_params = g_variant_n_children (parameters); 648s # paramv = g_new0 (GValue, num_params + 1); 648s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[0], proxy); 648s # g_variant_iter_init (&iter, parameters); 648s # n = 1; 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_signal_emitv (paramv, signal_id, 0, NULL); 648s # for (n = 0; n < num_params + 1; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 648s # GVariant *changed_properties, 648s # const gchar *const *invalidated_properties) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 648s # guint n; 648s # const gchar *key; 648s # GVariantIter *iter; 648s # _ExtendedGDBusPropertyInfo *info; 648s # g_variant_get (changed_properties, "a{sv}", &iter); 648s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 648s # g_datalist_remove_data (&proxy->priv->qdata, key); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # g_variant_iter_free (iter); 648s # for (n = 0; invalidated_properties[n] != NULL; n++) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 648s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 648s # #else 648s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 648s # #endif 648s # 648s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusProxyClass *proxy_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 648s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 648s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 648s # 648s # proxy_class = G_DBUS_PROXY_CLASS (klass); 648s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 648s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_sync: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_sync ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new_for_bus ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_sync: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_sync ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeleton: 648s # * 648s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeletonClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 648s # { 648s # GValue *properties; 648s # GList *changed_properties; 648s # GSource *changed_properties_idle_source; 648s # GMainContext *context; 648s # GMutex lock; 648s # }; 648s # 648s # static void 648s # _org_project_useful_interface_skeleton_handle_method_call ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name, 648s # const gchar *method_name, 648s # GVariant *parameters, 648s # GDBusMethodInvocation *invocation, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # _ExtendedGDBusMethodInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # guint num_extra; 648s # gsize n; 648s # guint signal_id; 648s # GValue return_value = G_VALUE_INIT; 648s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 648s # g_assert (info != NULL); 648s # num_params = g_variant_n_children (parameters); 648s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 648s # n = 0; 648s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[n++], skeleton); 648s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 648s # g_value_set_object (¶mv[n++], invocation); 648s # if (info->pass_fdlist) 648s # { 648s # #ifdef G_OS_UNIX 648s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 648s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 648s # #else 648s # g_assert_not_reached (); 648s # #endif 648s # } 648s # g_variant_iter_init (&iter, parameters); 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_init (&return_value, G_TYPE_BOOLEAN); 648s # g_signal_emitv (paramv, signal_id, 0, &return_value); 648s # if (!g_value_get_boolean (&return_value)) 648s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 648s # g_value_unset (&return_value); 648s # for (n = 0; n < num_params + num_extra; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static GVariant * 648s # _org_project_useful_interface_skeleton_handle_get_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # GVariant *ret; 648s # ret = NULL; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # g_value_init (&value, pspec->value_type); 648s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 648s # g_value_unset (&value); 648s # } 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _org_project_useful_interface_skeleton_handle_set_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GVariant *variant, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # gboolean ret; 648s # ret = FALSE; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # if (info->use_gvariant) 648s # g_value_set_variant (&value, variant); 648s # else 648s # g_dbus_gvariant_to_gvalue (variant, &value); 648s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # g_value_unset (&value); 648s # ret = TRUE; 648s # } 648s # return ret; 648s # } 648s # 648s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 648s # { 648s # _org_project_useful_interface_skeleton_handle_method_call, 648s # _org_project_useful_interface_skeleton_handle_get_property, 648s # _org_project_useful_interface_skeleton_handle_set_property, 648s # {NULL} 648s # }; 648s # 648s # static GDBusInterfaceInfo * 648s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return org_project_useful_interface_interface_info (); 648s # } 648s # 648s # static GDBusInterfaceVTable * 648s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 648s # } 648s # 648s # static GVariant * 648s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 648s # 648s # GVariantBuilder builder; 648s # guint n; 648s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 648s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 648s # goto out; 648s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 648s # { 648s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 648s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 648s # { 648s # GVariant *value; 648s # 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); 648s # if (value != NULL) 648s # { 648s # g_variant_take_ref (value); 648s # g_variant_builder_add (&builder, "{sv}", info->name, value); 648s # g_variant_unref (value); 648s # } 648s # } 648s # } 648s # out: 648s # return g_variant_builder_end (&builder); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_skeleton_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 648s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 648s # if (skeleton->priv->changed_properties_idle_source != NULL) 648s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 648s # g_main_context_unref (skeleton->priv->context); 648s # g_mutex_clear (&skeleton->priv->lock); 648s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 648s # #else 648s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 648s # #endif 648s # 648s # g_mutex_init (&skeleton->priv->lock); 648s # skeleton->priv->context = g_main_context_ref_thread_default (); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusInterfaceSkeletonClass *skeleton_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 648s # 648s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 648s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 648s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 648s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 648s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_skeleton_new: 648s # * 648s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_skeleton_new (void) 648s # { 648s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 648s # } 648s # /tmp/tmpy0e6khrq/tmpx2b3ox7v.xml: 648s # 648s # 648s # 648s # 648s # 648s # 648s # 648s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy0e6khrq/tmpx2b3ox7v.xml', '--output', '-', '--body'] 648s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 648s # Output: /* 648s # * This file is generated by gdbus-codegen, do not modify it. 648s # * 648s # * The license of this code is the same as for the D-Bus interface description 648s # * it was derived from. Note that it links to GLib, so must comply with the 648s # * LGPL linking clauses. 648s # */ 648s # 648s # #ifdef HAVE_CONFIG_H 648s # # include "config.h" 648s # #endif 648s # 648s # #include 648s # #ifdef G_OS_UNIX 648s # # include 648s # #endif 648s # 648s # #ifdef G_ENABLE_DEBUG 648s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 648s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 648s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 648s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 648s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 648s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 648s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 648s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 648s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 648s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 648s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 648s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 648s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 648s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 648s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 648s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 648s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 648s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 648s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 648s # #else /* !G_ENABLE_DEBUG */ 648s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 648s # * Do not access GValues directly in your code. Instead, use the 648s # * g_value_get_*() functions 648s # */ 648s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 648s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 648s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 648s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 648s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 648s # #endif /* !G_ENABLE_DEBUG */ 648s # 648s # typedef struct 648s # { 648s # GDBusArgInfo parent_struct; 648s # gboolean use_gvariant; 648s # } _ExtendedGDBusArgInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusMethodInfo parent_struct; 648s # const gchar *signal_name; 648s # gboolean pass_fdlist; 648s # } _ExtendedGDBusMethodInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusSignalInfo parent_struct; 648s # const gchar *signal_name; 648s # } _ExtendedGDBusSignalInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusPropertyInfo parent_struct; 648s # const gchar *hyphen_name; 648s # guint use_gvariant : 1; 648s # guint emits_changed_signal : 1; 648s # } _ExtendedGDBusPropertyInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusInterfaceInfo parent_struct; 648s # const gchar *hyphen_name; 648s # } _ExtendedGDBusInterfaceInfo; 648s # 648s # typedef struct 648s # { 648s # const _ExtendedGDBusPropertyInfo *info; 648s # guint prop_id; 648s # GValue orig_value; /* the value before the change */ 648s # } ChangedProperty; 648s # 648s # static void 648s # _changed_property_free (ChangedProperty *data) 648s # { 648s # g_value_unset (&data->orig_value); 648s # g_free (data); 648s # } 648s # 648s # static gboolean 648s # _g_strv_equal0 (gchar **a, gchar **b) 648s # { 648s # gboolean ret = FALSE; 648s # guint n; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # if (g_strv_length (a) != g_strv_length (b)) 648s # goto out; 648s # for (n = 0; a[n] != NULL; n++) 648s # if (g_strcmp0 (a[n], b[n]) != 0) 648s # goto out; 648s # ret = TRUE; 648s # out: 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _g_variant_equal0 (GVariant *a, GVariant *b) 648s # { 648s # gboolean ret = FALSE; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # ret = g_variant_equal (a, b); 648s # out: 648s # return ret; 648s # } 648s # 648s # G_GNUC_UNUSED static gboolean 648s # _g_value_equal (const GValue *a, const GValue *b) 648s # { 648s # gboolean ret = FALSE; 648s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 648s # switch (G_VALUE_TYPE (a)) 648s # { 648s # case G_TYPE_BOOLEAN: 648s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 648s # break; 648s # case G_TYPE_UCHAR: 648s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 648s # break; 648s # case G_TYPE_INT: 648s # ret = (g_value_get_int (a) == g_value_get_int (b)); 648s # break; 648s # case G_TYPE_UINT: 648s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 648s # break; 648s # case G_TYPE_INT64: 648s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 648s # break; 648s # case G_TYPE_UINT64: 648s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 648s # break; 648s # case G_TYPE_DOUBLE: 648s # { 648s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 648s # gdouble da = g_value_get_double (a); 648s # gdouble db = g_value_get_double (b); 648s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 648s # } 648s # break; 648s # case G_TYPE_STRING: 648s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 648s # break; 648s # case G_TYPE_VARIANT: 648s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 648s # break; 648s # default: 648s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 648s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 648s # else 648s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 648s # break; 648s # } 648s # return ret; 648s # } 648s # 648s # static void 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint G_GNUC_UNUSED, 648s # void *marshal_data) 648s # { 648s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (void *data1, 648s # GDBusMethodInvocation *arg_method_invocation, 648s # void *data2); 648s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 648s # GCClosure *cc = (GCClosure*) closure; 648s # void *data1, *data2; 648s # gboolean v_return; 648s # 648s # g_return_if_fail (return_value != NULL); 648s # g_return_if_fail (n_param_values == 2); 648s # 648s # if (G_CCLOSURE_SWAP_DATA (closure)) 648s # { 648s # data1 = closure->data; 648s # data2 = g_value_peek_pointer (param_values + 0); 648s # } 648s # else 648s # { 648s # data1 = g_value_peek_pointer (param_values + 0); 648s # data2 = closure->data; 648s # } 648s # 648s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (marshal_data ? marshal_data : cc->callback); 648s # 648s # v_return = 648s # callback (data1, 648s # g_marshal_value_peek_object (param_values + 1), 648s # data2); 648s # 648s # g_value_set_boolean (return_value, v_return); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ 648s # * Code for interface org.project.UsefulInterface 648s # * ------------------------------------------------------------------------ 648s # */ 648s # 648s # /** 648s # * SECTION:OrgProjectUsefulInterface 648s # * @title: OrgProjectUsefulInterface 648s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 648s # * 648s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 648s # */ 648s # 648s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 648s # 648s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 648s # { 648s # { 648s # -1, 648s # (gchar *) "arg_s", 648s # (gchar *) "s", 648s # NULL 648s # }, 648s # FALSE 648s # }; 648s # 648s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 648s # { 648s # { 648s # -1, 648s # (gchar *) "SingleArgMethodS", 648s # NULL, 648s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 648s # NULL 648s # }, 648s # "handle-single-arg-method-s", 648s # FALSE 648s # }; 648s # 648s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 648s # { 648s # { 648s # -1, 648s # (gchar *) "org.project.UsefulInterface", 648s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 648s # NULL, 648s # NULL, 648s # NULL 648s # }, 648s # "org-project-useful-interface", 648s # }; 648s # 648s # 648s # /** 648s # * org_project_useful_interface_interface_info: 648s # * 648s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 648s # * 648s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 648s # */ 648s # GDBusInterfaceInfo * 648s # org_project_useful_interface_interface_info (void) 648s # { 648s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_override_properties: 648s # * @klass: The class structure for a #GObject derived class. 648s # * @property_id_begin: The property id to assign to the first overridden property. 648s # * 648s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 648s # * The properties are overridden in the order they are defined. 648s # * 648s # * Returns: The last property id. 648s # */ 648s # guint 648s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 648s # { 648s # return property_id_begin - 1; 648s # } 648s # 648s # 648s # inline static void 648s # org_project_useful_interface_method_marshal_single_arg_method_s ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint, 648s # void *marshal_data) 648s # { 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 648s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 648s # } 648s # 648s # 648s # /** 648s # * OrgProjectUsefulInterface: 648s # * 648s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceIface: 648s # * @parent_iface: The parent interface. 648s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 648s # * 648s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 648s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 648s # 648s # static void 648s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 648s # { 648s # /* GObject signals for incoming D-Bus method calls: */ 648s # /** 648s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: A #GDBusMethodInvocation. 648s # * 648s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 648s # * 648s # * 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. 648s # * 648s # * 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. 648s # */ 648s # g_signal_new ("handle-single-arg-method-s", 648s # G_TYPE_FROM_INTERFACE (iface), 648s # G_SIGNAL_RUN_LAST, 648s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 648s # g_signal_accumulator_true_handled, 648s # NULL, 648s # org_project_useful_interface_method_marshal_single_arg_method_s, 648s # G_TYPE_BOOLEAN, 648s # 1, 648s # G_TYPE_DBUS_METHOD_INVOCATION); 648s # 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_s: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 648s # */ 648s # void 648s # org_project_useful_interface_call_single_arg_method_s ( 648s # OrgProjectUsefulInterface *proxy, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodS", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # callback, 648s # user_data); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_s_finish: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_s_finish ( 648s # OrgProjectUsefulInterface *proxy, 648s # gchar **out_arg_s, 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(s)", 648s # out_arg_s); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_s_sync: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_s_sync ( 648s # OrgProjectUsefulInterface *proxy, 648s # gchar **out_arg_s, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodS", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(s)", 648s # out_arg_s); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_complete_single_arg_method_s: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: (transfer full): A #GDBusMethodInvocation. 648s # * @arg_s: Parameter to return. 648s # * 648s # * 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. 648s # * 648s # * This method will free @invocation, you cannot use it afterwards. 648s # */ 648s # void 648s # org_project_useful_interface_complete_single_arg_method_s ( 648s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 648s # GDBusMethodInvocation *invocation, 648s # const gchar *arg_s) 648s # { 648s # g_dbus_method_invocation_return_value (invocation, 648s # g_variant_new ("(s)", 648s # arg_s)); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxy: 648s # * 648s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxyClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceProxy. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceProxyPrivate 648s # { 648s # GData *qdata; 648s # }; 648s # 648s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_proxy_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 648s # g_datalist_clear (&proxy->priv->qdata); 648s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # const GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 648s # const gchar *sender_name G_GNUC_UNUSED, 648s # const gchar *signal_name, 648s # GVariant *parameters) 648s # { 648s # _ExtendedGDBusSignalInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # gsize n; 648s # guint signal_id; 648s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 648s # if (info == NULL) 648s # return; 648s # num_params = g_variant_n_children (parameters); 648s # paramv = g_new0 (GValue, num_params + 1); 648s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[0], proxy); 648s # g_variant_iter_init (&iter, parameters); 648s # n = 1; 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_signal_emitv (paramv, signal_id, 0, NULL); 648s # for (n = 0; n < num_params + 1; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 648s # GVariant *changed_properties, 648s # const gchar *const *invalidated_properties) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 648s # guint n; 648s # const gchar *key; 648s # GVariantIter *iter; 648s # _ExtendedGDBusPropertyInfo *info; 648s # g_variant_get (changed_properties, "a{sv}", &iter); 648s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 648s # g_datalist_remove_data (&proxy->priv->qdata, key); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # g_variant_iter_free (iter); 648s # for (n = 0; invalidated_properties[n] != NULL; n++) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 648s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 648s # #else 648s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 648s # #endif 648s # 648s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusProxyClass *proxy_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 648s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 648s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 648s # 648s # proxy_class = G_DBUS_PROXY_CLASS (klass); 648s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 648s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_sync: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_sync ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new_for_bus ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_sync: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_sync ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeleton: 648s # * 648s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeletonClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 648s # { 648s # GValue *properties; 648s # GList *changed_properties; 648s # GSource *changed_properties_idle_source; 648s # GMainContext *context; 648s # GMutex lock; 648s # }; 648s # 648s # static void 648s # _org_project_useful_interface_skeleton_handle_method_call ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name, 648s # const gchar *method_name, 648s # GVariant *parameters, 648s # GDBusMethodInvocation *invocation, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # _ExtendedGDBusMethodInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # guint num_extra; 648s # gsize n; 648s # guint signal_id; 648s # GValue return_value = G_VALUE_INIT; 648s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 648s # g_assert (info != NULL); 648s # num_params = g_variant_n_children (parameters); 648s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 648s # n = 0; 648s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[n++], skeleton); 648s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 648s # g_value_set_object (¶mv[n++], invocation); 648s # if (info->pass_fdlist) 648s # { 648s # #ifdef G_OS_UNIX 648s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 648s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 648s # #else 648s # g_assert_not_reached (); 648s # #endif 648s # } 648s # g_variant_iter_init (&iter, parameters); 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_init (&return_value, G_TYPE_BOOLEAN); 648s # g_signal_emitv (paramv, signal_id, 0, &return_value); 648s # if (!g_value_get_boolean (&return_value)) 648s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 648s # g_value_unset (&return_value); 648s # for (n = 0; n < num_params + num_extra; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static GVariant * 648s # _org_project_useful_interface_skeleton_handle_get_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # GVariant *ret; 648s # ret = NULL; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # g_value_init (&value, pspec->value_type); 648s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 648s # g_value_unset (&value); 648s # } 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _org_project_useful_interface_skeleton_handle_set_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GVariant *variant, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # gboolean ret; 648s # ret = FALSE; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # if (info->use_gvariant) 648s # g_value_set_variant (&value, variant); 648s # else 648s # g_dbus_gvariant_to_gvalue (variant, &value); 648s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # g_value_unset (&value); 648s # ret = TRUE; 648s # } 648s # return ret; 648s # } 648s # 648s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 648s # { 648s # _org_project_useful_interface_skeleton_handle_method_call, 648s # _org_project_useful_interface_skeleton_handle_get_property, 648s # _org_project_useful_interface_skeleton_handle_set_property, 648s # {NULL} 648s # }; 648s # 648s # static GDBusInterfaceInfo * 648s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return org_project_useful_interface_interface_info (); 648s # } 648s # 648s # static GDBusInterfaceVTable * 648s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 648s # } 648s # 648s # static GVariant * 648s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 648s # 648s # GVariantBuilder builder; 648s # guint n; 648s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 648s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 648s # goto out; 648s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 648s # { 648s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 648s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 648s # { 648s # GVariant *value; 648s # 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); 648s # if (value != NULL) 648s # { 648s # g_variant_take_ref (value); 648s # g_variant_builder_add (&builder, "{sv}", info->name, value); 648s # g_variant_unref (value); 648s # } 648s # } 648s # } 648s # out: 648s # return g_variant_builder_end (&builder); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_skeleton_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 648s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 648s # if (skeleton->priv->changed_properties_idle_source != NULL) 648s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 648s # g_main_context_unref (skeleton->priv->context); 648s # g_mutex_clear (&skeleton->priv->lock); 648s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 648s # #else 648s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 648s # #endif 648s # 648s # g_mutex_init (&skeleton->priv->lock); 648s # skeleton->priv->context = g_main_context_ref_thread_default (); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusInterfaceSkeletonClass *skeleton_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 648s # 648s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 648s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 648s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 648s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 648s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_skeleton_new: 648s # * 648s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_skeleton_new (void) 648s # { 648s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 648s # } 648s # /tmp/tmpy0e6khrq/tmp2ttnjz43.xml: 648s # 648s # 648s # 648s # 648s # 648s # 648s # 648s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy0e6khrq/tmp2ttnjz43.xml', '--output', '-', '--body'] 648s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 648s # Output: /* 648s # * This file is generated by gdbus-codegen, do not modify it. 648s # * 648s # * The license of this code is the same as for the D-Bus interface description 648s # * it was derived from. Note that it links to GLib, so must comply with the 648s # * LGPL linking clauses. 648s # */ 648s # 648s # #ifdef HAVE_CONFIG_H 648s # # include "config.h" 648s # #endif 648s # 648s # #include 648s # #ifdef G_OS_UNIX 648s # # include 648s # #endif 648s # 648s # #ifdef G_ENABLE_DEBUG 648s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 648s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 648s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 648s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 648s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 648s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 648s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 648s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 648s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 648s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 648s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 648s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 648s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 648s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 648s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 648s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 648s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 648s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 648s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 648s # #else /* !G_ENABLE_DEBUG */ 648s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 648s # * Do not access GValues directly in your code. Instead, use the 648s # * g_value_get_*() functions 648s # */ 648s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 648s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 648s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 648s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 648s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 648s # #endif /* !G_ENABLE_DEBUG */ 648s # 648s # typedef struct 648s # { 648s # GDBusArgInfo parent_struct; 648s # gboolean use_gvariant; 648s # } _ExtendedGDBusArgInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusMethodInfo parent_struct; 648s # const gchar *signal_name; 648s # gboolean pass_fdlist; 648s # } _ExtendedGDBusMethodInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusSignalInfo parent_struct; 648s # const gchar *signal_name; 648s # } _ExtendedGDBusSignalInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusPropertyInfo parent_struct; 648s # const gchar *hyphen_name; 648s # guint use_gvariant : 1; 648s # guint emits_changed_signal : 1; 648s # } _ExtendedGDBusPropertyInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusInterfaceInfo parent_struct; 648s # const gchar *hyphen_name; 648s # } _ExtendedGDBusInterfaceInfo; 648s # 648s # typedef struct 648s # { 648s # const _ExtendedGDBusPropertyInfo *info; 648s # guint prop_id; 648s # GValue orig_value; /* the value before the change */ 648s # } ChangedProperty; 648s # 648s # static void 648s # _changed_property_free (ChangedProperty *data) 648s # { 648s # g_value_unset (&data->orig_value); 648s # g_free (data); 648s # } 648s # 648s # static gboolean 648s # _g_strv_equal0 (gchar **a, gchar **b) 648s # { 648s # gboolean ret = FALSE; 648s # guint n; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # if (g_strv_length (a) != g_strv_length (b)) 648s # goto out; 648s # for (n = 0; a[n] != NULL; n++) 648s # if (g_strcmp0 (a[n], b[n]) != 0) 648s # goto out; 648s # ret = TRUE; 648s # out: 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _g_variant_equal0 (GVariant *a, GVariant *b) 648s # { 648s # gboolean ret = FALSE; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # ret = g_variant_equal (a, b); 648s # out: 648s # return ret; 648s # } 648s # 648s # G_GNUC_UNUSED static gboolean 648s # _g_value_equal (const GValue *a, const GValue *b) 648s # { 648s # gboolean ret = FALSE; 648s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 648s # switch (G_VALUE_TYPE (a)) 648s # { 648s # case G_TYPE_BOOLEAN: 648s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 648s # break; 648s # case G_TYPE_UCHAR: 648s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 648s # break; 648s # case G_TYPE_INT: 648s # ret = (g_value_get_int (a) == g_value_get_int (b)); 648s # break; 648s # case G_TYPE_UINT: 648s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 648s # break; 648s # case G_TYPE_INT64: 648s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 648s # break; 648s # case G_TYPE_UINT64: 648s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 648s # break; 648s # case G_TYPE_DOUBLE: 648s # { 648s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 648s # gdouble da = g_value_get_double (a); 648s # gdouble db = g_value_get_double (b); 648s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 648s # } 648s # break; 648s # case G_TYPE_STRING: 648s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 648s # break; 648s # case G_TYPE_VARIANT: 648s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 648s # break; 648s # default: 648s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 648s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 648s # else 648s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 648s # break; 648s # } 648s # return ret; 648s # } 648s # 648s # static void 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint G_GNUC_UNUSED, 648s # void *marshal_data) 648s # { 648s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (void *data1, 648s # GDBusMethodInvocation *arg_method_invocation, 648s # void *data2); 648s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 648s # GCClosure *cc = (GCClosure*) closure; 648s # void *data1, *data2; 648s # gboolean v_return; 648s # 648s # g_return_if_fail (return_value != NULL); 648s # g_return_if_fail (n_param_values == 2); 648s # 648s # if (G_CCLOSURE_SWAP_DATA (closure)) 648s # { 648s # data1 = closure->data; 648s # data2 = g_value_peek_pointer (param_values + 0); 648s # } 648s # else 648s # { 648s # data1 = g_value_peek_pointer (param_values + 0); 648s # data2 = closure->data; 648s # } 648s # 648s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (marshal_data ? marshal_data : cc->callback); 648s # 648s # v_return = 648s # callback (data1, 648s # g_marshal_value_peek_object (param_values + 1), 648s # data2); 648s # 648s # g_value_set_boolean (return_value, v_return); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ 648s # * Code for interface org.project.UsefulInterface 648s # * ------------------------------------------------------------------------ 648s # */ 648s # 648s # /** 648s # * SECTION:OrgProjectUsefulInterface 648s # * @title: OrgProjectUsefulInterface 648s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 648s # * 648s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 648s # */ 648s # 648s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 648s # 648s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 648s # { 648s # { 648s # -1, 648s # (gchar *) "arg_o", 648s # (gchar *) "o", 648s # NULL 648s # }, 648s # FALSE 648s # }; 648s # 648s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 648s # { 648s # { 648s # -1, 648s # (gchar *) "SingleArgMethodO", 648s # NULL, 648s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 648s # NULL 648s # }, 648s # "handle-single-arg-method-o", 648s # FALSE 648s # }; 648s # 648s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 648s # { 648s # { 648s # -1, 648s # (gchar *) "org.project.UsefulInterface", 648s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 648s # NULL, 648s # NULL, 648s # NULL 648s # }, 648s # "org-project-useful-interface", 648s # }; 648s # 648s # 648s # /** 648s # * org_project_useful_interface_interface_info: 648s # * 648s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 648s # * 648s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 648s # */ 648s # GDBusInterfaceInfo * 648s # org_project_useful_interface_interface_info (void) 648s # { 648s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_override_properties: 648s # * @klass: The class structure for a #GObject derived class. 648s # * @property_id_begin: The property id to assign to the first overridden property. 648s # * 648s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 648s # * The properties are overridden in the order they are defined. 648s # * 648s # * Returns: The last property id. 648s # */ 648s # guint 648s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 648s # { 648s # return property_id_begin - 1; 648s # } 648s # 648s # 648s # inline static void 648s # org_project_useful_interface_method_marshal_single_arg_method_o ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint, 648s # void *marshal_data) 648s # { 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 648s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 648s # } 648s # 648s # 648s # /** 648s # * OrgProjectUsefulInterface: 648s # * 648s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceIface: 648s # * @parent_iface: The parent interface. 648s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 648s # * 648s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 648s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 648s # 648s # static void 648s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 648s # { 648s # /* GObject signals for incoming D-Bus method calls: */ 648s # /** 648s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: A #GDBusMethodInvocation. 648s # * 648s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 648s # * 648s # * 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. 648s # * 648s # * 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. 648s # */ 648s # g_signal_new ("handle-single-arg-method-o", 648s # G_TYPE_FROM_INTERFACE (iface), 648s # G_SIGNAL_RUN_LAST, 648s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 648s # g_signal_accumulator_true_handled, 648s # NULL, 648s # org_project_useful_interface_method_marshal_single_arg_method_o, 648s # G_TYPE_BOOLEAN, 648s # 1, 648s # G_TYPE_DBUS_METHOD_INVOCATION); 648s # 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_o: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 648s # */ 648s # void 648s # org_project_useful_interface_call_single_arg_method_o ( 648s # OrgProjectUsefulInterface *proxy, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodO", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # callback, 648s # user_data); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_o_finish: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_o_finish ( 648s # OrgProjectUsefulInterface *proxy, 648s # gchar **out_arg_o, 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(o)", 648s # out_arg_o); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_o_sync: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_o_sync ( 648s # OrgProjectUsefulInterface *proxy, 648s # gchar **out_arg_o, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodO", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(o)", 648s # out_arg_o); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_complete_single_arg_method_o: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: (transfer full): A #GDBusMethodInvocation. 648s # * @arg_o: Parameter to return. 648s # * 648s # * 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. 648s # * 648s # * This method will free @invocation, you cannot use it afterwards. 648s # */ 648s # void 648s # org_project_useful_interface_complete_single_arg_method_o ( 648s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 648s # GDBusMethodInvocation *invocation, 648s # const gchar *arg_o) 648s # { 648s # g_dbus_method_invocation_return_value (invocation, 648s # g_variant_new ("(o)", 648s # arg_o)); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxy: 648s # * 648s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxyClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceProxy. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceProxyPrivate 648s # { 648s # GData *qdata; 648s # }; 648s # 648s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_proxy_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 648s # g_datalist_clear (&proxy->priv->qdata); 648s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # const GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 648s # const gchar *sender_name G_GNUC_UNUSED, 648s # const gchar *signal_name, 648s # GVariant *parameters) 648s # { 648s # _ExtendedGDBusSignalInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # gsize n; 648s # guint signal_id; 648s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 648s # if (info == NULL) 648s # return; 648s # num_params = g_variant_n_children (parameters); 648s # paramv = g_new0 (GValue, num_params + 1); 648s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[0], proxy); 648s # g_variant_iter_init (&iter, parameters); 648s # n = 1; 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_signal_emitv (paramv, signal_id, 0, NULL); 648s # for (n = 0; n < num_params + 1; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 648s # GVariant *changed_properties, 648s # const gchar *const *invalidated_properties) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 648s # guint n; 648s # const gchar *key; 648s # GVariantIter *iter; 648s # _ExtendedGDBusPropertyInfo *info; 648s # g_variant_get (changed_properties, "a{sv}", &iter); 648s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 648s # g_datalist_remove_data (&proxy->priv->qdata, key); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # g_variant_iter_free (iter); 648s # for (n = 0; invalidated_properties[n] != NULL; n++) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 648s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 648s # #else 648s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 648s # #endif 648s # 648s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusProxyClass *proxy_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 648s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 648s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 648s # 648s # proxy_class = G_DBUS_PROXY_CLASS (klass); 648s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 648s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_sync: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_sync ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new_for_bus ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_sync: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_sync ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeleton: 648s # * 648s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeletonClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 648s # { 648s # GValue *properties; 648s # GList *changed_properties; 648s # GSource *changed_properties_idle_source; 648s # GMainContext *context; 648s # GMutex lock; 648s # }; 648s # 648s # static void 648s # _org_project_useful_interface_skeleton_handle_method_call ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name, 648s # const gchar *method_name, 648s # GVariant *parameters, 648s # GDBusMethodInvocation *invocation, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # _ExtendedGDBusMethodInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # guint num_extra; 648s # gsize n; 648s # guint signal_id; 648s # GValue return_value = G_VALUE_INIT; 648s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 648s # g_assert (info != NULL); 648s # num_params = g_variant_n_children (parameters); 648s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 648s # n = 0; 648s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[n++], skeleton); 648s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 648s # g_value_set_object (¶mv[n++], invocation); 648s # if (info->pass_fdlist) 648s # { 648s # #ifdef G_OS_UNIX 648s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 648s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 648s # #else 648s # g_assert_not_reached (); 648s # #endif 648s # } 648s # g_variant_iter_init (&iter, parameters); 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_init (&return_value, G_TYPE_BOOLEAN); 648s # g_signal_emitv (paramv, signal_id, 0, &return_value); 648s # if (!g_value_get_boolean (&return_value)) 648s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 648s # g_value_unset (&return_value); 648s # for (n = 0; n < num_params + num_extra; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static GVariant * 648s # _org_project_useful_interface_skeleton_handle_get_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # GVariant *ret; 648s # ret = NULL; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # g_value_init (&value, pspec->value_type); 648s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 648s # g_value_unset (&value); 648s # } 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _org_project_useful_interface_skeleton_handle_set_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GVariant *variant, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # gboolean ret; 648s # ret = FALSE; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # if (info->use_gvariant) 648s # g_value_set_variant (&value, variant); 648s # else 648s # g_dbus_gvariant_to_gvalue (variant, &value); 648s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # g_value_unset (&value); 648s # ret = TRUE; 648s # } 648s # return ret; 648s # } 648s # 648s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 648s # { 648s # _org_project_useful_interface_skeleton_handle_method_call, 648s # _org_project_useful_interface_skeleton_handle_get_property, 648s # _org_project_useful_interface_skeleton_handle_set_property, 648s # {NULL} 648s # }; 648s # 648s # static GDBusInterfaceInfo * 648s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return org_project_useful_interface_interface_info (); 648s # } 648s # 648s # static GDBusInterfaceVTable * 648s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 648s # } 648s # 648s # static GVariant * 648s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 648s # 648s # GVariantBuilder builder; 648s # guint n; 648s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 648s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 648s # goto out; 648s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 648s # { 648s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 648s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 648s # { 648s # GVariant *value; 648s # 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); 648s # if (value != NULL) 648s # { 648s # g_variant_take_ref (value); 648s # g_variant_builder_add (&builder, "{sv}", info->name, value); 648s # g_variant_unref (value); 648s # } 648s # } 648s # } 648s # out: 648s # return g_variant_builder_end (&builder); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_skeleton_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 648s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 648s # if (skeleton->priv->changed_properties_idle_source != NULL) 648s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 648s # g_main_context_unref (skeleton->priv->context); 648s # g_mutex_clear (&skeleton->priv->lock); 648s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 648s # #else 648s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 648s # #endif 648s # 648s # g_mutex_init (&skeleton->priv->lock); 648s # skeleton->priv->context = g_main_context_ref_thread_default (); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusInterfaceSkeletonClass *skeleton_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 648s # 648s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 648s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 648s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 648s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 648s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_skeleton_new: 648s # * 648s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_skeleton_new (void) 648s # { 648s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 648s # } 648s # /tmp/tmpy0e6khrq/tmpbpnt2r7j.xml: 648s # 648s # 648s # 648s # 648s # 648s # 648s # 648s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy0e6khrq/tmpbpnt2r7j.xml', '--output', '-', '--body'] 648s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 648s # Output: /* 648s # * This file is generated by gdbus-codegen, do not modify it. 648s # * 648s # * The license of this code is the same as for the D-Bus interface description 648s # * it was derived from. Note that it links to GLib, so must comply with the 648s # * LGPL linking clauses. 648s # */ 648s # 648s # #ifdef HAVE_CONFIG_H 648s # # include "config.h" 648s # #endif 648s # 648s # #include 648s # #ifdef G_OS_UNIX 648s # # include 648s # #endif 648s # 648s # #ifdef G_ENABLE_DEBUG 648s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 648s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 648s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 648s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 648s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 648s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 648s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 648s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 648s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 648s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 648s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 648s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 648s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 648s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 648s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 648s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 648s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 648s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 648s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 648s # #else /* !G_ENABLE_DEBUG */ 648s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 648s # * Do not access GValues directly in your code. Instead, use the 648s # * g_value_get_*() functions 648s # */ 648s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 648s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 648s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 648s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 648s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 648s # #endif /* !G_ENABLE_DEBUG */ 648s # 648s # typedef struct 648s # { 648s # GDBusArgInfo parent_struct; 648s # gboolean use_gvariant; 648s # } _ExtendedGDBusArgInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusMethodInfo parent_struct; 648s # const gchar *signal_name; 648s # gboolean pass_fdlist; 648s # } _ExtendedGDBusMethodInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusSignalInfo parent_struct; 648s # const gchar *signal_name; 648s # } _ExtendedGDBusSignalInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusPropertyInfo parent_struct; 648s # const gchar *hyphen_name; 648s # guint use_gvariant : 1; 648s # guint emits_changed_signal : 1; 648s # } _ExtendedGDBusPropertyInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusInterfaceInfo parent_struct; 648s # const gchar *hyphen_name; 648s # } _ExtendedGDBusInterfaceInfo; 648s # 648s # typedef struct 648s # { 648s # const _ExtendedGDBusPropertyInfo *info; 648s # guint prop_id; 648s # GValue orig_value; /* the value before the change */ 648s # } ChangedProperty; 648s # 648s # static void 648s # _changed_property_free (ChangedProperty *data) 648s # { 648s # g_value_unset (&data->orig_value); 648s # g_free (data); 648s # } 648s # 648s # static gboolean 648s # _g_strv_equal0 (gchar **a, gchar **b) 648s # { 648s # gboolean ret = FALSE; 648s # guint n; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # if (g_strv_length (a) != g_strv_length (b)) 648s # goto out; 648s # for (n = 0; a[n] != NULL; n++) 648s # if (g_strcmp0 (a[n], b[n]) != 0) 648s # goto out; 648s # ret = TRUE; 648s # out: 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _g_variant_equal0 (GVariant *a, GVariant *b) 648s # { 648s # gboolean ret = FALSE; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # ret = g_variant_equal (a, b); 648s # out: 648s # return ret; 648s # } 648s # 648s # G_GNUC_UNUSED static gboolean 648s # _g_value_equal (const GValue *a, const GValue *b) 648s # { 648s # gboolean ret = FALSE; 648s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 648s # switch (G_VALUE_TYPE (a)) 648s # { 648s # case G_TYPE_BOOLEAN: 648s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 648s # break; 648s # case G_TYPE_UCHAR: 648s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 648s # break; 648s # case G_TYPE_INT: 648s # ret = (g_value_get_int (a) == g_value_get_int (b)); 648s # break; 648s # case G_TYPE_UINT: 648s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 648s # break; 648s # case G_TYPE_INT64: 648s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 648s # break; 648s # case G_TYPE_UINT64: 648s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 648s # break; 648s # case G_TYPE_DOUBLE: 648s # { 648s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 648s # gdouble da = g_value_get_double (a); 648s # gdouble db = g_value_get_double (b); 648s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 648s # } 648s # break; 648s # case G_TYPE_STRING: 648s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 648s # break; 648s # case G_TYPE_VARIANT: 648s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 648s # break; 648s # default: 648s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 648s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 648s # else 648s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 648s # break; 648s # } 648s # return ret; 648s # } 648s # 648s # static void 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint G_GNUC_UNUSED, 648s # void *marshal_data) 648s # { 648s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (void *data1, 648s # GDBusMethodInvocation *arg_method_invocation, 648s # void *data2); 648s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 648s # GCClosure *cc = (GCClosure*) closure; 648s # void *data1, *data2; 648s # gboolean v_return; 648s # 648s # g_return_if_fail (return_value != NULL); 648s # g_return_if_fail (n_param_values == 2); 648s # 648s # if (G_CCLOSURE_SWAP_DATA (closure)) 648s # { 648s # data1 = closure->data; 648s # data2 = g_value_peek_pointer (param_values + 0); 648s # } 648s # else 648s # { 648s # data1 = g_value_peek_pointer (param_values + 0); 648s # data2 = closure->data; 648s # } 648s # 648s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (marshal_data ? marshal_data : cc->callback); 648s # 648s # v_return = 648s # callback (data1, 648s # g_marshal_value_peek_object (param_values + 1), 648s # data2); 648s # 648s # g_value_set_boolean (return_value, v_return); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ 648s # * Code for interface org.project.UsefulInterface 648s # * ------------------------------------------------------------------------ 648s # */ 648s # 648s # /** 648s # * SECTION:OrgProjectUsefulInterface 648s # * @title: OrgProjectUsefulInterface 648s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 648s # * 648s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 648s # */ 648s # 648s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 648s # 648s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 648s # { 648s # { 648s # -1, 648s # (gchar *) "arg_g", 648s # (gchar *) "g", 648s # NULL 648s # }, 648s # FALSE 648s # }; 648s # 648s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 648s # { 648s # { 648s # -1, 648s # (gchar *) "SingleArgMethodG", 648s # NULL, 648s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 648s # NULL 648s # }, 648s # "handle-single-arg-method-g", 648s # FALSE 648s # }; 648s # 648s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 648s # { 648s # { 648s # -1, 648s # (gchar *) "org.project.UsefulInterface", 648s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 648s # NULL, 648s # NULL, 648s # NULL 648s # }, 648s # "org-project-useful-interface", 648s # }; 648s # 648s # 648s # /** 648s # * org_project_useful_interface_interface_info: 648s # * 648s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 648s # * 648s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 648s # */ 648s # GDBusInterfaceInfo * 648s # org_project_useful_interface_interface_info (void) 648s # { 648s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_override_properties: 648s # * @klass: The class structure for a #GObject derived class. 648s # * @property_id_begin: The property id to assign to the first overridden property. 648s # * 648s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 648s # * The properties are overridden in the order they are defined. 648s # * 648s # * Returns: The last property id. 648s # */ 648s # guint 648s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 648s # { 648s # return property_id_begin - 1; 648s # } 648s # 648s # 648s # inline static void 648s # org_project_useful_interface_method_marshal_single_arg_method_g ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint, 648s # void *marshal_data) 648s # { 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 648s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 648s # } 648s # 648s # 648s # /** 648s # * OrgProjectUsefulInterface: 648s # * 648s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceIface: 648s # * @parent_iface: The parent interface. 648s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 648s # * 648s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 648s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 648s # 648s # static void 648s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 648s # { 648s # /* GObject signals for incoming D-Bus method calls: */ 648s # /** 648s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: A #GDBusMethodInvocation. 648s # * 648s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 648s # * 648s # * 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. 648s # * 648s # * 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. 648s # */ 648s # g_signal_new ("handle-single-arg-method-g", 648s # G_TYPE_FROM_INTERFACE (iface), 648s # G_SIGNAL_RUN_LAST, 648s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 648s # g_signal_accumulator_true_handled, 648s # NULL, 648s # org_project_useful_interface_method_marshal_single_arg_method_g, 648s # G_TYPE_BOOLEAN, 648s # 1, 648s # G_TYPE_DBUS_METHOD_INVOCATION); 648s # 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_g: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 648s # */ 648s # void 648s # org_project_useful_interface_call_single_arg_method_g ( 648s # OrgProjectUsefulInterface *proxy, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodG", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # callback, 648s # user_data); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_g_finish: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_g_finish ( 648s # OrgProjectUsefulInterface *proxy, 648s # gchar **out_arg_g, 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(g)", 648s # out_arg_g); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_g_sync: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_g_sync ( 648s # OrgProjectUsefulInterface *proxy, 648s # gchar **out_arg_g, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodG", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(g)", 648s # out_arg_g); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_complete_single_arg_method_g: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: (transfer full): A #GDBusMethodInvocation. 648s # * @arg_g: Parameter to return. 648s # * 648s # * 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. 648s # * 648s # * This method will free @invocation, you cannot use it afterwards. 648s # */ 648s # void 648s # org_project_useful_interface_complete_single_arg_method_g ( 648s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 648s # GDBusMethodInvocation *invocation, 648s # const gchar *arg_g) 648s # { 648s # g_dbus_method_invocation_return_value (invocation, 648s # g_variant_new ("(g)", 648s # arg_g)); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxy: 648s # * 648s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxyClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceProxy. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceProxyPrivate 648s # { 648s # GData *qdata; 648s # }; 648s # 648s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_proxy_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 648s # g_datalist_clear (&proxy->priv->qdata); 648s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # const GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 648s # const gchar *sender_name G_GNUC_UNUSED, 648s # const gchar *signal_name, 648s # GVariant *parameters) 648s # { 648s # _ExtendedGDBusSignalInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # gsize n; 648s # guint signal_id; 648s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 648s # if (info == NULL) 648s # return; 648s # num_params = g_variant_n_children (parameters); 648s # paramv = g_new0 (GValue, num_params + 1); 648s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[0], proxy); 648s # g_variant_iter_init (&iter, parameters); 648s # n = 1; 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_signal_emitv (paramv, signal_id, 0, NULL); 648s # for (n = 0; n < num_params + 1; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 648s # GVariant *changed_properties, 648s # const gchar *const *invalidated_properties) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 648s # guint n; 648s # const gchar *key; 648s # GVariantIter *iter; 648s # _ExtendedGDBusPropertyInfo *info; 648s # g_variant_get (changed_properties, "a{sv}", &iter); 648s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 648s # g_datalist_remove_data (&proxy->priv->qdata, key); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # g_variant_iter_free (iter); 648s # for (n = 0; invalidated_properties[n] != NULL; n++) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 648s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 648s # #else 648s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 648s # #endif 648s # 648s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusProxyClass *proxy_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 648s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 648s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 648s # 648s # proxy_class = G_DBUS_PROXY_CLASS (klass); 648s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 648s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_sync: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_sync ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new_for_bus ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_sync: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_sync ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeleton: 648s # * 648s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeletonClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 648s # { 648s # GValue *properties; 648s # GList *changed_properties; 648s # GSource *changed_properties_idle_source; 648s # GMainContext *context; 648s # GMutex lock; 648s # }; 648s # 648s # static void 648s # _org_project_useful_interface_skeleton_handle_method_call ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name, 648s # const gchar *method_name, 648s # GVariant *parameters, 648s # GDBusMethodInvocation *invocation, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # _ExtendedGDBusMethodInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # guint num_extra; 648s # gsize n; 648s # guint signal_id; 648s # GValue return_value = G_VALUE_INIT; 648s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 648s # g_assert (info != NULL); 648s # num_params = g_variant_n_children (parameters); 648s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 648s # n = 0; 648s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[n++], skeleton); 648s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 648s # g_value_set_object (¶mv[n++], invocation); 648s # if (info->pass_fdlist) 648s # { 648s # #ifdef G_OS_UNIX 648s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 648s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 648s # #else 648s # g_assert_not_reached (); 648s # #endif 648s # } 648s # g_variant_iter_init (&iter, parameters); 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_init (&return_value, G_TYPE_BOOLEAN); 648s # g_signal_emitv (paramv, signal_id, 0, &return_value); 648s # if (!g_value_get_boolean (&return_value)) 648s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 648s # g_value_unset (&return_value); 648s # for (n = 0; n < num_params + num_extra; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static GVariant * 648s # _org_project_useful_interface_skeleton_handle_get_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # GVariant *ret; 648s # ret = NULL; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # g_value_init (&value, pspec->value_type); 648s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 648s # g_value_unset (&value); 648s # } 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _org_project_useful_interface_skeleton_handle_set_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GVariant *variant, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # gboolean ret; 648s # ret = FALSE; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # if (info->use_gvariant) 648s # g_value_set_variant (&value, variant); 648s # else 648s # g_dbus_gvariant_to_gvalue (variant, &value); 648s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # g_value_unset (&value); 648s # ret = TRUE; 648s # } 648s # return ret; 648s # } 648s # 648s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 648s # { 648s # _org_project_useful_interface_skeleton_handle_method_call, 648s # _org_project_useful_interface_skeleton_handle_get_property, 648s # _org_project_useful_interface_skeleton_handle_set_property, 648s # {NULL} 648s # }; 648s # 648s # static GDBusInterfaceInfo * 648s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return org_project_useful_interface_interface_info (); 648s # } 648s # 648s # static GDBusInterfaceVTable * 648s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 648s # } 648s # 648s # static GVariant * 648s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 648s # 648s # GVariantBuilder builder; 648s # guint n; 648s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 648s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 648s # goto out; 648s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 648s # { 648s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 648s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 648s # { 648s # GVariant *value; 648s # 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); 648s # if (value != NULL) 648s # { 648s # g_variant_take_ref (value); 648s # g_variant_builder_add (&builder, "{sv}", info->name, value); 648s # g_variant_unref (value); 648s # } 648s # } 648s # } 648s # out: 648s # return g_variant_builder_end (&builder); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_skeleton_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 648s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 648s # if (skeleton->priv->changed_properties_idle_source != NULL) 648s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 648s # g_main_context_unref (skeleton->priv->context); 648s # g_mutex_clear (&skeleton->priv->lock); 648s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 648s # #else 648s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 648s # #endif 648s # 648s # g_mutex_init (&skeleton->priv->lock); 648s # skeleton->priv->context = g_main_context_ref_thread_default (); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusInterfaceSkeletonClass *skeleton_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 648s # 648s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 648s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 648s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 648s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 648s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_skeleton_new: 648s # * 648s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_skeleton_new (void) 648s # { 648s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 648s # } 648s # /tmp/tmpy0e6khrq/tmpmgy95dfk.xml: 648s # 648s # 648s # 648s # 648s # 648s # 648s # 648s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy0e6khrq/tmpmgy95dfk.xml', '--output', '-', '--body'] 648s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 648s # Output: /* 648s # * This file is generated by gdbus-codegen, do not modify it. 648s # * 648s # * The license of this code is the same as for the D-Bus interface description 648s # * it was derived from. Note that it links to GLib, so must comply with the 648s # * LGPL linking clauses. 648s # */ 648s # 648s # #ifdef HAVE_CONFIG_H 648s # # include "config.h" 648s # #endif 648s # 648s # #include 648s # #ifdef G_OS_UNIX 648s # # include 648s # #endif 648s # 648s # #ifdef G_ENABLE_DEBUG 648s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 648s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 648s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 648s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 648s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 648s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 648s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 648s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 648s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 648s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 648s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 648s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 648s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 648s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 648s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 648s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 648s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 648s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 648s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 648s # #else /* !G_ENABLE_DEBUG */ 648s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 648s # * Do not access GValues directly in your code. Instead, use the 648s # * g_value_get_*() functions 648s # */ 648s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 648s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 648s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 648s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 648s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 648s # #endif /* !G_ENABLE_DEBUG */ 648s # 648s # typedef struct 648s # { 648s # GDBusArgInfo parent_struct; 648s # gboolean use_gvariant; 648s # } _ExtendedGDBusArgInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusMethodInfo parent_struct; 648s # const gchar *signal_name; 648s # gboolean pass_fdlist; 648s # } _ExtendedGDBusMethodInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusSignalInfo parent_struct; 648s # const gchar *signal_name; 648s # } _ExtendedGDBusSignalInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusPropertyInfo parent_struct; 648s # const gchar *hyphen_name; 648s # guint use_gvariant : 1; 648s # guint emits_changed_signal : 1; 648s # } _ExtendedGDBusPropertyInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusInterfaceInfo parent_struct; 648s # const gchar *hyphen_name; 648s # } _ExtendedGDBusInterfaceInfo; 648s # 648s # typedef struct 648s # { 648s # const _ExtendedGDBusPropertyInfo *info; 648s # guint prop_id; 648s # GValue orig_value; /* the value before the change */ 648s # } ChangedProperty; 648s # 648s # static void 648s # _changed_property_free (ChangedProperty *data) 648s # { 648s # g_value_unset (&data->orig_value); 648s # g_free (data); 648s # } 648s # 648s # static gboolean 648s # _g_strv_equal0 (gchar **a, gchar **b) 648s # { 648s # gboolean ret = FALSE; 648s # guint n; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # if (g_strv_length (a) != g_strv_length (b)) 648s # goto out; 648s # for (n = 0; a[n] != NULL; n++) 648s # if (g_strcmp0 (a[n], b[n]) != 0) 648s # goto out; 648s # ret = TRUE; 648s # out: 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _g_variant_equal0 (GVariant *a, GVariant *b) 648s # { 648s # gboolean ret = FALSE; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # ret = g_variant_equal (a, b); 648s # out: 648s # return ret; 648s # } 648s # 648s # G_GNUC_UNUSED static gboolean 648s # _g_value_equal (const GValue *a, const GValue *b) 648s # { 648s # gboolean ret = FALSE; 648s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 648s # switch (G_VALUE_TYPE (a)) 648s # { 648s # case G_TYPE_BOOLEAN: 648s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 648s # break; 648s # case G_TYPE_UCHAR: 648s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 648s # break; 648s # case G_TYPE_INT: 648s # ret = (g_value_get_int (a) == g_value_get_int (b)); 648s # break; 648s # case G_TYPE_UINT: 648s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 648s # break; 648s # case G_TYPE_INT64: 648s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 648s # break; 648s # case G_TYPE_UINT64: 648s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 648s # break; 648s # case G_TYPE_DOUBLE: 648s # { 648s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 648s # gdouble da = g_value_get_double (a); 648s # gdouble db = g_value_get_double (b); 648s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 648s # } 648s # break; 648s # case G_TYPE_STRING: 648s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 648s # break; 648s # case G_TYPE_VARIANT: 648s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 648s # break; 648s # default: 648s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 648s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 648s # else 648s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 648s # break; 648s # } 648s # return ret; 648s # } 648s # 648s # static void 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint G_GNUC_UNUSED, 648s # void *marshal_data) 648s # { 648s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (void *data1, 648s # GDBusMethodInvocation *arg_method_invocation, 648s # void *data2); 648s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 648s # GCClosure *cc = (GCClosure*) closure; 648s # void *data1, *data2; 648s # gboolean v_return; 648s # 648s # g_return_if_fail (return_value != NULL); 648s # g_return_if_fail (n_param_values == 2); 648s # 648s # if (G_CCLOSURE_SWAP_DATA (closure)) 648s # { 648s # data1 = closure->data; 648s # data2 = g_value_peek_pointer (param_values + 0); 648s # } 648s # else 648s # { 648s # data1 = g_value_peek_pointer (param_values + 0); 648s # data2 = closure->data; 648s # } 648s # 648s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (marshal_data ? marshal_data : cc->callback); 648s # 648s # v_return = 648s # callback (data1, 648s # g_marshal_value_peek_object (param_values + 1), 648s # data2); 648s # 648s # g_value_set_boolean (return_value, v_return); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ 648s # * Code for interface org.project.UsefulInterface 648s # * ------------------------------------------------------------------------ 648s # */ 648s # 648s # /** 648s # * SECTION:OrgProjectUsefulInterface 648s # * @title: OrgProjectUsefulInterface 648s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 648s # * 648s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 648s # */ 648s # 648s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 648s # 648s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 648s # { 648s # { 648s # -1, 648s # (gchar *) "arg_h", 648s # (gchar *) "h", 648s # NULL 648s # }, 648s # FALSE 648s # }; 648s # 648s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 648s # { 648s # { 648s # -1, 648s # (gchar *) "SingleArgMethodH", 648s # NULL, 648s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 648s # NULL 648s # }, 648s # "handle-single-arg-method-h", 648s # FALSE 648s # }; 648s # 648s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 648s # { 648s # { 648s # -1, 648s # (gchar *) "org.project.UsefulInterface", 648s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 648s # NULL, 648s # NULL, 648s # NULL 648s # }, 648s # "org-project-useful-interface", 648s # }; 648s # 648s # 648s # /** 648s # * org_project_useful_interface_interface_info: 648s # * 648s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 648s # * 648s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 648s # */ 648s # GDBusInterfaceInfo * 648s # org_project_useful_interface_interface_info (void) 648s # { 648s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_override_properties: 648s # * @klass: The class structure for a #GObject derived class. 648s # * @property_id_begin: The property id to assign to the first overridden property. 648s # * 648s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 648s # * The properties are overridden in the order they are defined. 648s # * 648s # * Returns: The last property id. 648s # */ 648s # guint 648s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 648s # { 648s # return property_id_begin - 1; 648s # } 648s # 648s # 648s # inline static void 648s # org_project_useful_interface_method_marshal_single_arg_method_h ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint, 648s # void *marshal_data) 648s # { 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 648s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 648s # } 648s # 648s # 648s # /** 648s # * OrgProjectUsefulInterface: 648s # * 648s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceIface: 648s # * @parent_iface: The parent interface. 648s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 648s # * 648s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 648s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 648s # 648s # static void 648s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 648s # { 648s # /* GObject signals for incoming D-Bus method calls: */ 648s # /** 648s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: A #GDBusMethodInvocation. 648s # * 648s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 648s # * 648s # * 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. 648s # * 648s # * 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. 648s # */ 648s # g_signal_new ("handle-single-arg-method-h", 648s # G_TYPE_FROM_INTERFACE (iface), 648s # G_SIGNAL_RUN_LAST, 648s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 648s # g_signal_accumulator_true_handled, 648s # NULL, 648s # org_project_useful_interface_method_marshal_single_arg_method_h, 648s # G_TYPE_BOOLEAN, 648s # 1, 648s # G_TYPE_DBUS_METHOD_INVOCATION); 648s # 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_h: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 648s # */ 648s # void 648s # org_project_useful_interface_call_single_arg_method_h ( 648s # OrgProjectUsefulInterface *proxy, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodH", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # callback, 648s # user_data); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_h_finish: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_h_finish ( 648s # OrgProjectUsefulInterface *proxy, 648s # GVariant **out_arg_h, 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(@h)", 648s # out_arg_h); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_h_sync: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_h_sync ( 648s # OrgProjectUsefulInterface *proxy, 648s # GVariant **out_arg_h, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodH", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(@h)", 648s # out_arg_h); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_complete_single_arg_method_h: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: (transfer full): A #GDBusMethodInvocation. 648s # * @arg_h: Parameter to return. 648s # * 648s # * 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. 648s # * 648s # * This method will free @invocation, you cannot use it afterwards. 648s # */ 648s # void 648s # org_project_useful_interface_complete_single_arg_method_h ( 648s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 648s # GDBusMethodInvocation *invocation, 648s # GVariant *arg_h) 648s # { 648s # g_dbus_method_invocation_return_value (invocation, 648s # g_variant_new ("(@h)", 648s # arg_h)); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxy: 648s # * 648s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxyClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceProxy. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceProxyPrivate 648s # { 648s # GData *qdata; 648s # }; 648s # 648s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_proxy_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 648s # g_datalist_clear (&proxy->priv->qdata); 648s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # const GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 648s # const gchar *sender_name G_GNUC_UNUSED, 648s # const gchar *signal_name, 648s # GVariant *parameters) 648s # { 648s # _ExtendedGDBusSignalInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # gsize n; 648s # guint signal_id; 648s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 648s # if (info == NULL) 648s # return; 648s # num_params = g_variant_n_children (parameters); 648s # paramv = g_new0 (GValue, num_params + 1); 648s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[0], proxy); 648s # g_variant_iter_init (&iter, parameters); 648s # n = 1; 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_signal_emitv (paramv, signal_id, 0, NULL); 648s # for (n = 0; n < num_params + 1; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 648s # GVariant *changed_properties, 648s # const gchar *const *invalidated_properties) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 648s # guint n; 648s # const gchar *key; 648s # GVariantIter *iter; 648s # _ExtendedGDBusPropertyInfo *info; 648s # g_variant_get (changed_properties, "a{sv}", &iter); 648s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 648s # g_datalist_remove_data (&proxy->priv->qdata, key); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # g_variant_iter_free (iter); 648s # for (n = 0; invalidated_properties[n] != NULL; n++) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 648s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 648s # #else 648s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 648s # #endif 648s # 648s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusProxyClass *proxy_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 648s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 648s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 648s # 648s # proxy_class = G_DBUS_PROXY_CLASS (klass); 648s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 648s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_sync: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_sync ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new_for_bus ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_sync: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_sync ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeleton: 648s # * 648s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeletonClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 648s # { 648s # GValue *properties; 648s # GList *changed_properties; 648s # GSource *changed_properties_idle_source; 648s # GMainContext *context; 648s # GMutex lock; 648s # }; 648s # 648s # static void 648s # _org_project_useful_interface_skeleton_handle_method_call ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name, 648s # const gchar *method_name, 648s # GVariant *parameters, 648s # GDBusMethodInvocation *invocation, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # _ExtendedGDBusMethodInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # guint num_extra; 648s # gsize n; 648s # guint signal_id; 648s # GValue return_value = G_VALUE_INIT; 648s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 648s # g_assert (info != NULL); 648s # num_params = g_variant_n_children (parameters); 648s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 648s # n = 0; 648s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[n++], skeleton); 648s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 648s # g_value_set_object (¶mv[n++], invocation); 648s # if (info->pass_fdlist) 648s # { 648s # #ifdef G_OS_UNIX 648s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 648s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 648s # #else 648s # g_assert_not_reached (); 648s # #endif 648s # } 648s # g_variant_iter_init (&iter, parameters); 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_init (&return_value, G_TYPE_BOOLEAN); 648s # g_signal_emitv (paramv, signal_id, 0, &return_value); 648s # if (!g_value_get_boolean (&return_value)) 648s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 648s # g_value_unset (&return_value); 648s # for (n = 0; n < num_params + num_extra; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static GVariant * 648s # _org_project_useful_interface_skeleton_handle_get_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # GVariant *ret; 648s # ret = NULL; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # g_value_init (&value, pspec->value_type); 648s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 648s # g_value_unset (&value); 648s # } 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _org_project_useful_interface_skeleton_handle_set_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GVariant *variant, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # gboolean ret; 648s # ret = FALSE; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # if (info->use_gvariant) 648s # g_value_set_variant (&value, variant); 648s # else 648s # g_dbus_gvariant_to_gvalue (variant, &value); 648s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # g_value_unset (&value); 648s # ret = TRUE; 648s # } 648s # return ret; 648s # } 648s # 648s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 648s # { 648s # _org_project_useful_interface_skeleton_handle_method_call, 648s # _org_project_useful_interface_skeleton_handle_get_property, 648s # _org_project_useful_interface_skeleton_handle_set_property, 648s # {NULL} 648s # }; 648s # 648s # static GDBusInterfaceInfo * 648s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return org_project_useful_interface_interface_info (); 648s # } 648s # 648s # static GDBusInterfaceVTable * 648s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 648s # } 648s # 648s # static GVariant * 648s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 648s # 648s # GVariantBuilder builder; 648s # guint n; 648s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 648s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 648s # goto out; 648s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 648s # { 648s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 648s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 648s # { 648s # GVariant *value; 648s # 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); 648s # if (value != NULL) 648s # { 648s # g_variant_take_ref (value); 648s # g_variant_builder_add (&builder, "{sv}", info->name, value); 648s # g_variant_unref (value); 648s # } 648s # } 648s # } 648s # out: 648s # return g_variant_builder_end (&builder); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_skeleton_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 648s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 648s # if (skeleton->priv->changed_properties_idle_source != NULL) 648s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 648s # g_main_context_unref (skeleton->priv->context); 648s # g_mutex_clear (&skeleton->priv->lock); 648s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 648s # #else 648s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 648s # #endif 648s # 648s # g_mutex_init (&skeleton->priv->lock); 648s # skeleton->priv->context = g_main_context_ref_thread_default (); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusInterfaceSkeletonClass *skeleton_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 648s # 648s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 648s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 648s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 648s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 648s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_skeleton_new: 648s # * 648s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_skeleton_new (void) 648s # { 648s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 648s # } 648s # /tmp/tmpy0e6khrq/tmpjc8m788c.xml: 648s # 648s # 648s # 648s # 648s # 648s # 648s # 648s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy0e6khrq/tmpjc8m788c.xml', '--output', '-', '--body'] 648s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 648s # Output: /* 648s # * This file is generated by gdbus-codegen, do not modify it. 648s # * 648s # * The license of this code is the same as for the D-Bus interface description 648s # * it was derived from. Note that it links to GLib, so must comply with the 648s # * LGPL linking clauses. 648s # */ 648s # 648s # #ifdef HAVE_CONFIG_H 648s # # include "config.h" 648s # #endif 648s # 648s # #include 648s # #ifdef G_OS_UNIX 648s # # include 648s # #endif 648s # 648s # #ifdef G_ENABLE_DEBUG 648s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 648s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 648s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 648s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 648s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 648s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 648s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 648s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 648s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 648s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 648s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 648s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 648s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 648s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 648s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 648s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 648s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 648s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 648s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 648s # #else /* !G_ENABLE_DEBUG */ 648s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 648s # * Do not access GValues directly in your code. Instead, use the 648s # * g_value_get_*() functions 648s # */ 648s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 648s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 648s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 648s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 648s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 648s # #endif /* !G_ENABLE_DEBUG */ 648s # 648s # typedef struct 648s # { 648s # GDBusArgInfo parent_struct; 648s # gboolean use_gvariant; 648s # } _ExtendedGDBusArgInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusMethodInfo parent_struct; 648s # const gchar *signal_name; 648s # gboolean pass_fdlist; 648s # } _ExtendedGDBusMethodInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusSignalInfo parent_struct; 648s # const gchar *signal_name; 648s # } _ExtendedGDBusSignalInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusPropertyInfo parent_struct; 648s # const gchar *hyphen_name; 648s # guint use_gvariant : 1; 648s # guint emits_changed_signal : 1; 648s # } _ExtendedGDBusPropertyInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusInterfaceInfo parent_struct; 648s # const gchar *hyphen_name; 648s # } _ExtendedGDBusInterfaceInfo; 648s # 648s # typedef struct 648s # { 648s # const _ExtendedGDBusPropertyInfo *info; 648s # guint prop_id; 648s # GValue orig_value; /* the value before the change */ 648s # } ChangedProperty; 648s # 648s # static void 648s # _changed_property_free (ChangedProperty *data) 648s # { 648s # g_value_unset (&data->orig_value); 648s # g_free (data); 648s # } 648s # 648s # static gboolean 648s # _g_strv_equal0 (gchar **a, gchar **b) 648s # { 648s # gboolean ret = FALSE; 648s # guint n; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # if (g_strv_length (a) != g_strv_length (b)) 648s # goto out; 648s # for (n = 0; a[n] != NULL; n++) 648s # if (g_strcmp0 (a[n], b[n]) != 0) 648s # goto out; 648s # ret = TRUE; 648s # out: 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _g_variant_equal0 (GVariant *a, GVariant *b) 648s # { 648s # gboolean ret = FALSE; 648s # if (a == NULL && b == NULL) 648s # { 648s # ret = TRUE; 648s # goto out; 648s # } 648s # if (a == NULL || b == NULL) 648s # goto out; 648s # ret = g_variant_equal (a, b); 648s # out: 648s # return ret; 648s # } 648s # 648s # G_GNUC_UNUSED static gboolean 648s # _g_value_equal (const GValue *a, const GValue *b) 648s # { 648s # gboolean ret = FALSE; 648s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 648s # switch (G_VALUE_TYPE (a)) 648s # { 648s # case G_TYPE_BOOLEAN: 648s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 648s # break; 648s # case G_TYPE_UCHAR: 648s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 648s # break; 648s # case G_TYPE_INT: 648s # ret = (g_value_get_int (a) == g_value_get_int (b)); 648s # break; 648s # case G_TYPE_UINT: 648s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 648s # break; 648s # case G_TYPE_INT64: 648s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 648s # break; 648s # case G_TYPE_UINT64: 648s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 648s # break; 648s # case G_TYPE_DOUBLE: 648s # { 648s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 648s # gdouble da = g_value_get_double (a); 648s # gdouble db = g_value_get_double (b); 648s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 648s # } 648s # break; 648s # case G_TYPE_STRING: 648s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 648s # break; 648s # case G_TYPE_VARIANT: 648s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 648s # break; 648s # default: 648s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 648s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 648s # else 648s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 648s # break; 648s # } 648s # return ret; 648s # } 648s # 648s # static void 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint G_GNUC_UNUSED, 648s # void *marshal_data) 648s # { 648s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (void *data1, 648s # GDBusMethodInvocation *arg_method_invocation, 648s # void *data2); 648s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 648s # GCClosure *cc = (GCClosure*) closure; 648s # void *data1, *data2; 648s # gboolean v_return; 648s # 648s # g_return_if_fail (return_value != NULL); 648s # g_return_if_fail (n_param_values == 2); 648s # 648s # if (G_CCLOSURE_SWAP_DATA (closure)) 648s # { 648s # data1 = closure->data; 648s # data2 = g_value_peek_pointer (param_values + 0); 648s # } 648s # else 648s # { 648s # data1 = g_value_peek_pointer (param_values + 0); 648s # data2 = closure->data; 648s # } 648s # 648s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 648s # (marshal_data ? marshal_data : cc->callback); 648s # 648s # v_return = 648s # callback (data1, 648s # g_marshal_value_peek_object (param_values + 1), 648s # data2); 648s # 648s # g_value_set_boolean (return_value, v_return); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ 648s # * Code for interface org.project.UsefulInterface 648s # * ------------------------------------------------------------------------ 648s # */ 648s # 648s # /** 648s # * SECTION:OrgProjectUsefulInterface 648s # * @title: OrgProjectUsefulInterface 648s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 648s # * 648s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 648s # */ 648s # 648s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 648s # 648s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 648s # { 648s # { 648s # -1, 648s # (gchar *) "arg_ay", 648s # (gchar *) "ay", 648s # NULL 648s # }, 648s # FALSE 648s # }; 648s # 648s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 648s # { 648s # { 648s # -1, 648s # (gchar *) "SingleArgMethodAy", 648s # NULL, 648s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 648s # NULL 648s # }, 648s # "handle-single-arg-method-ay", 648s # FALSE 648s # }; 648s # 648s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 648s # { 648s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 648s # NULL 648s # }; 648s # 648s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 648s # { 648s # { 648s # -1, 648s # (gchar *) "org.project.UsefulInterface", 648s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 648s # NULL, 648s # NULL, 648s # NULL 648s # }, 648s # "org-project-useful-interface", 648s # }; 648s # 648s # 648s # /** 648s # * org_project_useful_interface_interface_info: 648s # * 648s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 648s # * 648s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 648s # */ 648s # GDBusInterfaceInfo * 648s # org_project_useful_interface_interface_info (void) 648s # { 648s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_override_properties: 648s # * @klass: The class structure for a #GObject derived class. 648s # * @property_id_begin: The property id to assign to the first overridden property. 648s # * 648s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 648s # * The properties are overridden in the order they are defined. 648s # * 648s # * Returns: The last property id. 648s # */ 648s # guint 648s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 648s # { 648s # return property_id_begin - 1; 648s # } 648s # 648s # 648s # inline static void 648s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 648s # GClosure *closure, 648s # GValue *return_value, 648s # unsigned int n_param_values, 648s # const GValue *param_values, 648s # void *invocation_hint, 648s # void *marshal_data) 648s # { 648s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 648s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 648s # } 648s # 648s # 648s # /** 648s # * OrgProjectUsefulInterface: 648s # * 648s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceIface: 648s # * @parent_iface: The parent interface. 648s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 648s # * 648s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 648s # */ 648s # 648s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 648s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 648s # 648s # static void 648s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 648s # { 648s # /* GObject signals for incoming D-Bus method calls: */ 648s # /** 648s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: A #GDBusMethodInvocation. 648s # * 648s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 648s # * 648s # * 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. 648s # * 648s # * 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. 648s # */ 648s # g_signal_new ("handle-single-arg-method-ay", 648s # G_TYPE_FROM_INTERFACE (iface), 648s # G_SIGNAL_RUN_LAST, 648s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 648s # g_signal_accumulator_true_handled, 648s # NULL, 648s # org_project_useful_interface_method_marshal_single_arg_method_ay, 648s # G_TYPE_BOOLEAN, 648s # 1, 648s # G_TYPE_DBUS_METHOD_INVOCATION); 648s # 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_ay: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 648s # */ 648s # void 648s # org_project_useful_interface_call_single_arg_method_ay ( 648s # OrgProjectUsefulInterface *proxy, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodAy", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # callback, 648s # user_data); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_ay_finish: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_ay_finish ( 648s # OrgProjectUsefulInterface *proxy, 648s # gchar **out_arg_ay, 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(^ay)", 648s # out_arg_ay); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_call_single_arg_method_ay_sync: 648s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 648s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL. 648s # * 648s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 648s # * 648s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 648s # */ 648s # gboolean 648s # org_project_useful_interface_call_single_arg_method_ay_sync ( 648s # OrgProjectUsefulInterface *proxy, 648s # gchar **out_arg_ay, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GVariant *_ret; 648s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 648s # "SingleArgMethodAy", 648s # g_variant_new ("()"), 648s # G_DBUS_CALL_FLAGS_NONE, 648s # -1, 648s # cancellable, 648s # error); 648s # if (_ret == NULL) 648s # goto _out; 648s # g_variant_get (_ret, 648s # "(^ay)", 648s # out_arg_ay); 648s # g_variant_unref (_ret); 648s # _out: 648s # return _ret != NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_complete_single_arg_method_ay: 648s # * @object: A #OrgProjectUsefulInterface. 648s # * @invocation: (transfer full): A #GDBusMethodInvocation. 648s # * @arg_ay: Parameter to return. 648s # * 648s # * 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. 648s # * 648s # * This method will free @invocation, you cannot use it afterwards. 648s # */ 648s # void 648s # org_project_useful_interface_complete_single_arg_method_ay ( 648s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 648s # GDBusMethodInvocation *invocation, 648s # const gchar *arg_ay) 648s # { 648s # g_dbus_method_invocation_return_value (invocation, 648s # g_variant_new ("(^ay)", 648s # arg_ay)); 648s # } 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxy: 648s # * 648s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceProxyClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceProxy. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceProxyPrivate 648s # { 648s # GData *qdata; 648s # }; 648s # 648s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_proxy_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 648s # g_datalist_clear (&proxy->priv->qdata); 648s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 648s # guint prop_id G_GNUC_UNUSED, 648s # const GValue *value G_GNUC_UNUSED, 648s # GParamSpec *pspec G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 648s # const gchar *sender_name G_GNUC_UNUSED, 648s # const gchar *signal_name, 648s # GVariant *parameters) 648s # { 648s # _ExtendedGDBusSignalInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # gsize n; 648s # guint signal_id; 648s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 648s # if (info == NULL) 648s # return; 648s # num_params = g_variant_n_children (parameters); 648s # paramv = g_new0 (GValue, num_params + 1); 648s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[0], proxy); 648s # g_variant_iter_init (&iter, parameters); 648s # n = 1; 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_signal_emitv (paramv, signal_id, 0, NULL); 648s # for (n = 0; n < num_params + 1; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 648s # GVariant *changed_properties, 648s # const gchar *const *invalidated_properties) 648s # { 648s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 648s # guint n; 648s # const gchar *key; 648s # GVariantIter *iter; 648s # _ExtendedGDBusPropertyInfo *info; 648s # g_variant_get (changed_properties, "a{sv}", &iter); 648s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 648s # g_datalist_remove_data (&proxy->priv->qdata, key); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # g_variant_iter_free (iter); 648s # for (n = 0; invalidated_properties[n] != NULL; n++) 648s # { 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 648s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 648s # if (info != NULL) 648s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 648s # } 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 648s # #else 648s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 648s # #endif 648s # 648s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusProxyClass *proxy_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 648s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 648s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 648s # 648s # proxy_class = G_DBUS_PROXY_CLASS (klass); 648s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 648s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_sync: 648s # * @connection: A #GDBusConnection. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_sync ( 648s # GDBusConnection *connection, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 648s # * @user_data: User data to pass to @callback. 648s # * 648s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 648s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 648s # */ 648s # void 648s # org_project_useful_interface_proxy_new_for_bus ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GAsyncReadyCallback callback, 648s # gpointer user_data) 648s # { 648s # g_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); 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_finish: 648s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 648s # * @error: Return location for error or %NULL 648s # * 648s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_finish ( 648s # GAsyncResult *res, 648s # GError **error) 648s # { 648s # GObject *ret; 648s # GObject *source_object; 648s # source_object = g_async_result_get_source_object (res); 648s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 648s # g_object_unref (source_object); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_proxy_new_for_bus_sync: 648s # * @bus_type: A #GBusType. 648s # * @flags: Flags from the #GDBusProxyFlags enumeration. 648s # * @name: A bus name (well-known or unique). 648s # * @object_path: An object path. 648s # * @cancellable: (nullable): A #GCancellable or %NULL. 648s # * @error: Return location for error or %NULL 648s # * 648s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 648s # * 648s # * The calling thread is blocked until a reply is received. 648s # * 648s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_proxy_new_for_bus_sync ( 648s # GBusType bus_type, 648s # GDBusProxyFlags flags, 648s # const gchar *name, 648s # const gchar *object_path, 648s # GCancellable *cancellable, 648s # GError **error) 648s # { 648s # GInitable *ret; 648s # 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); 648s # if (ret != NULL) 648s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 648s # else 648s # return NULL; 648s # } 648s # 648s # 648s # /* ------------------------------------------------------------------------ */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeleton: 648s # * 648s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 648s # */ 648s # 648s # /** 648s # * OrgProjectUsefulInterfaceSkeletonClass: 648s # * @parent_class: The parent class. 648s # * 648s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 648s # */ 648s # 648s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 648s # { 648s # GValue *properties; 648s # GList *changed_properties; 648s # GSource *changed_properties_idle_source; 648s # GMainContext *context; 648s # GMutex lock; 648s # }; 648s # 648s # static void 648s # _org_project_useful_interface_skeleton_handle_method_call ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name, 648s # const gchar *method_name, 648s # GVariant *parameters, 648s # GDBusMethodInvocation *invocation, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # _ExtendedGDBusMethodInfo *info; 648s # GVariantIter iter; 648s # GVariant *child; 648s # GValue *paramv; 648s # gsize num_params; 648s # guint num_extra; 648s # gsize n; 648s # guint signal_id; 648s # GValue return_value = G_VALUE_INIT; 648s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 648s # g_assert (info != NULL); 648s # num_params = g_variant_n_children (parameters); 648s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 648s # n = 0; 648s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_set_object (¶mv[n++], skeleton); 648s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 648s # g_value_set_object (¶mv[n++], invocation); 648s # if (info->pass_fdlist) 648s # { 648s # #ifdef G_OS_UNIX 648s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 648s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 648s # #else 648s # g_assert_not_reached (); 648s # #endif 648s # } 648s # g_variant_iter_init (&iter, parameters); 648s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 648s # { 648s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 648s # if (arg_info->use_gvariant) 648s # { 648s # g_value_init (¶mv[n], G_TYPE_VARIANT); 648s # g_value_set_variant (¶mv[n], child); 648s # n++; 648s # } 648s # else 648s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 648s # g_variant_unref (child); 648s # } 648s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 648s # g_value_init (&return_value, G_TYPE_BOOLEAN); 648s # g_signal_emitv (paramv, signal_id, 0, &return_value); 648s # if (!g_value_get_boolean (&return_value)) 648s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 648s # g_value_unset (&return_value); 648s # for (n = 0; n < num_params + num_extra; n++) 648s # g_value_unset (¶mv[n]); 648s # g_free (paramv); 648s # } 648s # 648s # static GVariant * 648s # _org_project_useful_interface_skeleton_handle_get_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # GVariant *ret; 648s # ret = NULL; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # g_value_init (&value, pspec->value_type); 648s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 648s # g_value_unset (&value); 648s # } 648s # return ret; 648s # } 648s # 648s # static gboolean 648s # _org_project_useful_interface_skeleton_handle_set_property ( 648s # GDBusConnection *connection G_GNUC_UNUSED, 648s # const gchar *sender G_GNUC_UNUSED, 648s # const gchar *object_path G_GNUC_UNUSED, 648s # const gchar *interface_name G_GNUC_UNUSED, 648s # const gchar *property_name, 648s # GVariant *variant, 648s # GError **error, 648s # gpointer user_data) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 648s # GValue value = G_VALUE_INIT; 648s # GParamSpec *pspec; 648s # _ExtendedGDBusPropertyInfo *info; 648s # gboolean ret; 648s # ret = FALSE; 648s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 648s # g_assert (info != NULL); 648s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 648s # if (pspec == NULL) 648s # { 648s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 648s # } 648s # else 648s # { 648s # if (info->use_gvariant) 648s # g_value_set_variant (&value, variant); 648s # else 648s # g_dbus_gvariant_to_gvalue (variant, &value); 648s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 648s # g_value_unset (&value); 648s # ret = TRUE; 648s # } 648s # return ret; 648s # } 648s # 648s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 648s # { 648s # _org_project_useful_interface_skeleton_handle_method_call, 648s # _org_project_useful_interface_skeleton_handle_get_property, 648s # _org_project_useful_interface_skeleton_handle_set_property, 648s # {NULL} 648s # }; 648s # 648s # static GDBusInterfaceInfo * 648s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return org_project_useful_interface_interface_info (); 648s # } 648s # 648s # static GDBusInterfaceVTable * 648s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 648s # { 648s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 648s # } 648s # 648s # static GVariant * 648s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 648s # 648s # GVariantBuilder builder; 648s # guint n; 648s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 648s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 648s # goto out; 648s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 648s # { 648s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 648s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 648s # { 648s # GVariant *value; 648s # 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); 648s # if (value != NULL) 648s # { 648s # g_variant_take_ref (value); 648s # g_variant_builder_add (&builder, "{sv}", info->name, value); 648s # g_variant_unref (value); 648s # } 648s # } 648s # } 648s # out: 648s # return g_variant_builder_end (&builder); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #else 648s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 648s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 648s # 648s # #endif 648s # static void 648s # org_project_useful_interface_skeleton_finalize (GObject *object) 648s # { 648s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 648s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 648s # if (skeleton->priv->changed_properties_idle_source != NULL) 648s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 648s # g_main_context_unref (skeleton->priv->context); 648s # g_mutex_clear (&skeleton->priv->lock); 648s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 648s # { 648s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 648s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 648s # #else 648s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 648s # #endif 648s # 648s # g_mutex_init (&skeleton->priv->lock); 648s # skeleton->priv->context = g_main_context_ref_thread_default (); 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 648s # { 648s # GObjectClass *gobject_class; 648s # GDBusInterfaceSkeletonClass *skeleton_class; 648s # 648s # gobject_class = G_OBJECT_CLASS (klass); 648s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 648s # 648s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 648s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 648s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 648s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 648s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 648s # 648s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 648s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 648s # #endif 648s # } 648s # 648s # static void 648s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 648s # { 648s # } 648s # 648s # /** 648s # * org_project_useful_interface_skeleton_new: 648s # * 648s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 648s # * 648s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 648s # */ 648s # OrgProjectUsefulInterface * 648s # org_project_useful_interface_skeleton_new (void) 648s # { 648s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 648s # } 648s # /tmp/tmpy0e6khrq/tmpjsucysje.xml: 648s # 648s # 648s # 648s # 648s # 648s # 648s # 648s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy0e6khrq/tmpjsucysje.xml', '--output', '-', '--body'] 648s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 648s # Output: /* 648s # * This file is generated by gdbus-codegen, do not modify it. 648s # * 648s # * The license of this code is the same as for the D-Bus interface description 648s # * it was derived from. Note that it links to GLib, so must comply with the 648s # * LGPL linking clauses. 648s # */ 648s # 648s # #ifdef HAVE_CONFIG_H 648s # # include "config.h" 648s # #endif 648s # 648s # #include 648s # #ifdef G_OS_UNIX 648s # # include 648s # #endif 648s # 648s # #ifdef G_ENABLE_DEBUG 648s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 648s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 648s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 648s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 648s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 648s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 648s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 648s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 648s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 648s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 648s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 648s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 648s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 648s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 648s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 648s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 648s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 648s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 648s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 648s # #else /* !G_ENABLE_DEBUG */ 648s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 648s # * Do not access GValues directly in your code. Instead, use the 648s # * g_value_get_*() functions 648s # */ 648s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 648s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 648s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 648s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 648s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 648s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 648s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 648s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 648s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 648s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 648s # #endif /* !G_ENABLE_DEBUG */ 648s # 648s # typedef struct 648s # { 648s # GDBusArgInfo parent_struct; 648s # gboolean use_gvariant; 648s # } _ExtendedGDBusArgInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusMethodInfo parent_struct; 648s # const gchar *signal_name; 648s # gboolean pass_fdlist; 648s # } _ExtendedGDBusMethodInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusSignalInfo parent_struct; 648s # const gchar *signal_name; 648s # } _ExtendedGDBusSignalInfo; 648s # 648s # typedef struct 648s # { 648s # GDBusPropertyInfo parent_struct; 648s # const gchar *hyphen_name; 648s # guint use_gvariant : 1; 648s # guint emits_changed_signal : 1; 648s # } _ExtendedGDBusPropertyInfo; 648s # 649s # typedef struct 649s # { 649s # GDBusInterfaceInfo parent_struct; 649s # const gchar *hyphen_name; 649s # } _ExtendedGDBusInterfaceInfo; 649s # 649s # typedef struct 649s # { 649s # const _ExtendedGDBusPropertyInfo *info; 649s # guint prop_id; 649s # GValue orig_value; /* the value before the change */ 649s # } ChangedProperty; 649s # 649s # static void 649s # _changed_property_free (ChangedProperty *data) 649s # { 649s # g_value_unset (&data->orig_value); 649s # g_free (data); 649s # } 649s # 649s # static gboolean 649s # _g_strv_equal0 (gchar **a, gchar **b) 649s # { 649s # gboolean ret = FALSE; 649s # guint n; 649s # if (a == NULL && b == NULL) 649s # { 649s # ret = TRUE; 649s # goto out; 649s # } 649s # if (a == NULL || b == NULL) 649s # goto out; 649s # if (g_strv_length (a) != g_strv_length (b)) 649s # goto out; 649s # for (n = 0; a[n] != NULL; n++) 649s # if (g_strcmp0 (a[n], b[n]) != 0) 649s # goto out; 649s # ret = TRUE; 649s # out: 649s # return ret; 649s # } 649s # 649s # static gboolean 649s # _g_variant_equal0 (GVariant *a, GVariant *b) 649s # { 649s # gboolean ret = FALSE; 649s # if (a == NULL && b == NULL) 649s # { 649s # ret = TRUE; 649s # goto out; 649s # } 649s # if (a == NULL || b == NULL) 649s # goto out; 649s # ret = g_variant_equal (a, b); 649s # out: 649s # return ret; 649s # } 649s # 649s # G_GNUC_UNUSED static gboolean 649s # _g_value_equal (const GValue *a, const GValue *b) 649s # { 649s # gboolean ret = FALSE; 649s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 649s # switch (G_VALUE_TYPE (a)) 649s # { 649s # case G_TYPE_BOOLEAN: 649s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 649s # break; 649s # case G_TYPE_UCHAR: 649s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 649s # break; 649s # case G_TYPE_INT: 649s # ret = (g_value_get_int (a) == g_value_get_int (b)); 649s # break; 649s # case G_TYPE_UINT: 649s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 649s # break; 649s # case G_TYPE_INT64: 649s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 649s # break; 649s # case G_TYPE_UINT64: 649s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 649s # break; 649s # case G_TYPE_DOUBLE: 649s # { 649s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 649s # gdouble da = g_value_get_double (a); 649s # gdouble db = g_value_get_double (b); 649s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 649s # } 649s # break; 649s # case G_TYPE_STRING: 649s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 649s # break; 649s # case G_TYPE_VARIANT: 649s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 649s # break; 649s # default: 649s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 649s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 649s # else 649s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 649s # break; 649s # } 649s # return ret; 649s # } 649s # 649s # static void 649s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 649s # GClosure *closure, 649s # GValue *return_value, 649s # unsigned int n_param_values, 649s # const GValue *param_values, 649s # void *invocation_hint G_GNUC_UNUSED, 649s # void *marshal_data) 649s # { 649s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 649s # (void *data1, 649s # GDBusMethodInvocation *arg_method_invocation, 649s # void *data2); 649s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 649s # GCClosure *cc = (GCClosure*) closure; 649s # void *data1, *data2; 649s # gboolean v_return; 649s # 649s # g_return_if_fail (return_value != NULL); 649s # g_return_if_fail (n_param_values == 2); 649s # 649s # if (G_CCLOSURE_SWAP_DATA (closure)) 649s # { 649s # data1 = closure->data; 649s # data2 = g_value_peek_pointer (param_values + 0); 649s # } 649s # else 649s # { 649s # data1 = g_value_peek_pointer (param_values + 0); 649s # data2 = closure->data; 649s # } 649s # 649s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 649s # (marshal_data ? marshal_data : cc->callback); 649s # 649s # v_return = 649s # callback (data1, 649s # g_marshal_value_peek_object (param_values + 1), 649s # data2); 649s # 649s # g_value_set_boolean (return_value, v_return); 649s # } 649s # 649s # /* ------------------------------------------------------------------------ 649s # * Code for interface org.project.UsefulInterface 649s # * ------------------------------------------------------------------------ 649s # */ 649s # 649s # /** 649s # * SECTION:OrgProjectUsefulInterface 649s # * @title: OrgProjectUsefulInterface 649s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 649s # * 649s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 649s # */ 649s # 649s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 649s # { 649s # { 649s # -1, 649s # (gchar *) "arg_as", 649s # (gchar *) "as", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 649s # { 649s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 649s # { 649s # { 649s # -1, 649s # (gchar *) "SingleArgMethodAs", 649s # NULL, 649s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 649s # NULL 649s # }, 649s # "handle-single-arg-method-as", 649s # FALSE 649s # }; 649s # 649s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 649s # { 649s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 649s # { 649s # { 649s # -1, 649s # (gchar *) "org.project.UsefulInterface", 649s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 649s # NULL, 649s # NULL, 649s # NULL 649s # }, 649s # "org-project-useful-interface", 649s # }; 649s # 649s # 649s # /** 649s # * org_project_useful_interface_interface_info: 649s # * 649s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 649s # * 649s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 649s # */ 649s # GDBusInterfaceInfo * 649s # org_project_useful_interface_interface_info (void) 649s # { 649s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_override_properties: 649s # * @klass: The class structure for a #GObject derived class. 649s # * @property_id_begin: The property id to assign to the first overridden property. 649s # * 649s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 649s # * The properties are overridden in the order they are defined. 649s # * 649s # * Returns: The last property id. 649s # */ 649s # guint 649s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 649s # { 649s # return property_id_begin - 1; 649s # } 649s # 649s # 649s # inline static void 649s # org_project_useful_interface_method_marshal_single_arg_method_as ( 649s # GClosure *closure, 649s # GValue *return_value, 649s # unsigned int n_param_values, 649s # const GValue *param_values, 649s # void *invocation_hint, 649s # void *marshal_data) 649s # { 649s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 649s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 649s # } 649s # 649s # 649s # /** 649s # * OrgProjectUsefulInterface: 649s # * 649s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 649s # */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceIface: 649s # * @parent_iface: The parent interface. 649s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 649s # * 649s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 649s # */ 649s # 649s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 649s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 649s # 649s # static void 649s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 649s # { 649s # /* GObject signals for incoming D-Bus method calls: */ 649s # /** 649s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 649s # * @object: A #OrgProjectUsefulInterface. 649s # * @invocation: A #GDBusMethodInvocation. 649s # * 649s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 649s # * 649s # * 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. 649s # * 649s # * 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. 649s # */ 649s # g_signal_new ("handle-single-arg-method-as", 649s # G_TYPE_FROM_INTERFACE (iface), 649s # G_SIGNAL_RUN_LAST, 649s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 649s # g_signal_accumulator_true_handled, 649s # NULL, 649s # org_project_useful_interface_method_marshal_single_arg_method_as, 649s # G_TYPE_BOOLEAN, 649s # 1, 649s # G_TYPE_DBUS_METHOD_INVOCATION); 649s # 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_call_single_arg_method_as: 649s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 649s # * 649s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 649s # */ 649s # void 649s # org_project_useful_interface_call_single_arg_method_as ( 649s # OrgProjectUsefulInterface *proxy, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 649s # "SingleArgMethodAs", 649s # g_variant_new ("()"), 649s # G_DBUS_CALL_FLAGS_NONE, 649s # -1, 649s # cancellable, 649s # callback, 649s # user_data); 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_call_single_arg_method_as_finish: 649s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 649s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 649s # * @error: Return location for error or %NULL. 649s # * 649s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 649s # * 649s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 649s # */ 649s # gboolean 649s # org_project_useful_interface_call_single_arg_method_as_finish ( 649s # OrgProjectUsefulInterface *proxy, 649s # gchar ***out_arg_as, 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GVariant *_ret; 649s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 649s # if (_ret == NULL) 649s # goto _out; 649s # g_variant_get (_ret, 649s # "(^as)", 649s # out_arg_as); 649s # g_variant_unref (_ret); 649s # _out: 649s # return _ret != NULL; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_call_single_arg_method_as_sync: 649s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 649s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL. 649s # * 649s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 649s # * 649s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 649s # */ 649s # gboolean 649s # org_project_useful_interface_call_single_arg_method_as_sync ( 649s # OrgProjectUsefulInterface *proxy, 649s # gchar ***out_arg_as, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GVariant *_ret; 649s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 649s # "SingleArgMethodAs", 649s # g_variant_new ("()"), 649s # G_DBUS_CALL_FLAGS_NONE, 649s # -1, 649s # cancellable, 649s # error); 649s # if (_ret == NULL) 649s # goto _out; 649s # g_variant_get (_ret, 649s # "(^as)", 649s # out_arg_as); 649s # g_variant_unref (_ret); 649s # _out: 649s # return _ret != NULL; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_complete_single_arg_method_as: 649s # * @object: A #OrgProjectUsefulInterface. 649s # * @invocation: (transfer full): A #GDBusMethodInvocation. 649s # * @arg_as: Parameter to return. 649s # * 649s # * 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. 649s # * 649s # * This method will free @invocation, you cannot use it afterwards. 649s # */ 649s # void 649s # org_project_useful_interface_complete_single_arg_method_as ( 649s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 649s # GDBusMethodInvocation *invocation, 649s # const gchar *const *arg_as) 649s # { 649s # g_dbus_method_invocation_return_value (invocation, 649s # g_variant_new ("(^as)", 649s # arg_as)); 649s # } 649s # 649s # /* ------------------------------------------------------------------------ */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceProxy: 649s # * 649s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 649s # */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceProxyClass: 649s # * @parent_class: The parent class. 649s # * 649s # * Class structure for #OrgProjectUsefulInterfaceProxy. 649s # */ 649s # 649s # struct _OrgProjectUsefulInterfaceProxyPrivate 649s # { 649s # GData *qdata; 649s # }; 649s # 649s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 649s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 649s # 649s # #else 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 649s # 649s # #endif 649s # static void 649s # org_project_useful_interface_proxy_finalize (GObject *object) 649s # { 649s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 649s # g_datalist_clear (&proxy->priv->qdata); 649s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 649s # guint prop_id G_GNUC_UNUSED, 649s # GValue *value G_GNUC_UNUSED, 649s # GParamSpec *pspec G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 649s # guint prop_id G_GNUC_UNUSED, 649s # const GValue *value G_GNUC_UNUSED, 649s # GParamSpec *pspec G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 649s # const gchar *sender_name G_GNUC_UNUSED, 649s # const gchar *signal_name, 649s # GVariant *parameters) 649s # { 649s # _ExtendedGDBusSignalInfo *info; 649s # GVariantIter iter; 649s # GVariant *child; 649s # GValue *paramv; 649s # gsize num_params; 649s # gsize n; 649s # guint signal_id; 649s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 649s # if (info == NULL) 649s # return; 649s # num_params = g_variant_n_children (parameters); 649s # paramv = g_new0 (GValue, num_params + 1); 649s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 649s # g_value_set_object (¶mv[0], proxy); 649s # g_variant_iter_init (&iter, parameters); 649s # n = 1; 649s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 649s # { 649s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 649s # if (arg_info->use_gvariant) 649s # { 649s # g_value_init (¶mv[n], G_TYPE_VARIANT); 649s # g_value_set_variant (¶mv[n], child); 649s # n++; 649s # } 649s # else 649s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 649s # g_variant_unref (child); 649s # } 649s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 649s # g_signal_emitv (paramv, signal_id, 0, NULL); 649s # for (n = 0; n < num_params + 1; n++) 649s # g_value_unset (¶mv[n]); 649s # g_free (paramv); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 649s # GVariant *changed_properties, 649s # const gchar *const *invalidated_properties) 649s # { 649s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 649s # guint n; 649s # const gchar *key; 649s # GVariantIter *iter; 649s # _ExtendedGDBusPropertyInfo *info; 649s # g_variant_get (changed_properties, "a{sv}", &iter); 649s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 649s # { 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 649s # g_datalist_remove_data (&proxy->priv->qdata, key); 649s # if (info != NULL) 649s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 649s # } 649s # g_variant_iter_free (iter); 649s # for (n = 0; invalidated_properties[n] != NULL; n++) 649s # { 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 649s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 649s # if (info != NULL) 649s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 649s # } 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 649s # { 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 649s # #else 649s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 649s # #endif 649s # 649s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 649s # { 649s # GObjectClass *gobject_class; 649s # GDBusProxyClass *proxy_class; 649s # 649s # gobject_class = G_OBJECT_CLASS (klass); 649s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 649s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 649s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 649s # 649s # proxy_class = G_DBUS_PROXY_CLASS (klass); 649s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 649s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 649s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 649s # #endif 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new: 649s # * @connection: A #GDBusConnection. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 649s # * 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 649s # * 649s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 649s # */ 649s # void 649s # org_project_useful_interface_proxy_new ( 649s # GDBusConnection *connection, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # g_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); 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_finish: 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 649s # * @error: Return location for error or %NULL 649s # * 649s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_proxy_new_finish ( 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GObject *ret; 649s # GObject *source_object; 649s # source_object = g_async_result_get_source_object (res); 649s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 649s # g_object_unref (source_object); 649s # if (ret != NULL) 649s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_sync: 649s # * @connection: A #GDBusConnection. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL 649s # * 649s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 649s # * 649s # * The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_proxy_new_sync ( 649s # GDBusConnection *connection, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GInitable *ret; 649s # 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); 649s # if (ret != NULL) 649s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_for_bus: 649s # * @bus_type: A #GBusType. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: A bus name (well-known or unique). 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 649s # * 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 649s # * 649s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 649s # */ 649s # void 649s # org_project_useful_interface_proxy_new_for_bus ( 649s # GBusType bus_type, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # g_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); 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_for_bus_finish: 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 649s # * @error: Return location for error or %NULL 649s # * 649s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_proxy_new_for_bus_finish ( 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GObject *ret; 649s # GObject *source_object; 649s # source_object = g_async_result_get_source_object (res); 649s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 649s # g_object_unref (source_object); 649s # if (ret != NULL) 649s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_for_bus_sync: 649s # * @bus_type: A #GBusType. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: A bus name (well-known or unique). 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL 649s # * 649s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 649s # * 649s # * The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_proxy_new_for_bus_sync ( 649s # GBusType bus_type, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GInitable *ret; 649s # 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); 649s # if (ret != NULL) 649s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # 649s # /* ------------------------------------------------------------------------ */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceSkeleton: 649s # * 649s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 649s # */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceSkeletonClass: 649s # * @parent_class: The parent class. 649s # * 649s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 649s # */ 649s # 649s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 649s # { 649s # GValue *properties; 649s # GList *changed_properties; 649s # GSource *changed_properties_idle_source; 649s # GMainContext *context; 649s # GMutex lock; 649s # }; 649s # 649s # static void 649s # _org_project_useful_interface_skeleton_handle_method_call ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name, 649s # const gchar *method_name, 649s # GVariant *parameters, 649s # GDBusMethodInvocation *invocation, 649s # gpointer user_data) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 649s # _ExtendedGDBusMethodInfo *info; 649s # GVariantIter iter; 649s # GVariant *child; 649s # GValue *paramv; 649s # gsize num_params; 649s # guint num_extra; 649s # gsize n; 649s # guint signal_id; 649s # GValue return_value = G_VALUE_INIT; 649s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 649s # g_assert (info != NULL); 649s # num_params = g_variant_n_children (parameters); 649s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 649s # n = 0; 649s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 649s # g_value_set_object (¶mv[n++], skeleton); 649s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 649s # g_value_set_object (¶mv[n++], invocation); 649s # if (info->pass_fdlist) 649s # { 649s # #ifdef G_OS_UNIX 649s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 649s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 649s # #else 649s # g_assert_not_reached (); 649s # #endif 649s # } 649s # g_variant_iter_init (&iter, parameters); 649s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 649s # { 649s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 649s # if (arg_info->use_gvariant) 649s # { 649s # g_value_init (¶mv[n], G_TYPE_VARIANT); 649s # g_value_set_variant (¶mv[n], child); 649s # n++; 649s # } 649s # else 649s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 649s # g_variant_unref (child); 649s # } 649s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 649s # g_value_init (&return_value, G_TYPE_BOOLEAN); 649s # g_signal_emitv (paramv, signal_id, 0, &return_value); 649s # if (!g_value_get_boolean (&return_value)) 649s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 649s # g_value_unset (&return_value); 649s # for (n = 0; n < num_params + num_extra; n++) 649s # g_value_unset (¶mv[n]); 649s # g_free (paramv); 649s # } 649s # 649s # static GVariant * 649s # _org_project_useful_interface_skeleton_handle_get_property ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name G_GNUC_UNUSED, 649s # const gchar *property_name, 649s # GError **error, 649s # gpointer user_data) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 649s # GValue value = G_VALUE_INIT; 649s # GParamSpec *pspec; 649s # _ExtendedGDBusPropertyInfo *info; 649s # GVariant *ret; 649s # ret = NULL; 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 649s # g_assert (info != NULL); 649s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 649s # if (pspec == NULL) 649s # { 649s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 649s # } 649s # else 649s # { 649s # g_value_init (&value, pspec->value_type); 649s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 649s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 649s # g_value_unset (&value); 649s # } 649s # return ret; 649s # } 649s # 649s # static gboolean 649s # _org_project_useful_interface_skeleton_handle_set_property ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name G_GNUC_UNUSED, 649s # const gchar *property_name, 649s # GVariant *variant, 649s # GError **error, 649s # gpointer user_data) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 649s # GValue value = G_VALUE_INIT; 649s # GParamSpec *pspec; 649s # _ExtendedGDBusPropertyInfo *info; 649s # gboolean ret; 649s # ret = FALSE; 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 649s # g_assert (info != NULL); 649s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 649s # if (pspec == NULL) 649s # { 649s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 649s # } 649s # else 649s # { 649s # if (info->use_gvariant) 649s # g_value_set_variant (&value, variant); 649s # else 649s # g_dbus_gvariant_to_gvalue (variant, &value); 649s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 649s # g_value_unset (&value); 649s # ret = TRUE; 649s # } 649s # return ret; 649s # } 649s # 649s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 649s # { 649s # _org_project_useful_interface_skeleton_handle_method_call, 649s # _org_project_useful_interface_skeleton_handle_get_property, 649s # _org_project_useful_interface_skeleton_handle_set_property, 649s # {NULL} 649s # }; 649s # 649s # static GDBusInterfaceInfo * 649s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 649s # { 649s # return org_project_useful_interface_interface_info (); 649s # } 649s # 649s # static GDBusInterfaceVTable * 649s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 649s # { 649s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 649s # } 649s # 649s # static GVariant * 649s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 649s # 649s # GVariantBuilder builder; 649s # guint n; 649s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 649s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 649s # goto out; 649s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 649s # { 649s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 649s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 649s # { 649s # GVariant *value; 649s # 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); 649s # if (value != NULL) 649s # { 649s # g_variant_take_ref (value); 649s # g_variant_builder_add (&builder, "{sv}", info->name, value); 649s # g_variant_unref (value); 649s # } 649s # } 649s # } 649s # out: 649s # return g_variant_builder_end (&builder); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 649s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 649s # 649s # #else 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 649s # 649s # #endif 649s # static void 649s # org_project_useful_interface_skeleton_finalize (GObject *object) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 649s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 649s # if (skeleton->priv->changed_properties_idle_source != NULL) 649s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 649s # g_main_context_unref (skeleton->priv->context); 649s # g_mutex_clear (&skeleton->priv->lock); 649s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 649s # { 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 649s # #else 649s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 649s # #endif 649s # 649s # g_mutex_init (&skeleton->priv->lock); 649s # skeleton->priv->context = g_main_context_ref_thread_default (); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 649s # { 649s # GObjectClass *gobject_class; 649s # GDBusInterfaceSkeletonClass *skeleton_class; 649s # 649s # gobject_class = G_OBJECT_CLASS (klass); 649s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 649s # 649s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 649s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 649s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 649s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 649s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 649s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 649s # #endif 649s # } 649s # 649s # static void 649s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_skeleton_new: 649s # * 649s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_skeleton_new (void) 649s # { 649s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 649s # } 649s # /tmp/tmpy0e6khrq/tmp_07b6wk3.xml: 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy0e6khrq/tmp_07b6wk3.xml', '--output', '-', '--body'] 649s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 649s # Output: /* 649s # * This file is generated by gdbus-codegen, do not modify it. 649s # * 649s # * The license of this code is the same as for the D-Bus interface description 649s # * it was derived from. Note that it links to GLib, so must comply with the 649s # * LGPL linking clauses. 649s # */ 649s # 649s # #ifdef HAVE_CONFIG_H 649s # # include "config.h" 649s # #endif 649s # 649s # #include 649s # #ifdef G_OS_UNIX 649s # # include 649s # #endif 649s # 649s # #ifdef G_ENABLE_DEBUG 649s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 649s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 649s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 649s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 649s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 649s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 649s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 649s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 649s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 649s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 649s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 649s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 649s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 649s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 649s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 649s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 649s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 649s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 649s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 649s # #else /* !G_ENABLE_DEBUG */ 649s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 649s # * Do not access GValues directly in your code. Instead, use the 649s # * g_value_get_*() functions 649s # */ 649s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 649s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 649s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 649s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 649s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 649s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 649s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 649s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 649s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 649s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 649s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 649s # #endif /* !G_ENABLE_DEBUG */ 649s # 649s # typedef struct 649s # { 649s # GDBusArgInfo parent_struct; 649s # gboolean use_gvariant; 649s # } _ExtendedGDBusArgInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusMethodInfo parent_struct; 649s # const gchar *signal_name; 649s # gboolean pass_fdlist; 649s # } _ExtendedGDBusMethodInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusSignalInfo parent_struct; 649s # const gchar *signal_name; 649s # } _ExtendedGDBusSignalInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusPropertyInfo parent_struct; 649s # const gchar *hyphen_name; 649s # guint use_gvariant : 1; 649s # guint emits_changed_signal : 1; 649s # } _ExtendedGDBusPropertyInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusInterfaceInfo parent_struct; 649s # const gchar *hyphen_name; 649s # } _ExtendedGDBusInterfaceInfo; 649s # 649s # typedef struct 649s # { 649s # const _ExtendedGDBusPropertyInfo *info; 649s # guint prop_id; 649s # GValue orig_value; /* the value before the change */ 649s # } ChangedProperty; 649s # 649s # static void 649s # _changed_property_free (ChangedProperty *data) 649s # { 649s # g_value_unset (&data->orig_value); 649s # g_free (data); 649s # } 649s # 649s # static gboolean 649s # _g_strv_equal0 (gchar **a, gchar **b) 649s # { 649s # gboolean ret = FALSE; 649s # guint n; 649s # if (a == NULL && b == NULL) 649s # { 649s # ret = TRUE; 649s # goto out; 649s # } 649s # if (a == NULL || b == NULL) 649s # goto out; 649s # if (g_strv_length (a) != g_strv_length (b)) 649s # goto out; 649s # for (n = 0; a[n] != NULL; n++) 649s # if (g_strcmp0 (a[n], b[n]) != 0) 649s # goto out; 649s # ret = TRUE; 649s # out: 649s # return ret; 649s # } 649s # 649s # static gboolean 649s # _g_variant_equal0 (GVariant *a, GVariant *b) 649s # { 649s # gboolean ret = FALSE; 649s # if (a == NULL && b == NULL) 649s # { 649s # ret = TRUE; 649s # goto out; 649s # } 649s # if (a == NULL || b == NULL) 649s # goto out; 649s # ret = g_variant_equal (a, b); 649s # out: 649s # return ret; 649s # } 649s # 649s # G_GNUC_UNUSED static gboolean 649s # _g_value_equal (const GValue *a, const GValue *b) 649s # { 649s # gboolean ret = FALSE; 649s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 649s # switch (G_VALUE_TYPE (a)) 649s # { 649s # case G_TYPE_BOOLEAN: 649s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 649s # break; 649s # case G_TYPE_UCHAR: 649s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 649s # break; 649s # case G_TYPE_INT: 649s # ret = (g_value_get_int (a) == g_value_get_int (b)); 649s # break; 649s # case G_TYPE_UINT: 649s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 649s # break; 649s # case G_TYPE_INT64: 649s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 649s # break; 649s # case G_TYPE_UINT64: 649s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 649s # break; 649s # case G_TYPE_DOUBLE: 649s # { 649s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 649s # gdouble da = g_value_get_double (a); 649s # gdouble db = g_value_get_double (b); 649s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 649s # } 649s # break; 649s # case G_TYPE_STRING: 649s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 649s # break; 649s # case G_TYPE_VARIANT: 649s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 649s # break; 649s # default: 649s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 649s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 649s # else 649s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 649s # break; 649s # } 649s # return ret; 649s # } 649s # 649s # static void 649s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 649s # GClosure *closure, 649s # GValue *return_value, 649s # unsigned int n_param_values, 649s # const GValue *param_values, 649s # void *invocation_hint G_GNUC_UNUSED, 649s # void *marshal_data) 649s # { 649s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 649s # (void *data1, 649s # GDBusMethodInvocation *arg_method_invocation, 649s # void *data2); 649s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 649s # GCClosure *cc = (GCClosure*) closure; 649s # void *data1, *data2; 649s # gboolean v_return; 649s # 649s # g_return_if_fail (return_value != NULL); 649s # g_return_if_fail (n_param_values == 2); 649s # 649s # if (G_CCLOSURE_SWAP_DATA (closure)) 649s # { 649s # data1 = closure->data; 649s # data2 = g_value_peek_pointer (param_values + 0); 649s # } 649s # else 649s # { 649s # data1 = g_value_peek_pointer (param_values + 0); 649s # data2 = closure->data; 649s # } 649s # 649s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 649s # (marshal_data ? marshal_data : cc->callback); 649s # 649s # v_return = 649s # callback (data1, 649s # g_marshal_value_peek_object (param_values + 1), 649s # data2); 649s # 649s # g_value_set_boolean (return_value, v_return); 649s # } 649s # 649s # /* ------------------------------------------------------------------------ 649s # * Code for interface org.project.UsefulInterface 649s # * ------------------------------------------------------------------------ 649s # */ 649s # 649s # /** 649s # * SECTION:OrgProjectUsefulInterface 649s # * @title: OrgProjectUsefulInterface 649s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 649s # * 649s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 649s # */ 649s # 649s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 649s # { 649s # { 649s # -1, 649s # (gchar *) "arg_ao", 649s # (gchar *) "ao", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 649s # { 649s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 649s # { 649s # { 649s # -1, 649s # (gchar *) "SingleArgMethodAo", 649s # NULL, 649s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 649s # NULL 649s # }, 649s # "handle-single-arg-method-ao", 649s # FALSE 649s # }; 649s # 649s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 649s # { 649s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 649s # { 649s # { 649s # -1, 649s # (gchar *) "org.project.UsefulInterface", 649s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 649s # NULL, 649s # NULL, 649s # NULL 649s # }, 649s # "org-project-useful-interface", 649s # }; 649s # 649s # 649s # /** 649s # * org_project_useful_interface_interface_info: 649s # * 649s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 649s # * 649s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 649s # */ 649s # GDBusInterfaceInfo * 649s # org_project_useful_interface_interface_info (void) 649s # { 649s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_override_properties: 649s # * @klass: The class structure for a #GObject derived class. 649s # * @property_id_begin: The property id to assign to the first overridden property. 649s # * 649s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 649s # * The properties are overridden in the order they are defined. 649s # * 649s # * Returns: The last property id. 649s # */ 649s # guint 649s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 649s # { 649s # return property_id_begin - 1; 649s # } 649s # 649s # 649s # inline static void 649s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 649s # GClosure *closure, 649s # GValue *return_value, 649s # unsigned int n_param_values, 649s # const GValue *param_values, 649s # void *invocation_hint, 649s # void *marshal_data) 649s # { 649s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 649s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 649s # } 649s # 649s # 649s # /** 649s # * OrgProjectUsefulInterface: 649s # * 649s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 649s # */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceIface: 649s # * @parent_iface: The parent interface. 649s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 649s # * 649s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 649s # */ 649s # 649s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 649s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 649s # 649s # static void 649s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 649s # { 649s # /* GObject signals for incoming D-Bus method calls: */ 649s # /** 649s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 649s # * @object: A #OrgProjectUsefulInterface. 649s # * @invocation: A #GDBusMethodInvocation. 649s # * 649s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 649s # * 649s # * 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. 649s # * 649s # * 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. 649s # */ 649s # g_signal_new ("handle-single-arg-method-ao", 649s # G_TYPE_FROM_INTERFACE (iface), 649s # G_SIGNAL_RUN_LAST, 649s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 649s # g_signal_accumulator_true_handled, 649s # NULL, 649s # org_project_useful_interface_method_marshal_single_arg_method_ao, 649s # G_TYPE_BOOLEAN, 649s # 1, 649s # G_TYPE_DBUS_METHOD_INVOCATION); 649s # 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_call_single_arg_method_ao: 649s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 649s # * 649s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 649s # */ 649s # void 649s # org_project_useful_interface_call_single_arg_method_ao ( 649s # OrgProjectUsefulInterface *proxy, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 649s # "SingleArgMethodAo", 649s # g_variant_new ("()"), 649s # G_DBUS_CALL_FLAGS_NONE, 649s # -1, 649s # cancellable, 649s # callback, 649s # user_data); 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_call_single_arg_method_ao_finish: 649s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 649s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 649s # * @error: Return location for error or %NULL. 649s # * 649s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 649s # * 649s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 649s # */ 649s # gboolean 649s # org_project_useful_interface_call_single_arg_method_ao_finish ( 649s # OrgProjectUsefulInterface *proxy, 649s # gchar ***out_arg_ao, 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GVariant *_ret; 649s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 649s # if (_ret == NULL) 649s # goto _out; 649s # g_variant_get (_ret, 649s # "(^ao)", 649s # out_arg_ao); 649s # g_variant_unref (_ret); 649s # _out: 649s # return _ret != NULL; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_call_single_arg_method_ao_sync: 649s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 649s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL. 649s # * 649s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 649s # * 649s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 649s # */ 649s # gboolean 649s # org_project_useful_interface_call_single_arg_method_ao_sync ( 649s # OrgProjectUsefulInterface *proxy, 649s # gchar ***out_arg_ao, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GVariant *_ret; 649s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 649s # "SingleArgMethodAo", 649s # g_variant_new ("()"), 649s # G_DBUS_CALL_FLAGS_NONE, 649s # -1, 649s # cancellable, 649s # error); 649s # if (_ret == NULL) 649s # goto _out; 649s # g_variant_get (_ret, 649s # "(^ao)", 649s # out_arg_ao); 649s # g_variant_unref (_ret); 649s # _out: 649s # return _ret != NULL; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_complete_single_arg_method_ao: 649s # * @object: A #OrgProjectUsefulInterface. 649s # * @invocation: (transfer full): A #GDBusMethodInvocation. 649s # * @arg_ao: Parameter to return. 649s # * 649s # * 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. 649s # * 649s # * This method will free @invocation, you cannot use it afterwards. 649s # */ 649s # void 649s # org_project_useful_interface_complete_single_arg_method_ao ( 649s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 649s # GDBusMethodInvocation *invocation, 649s # const gchar *const *arg_ao) 649s # { 649s # g_dbus_method_invocation_return_value (invocation, 649s # g_variant_new ("(^ao)", 649s # arg_ao)); 649s # } 649s # 649s # /* ------------------------------------------------------------------------ */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceProxy: 649s # * 649s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 649s # */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceProxyClass: 649s # * @parent_class: The parent class. 649s # * 649s # * Class structure for #OrgProjectUsefulInterfaceProxy. 649s # */ 649s # 649s # struct _OrgProjectUsefulInterfaceProxyPrivate 649s # { 649s # GData *qdata; 649s # }; 649s # 649s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 649s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 649s # 649s # #else 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 649s # 649s # #endif 649s # static void 649s # org_project_useful_interface_proxy_finalize (GObject *object) 649s # { 649s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 649s # g_datalist_clear (&proxy->priv->qdata); 649s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 649s # guint prop_id G_GNUC_UNUSED, 649s # GValue *value G_GNUC_UNUSED, 649s # GParamSpec *pspec G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 649s # guint prop_id G_GNUC_UNUSED, 649s # const GValue *value G_GNUC_UNUSED, 649s # GParamSpec *pspec G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 649s # const gchar *sender_name G_GNUC_UNUSED, 649s # const gchar *signal_name, 649s # GVariant *parameters) 649s # { 649s # _ExtendedGDBusSignalInfo *info; 649s # GVariantIter iter; 649s # GVariant *child; 649s # GValue *paramv; 649s # gsize num_params; 649s # gsize n; 649s # guint signal_id; 649s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 649s # if (info == NULL) 649s # return; 649s # num_params = g_variant_n_children (parameters); 649s # paramv = g_new0 (GValue, num_params + 1); 649s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 649s # g_value_set_object (¶mv[0], proxy); 649s # g_variant_iter_init (&iter, parameters); 649s # n = 1; 649s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 649s # { 649s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 649s # if (arg_info->use_gvariant) 649s # { 649s # g_value_init (¶mv[n], G_TYPE_VARIANT); 649s # g_value_set_variant (¶mv[n], child); 649s # n++; 649s # } 649s # else 649s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 649s # g_variant_unref (child); 649s # } 649s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 649s # g_signal_emitv (paramv, signal_id, 0, NULL); 649s # for (n = 0; n < num_params + 1; n++) 649s # g_value_unset (¶mv[n]); 649s # g_free (paramv); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 649s # GVariant *changed_properties, 649s # const gchar *const *invalidated_properties) 649s # { 649s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 649s # guint n; 649s # const gchar *key; 649s # GVariantIter *iter; 649s # _ExtendedGDBusPropertyInfo *info; 649s # g_variant_get (changed_properties, "a{sv}", &iter); 649s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 649s # { 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 649s # g_datalist_remove_data (&proxy->priv->qdata, key); 649s # if (info != NULL) 649s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 649s # } 649s # g_variant_iter_free (iter); 649s # for (n = 0; invalidated_properties[n] != NULL; n++) 649s # { 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 649s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 649s # if (info != NULL) 649s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 649s # } 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 649s # { 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 649s # #else 649s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 649s # #endif 649s # 649s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 649s # { 649s # GObjectClass *gobject_class; 649s # GDBusProxyClass *proxy_class; 649s # 649s # gobject_class = G_OBJECT_CLASS (klass); 649s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 649s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 649s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 649s # 649s # proxy_class = G_DBUS_PROXY_CLASS (klass); 649s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 649s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 649s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 649s # #endif 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new: 649s # * @connection: A #GDBusConnection. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 649s # * 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 649s # * 649s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 649s # */ 649s # void 649s # org_project_useful_interface_proxy_new ( 649s # GDBusConnection *connection, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # g_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); 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_finish: 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 649s # * @error: Return location for error or %NULL 649s # * 649s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_proxy_new_finish ( 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GObject *ret; 649s # GObject *source_object; 649s # source_object = g_async_result_get_source_object (res); 649s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 649s # g_object_unref (source_object); 649s # if (ret != NULL) 649s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_sync: 649s # * @connection: A #GDBusConnection. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL 649s # * 649s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 649s # * 649s # * The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_proxy_new_sync ( 649s # GDBusConnection *connection, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GInitable *ret; 649s # 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); 649s # if (ret != NULL) 649s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_for_bus: 649s # * @bus_type: A #GBusType. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: A bus name (well-known or unique). 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 649s # * 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 649s # * 649s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 649s # */ 649s # void 649s # org_project_useful_interface_proxy_new_for_bus ( 649s # GBusType bus_type, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # g_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); 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_for_bus_finish: 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 649s # * @error: Return location for error or %NULL 649s # * 649s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_proxy_new_for_bus_finish ( 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GObject *ret; 649s # GObject *source_object; 649s # source_object = g_async_result_get_source_object (res); 649s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 649s # g_object_unref (source_object); 649s # if (ret != NULL) 649s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_for_bus_sync: 649s # * @bus_type: A #GBusType. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: A bus name (well-known or unique). 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL 649s # * 649s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 649s # * 649s # * The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_proxy_new_for_bus_sync ( 649s # GBusType bus_type, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GInitable *ret; 649s # 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); 649s # if (ret != NULL) 649s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # 649s # /* ------------------------------------------------------------------------ */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceSkeleton: 649s # * 649s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 649s # */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceSkeletonClass: 649s # * @parent_class: The parent class. 649s # * 649s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 649s # */ 649s # 649s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 649s # { 649s # GValue *properties; 649s # GList *changed_properties; 649s # GSource *changed_properties_idle_source; 649s # GMainContext *context; 649s # GMutex lock; 649s # }; 649s # 649s # static void 649s # _org_project_useful_interface_skeleton_handle_method_call ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name, 649s # const gchar *method_name, 649s # GVariant *parameters, 649s # GDBusMethodInvocation *invocation, 649s # gpointer user_data) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 649s # _ExtendedGDBusMethodInfo *info; 649s # GVariantIter iter; 649s # GVariant *child; 649s # GValue *paramv; 649s # gsize num_params; 649s # guint num_extra; 649s # gsize n; 649s # guint signal_id; 649s # GValue return_value = G_VALUE_INIT; 649s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 649s # g_assert (info != NULL); 649s # num_params = g_variant_n_children (parameters); 649s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 649s # n = 0; 649s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 649s # g_value_set_object (¶mv[n++], skeleton); 649s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 649s # g_value_set_object (¶mv[n++], invocation); 649s # if (info->pass_fdlist) 649s # { 649s # #ifdef G_OS_UNIX 649s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 649s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 649s # #else 649s # g_assert_not_reached (); 649s # #endif 649s # } 649s # g_variant_iter_init (&iter, parameters); 649s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 649s # { 649s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 649s # if (arg_info->use_gvariant) 649s # { 649s # g_value_init (¶mv[n], G_TYPE_VARIANT); 649s # g_value_set_variant (¶mv[n], child); 649s # n++; 649s # } 649s # else 649s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 649s # g_variant_unref (child); 649s # } 649s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 649s # g_value_init (&return_value, G_TYPE_BOOLEAN); 649s # g_signal_emitv (paramv, signal_id, 0, &return_value); 649s # if (!g_value_get_boolean (&return_value)) 649s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 649s # g_value_unset (&return_value); 649s # for (n = 0; n < num_params + num_extra; n++) 649s # g_value_unset (¶mv[n]); 649s # g_free (paramv); 649s # } 649s # 649s # static GVariant * 649s # _org_project_useful_interface_skeleton_handle_get_property ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name G_GNUC_UNUSED, 649s # const gchar *property_name, 649s # GError **error, 649s # gpointer user_data) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 649s # GValue value = G_VALUE_INIT; 649s # GParamSpec *pspec; 649s # _ExtendedGDBusPropertyInfo *info; 649s # GVariant *ret; 649s # ret = NULL; 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 649s # g_assert (info != NULL); 649s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 649s # if (pspec == NULL) 649s # { 649s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 649s # } 649s # else 649s # { 649s # g_value_init (&value, pspec->value_type); 649s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 649s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 649s # g_value_unset (&value); 649s # } 649s # return ret; 649s # } 649s # 649s # static gboolean 649s # _org_project_useful_interface_skeleton_handle_set_property ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name G_GNUC_UNUSED, 649s # const gchar *property_name, 649s # GVariant *variant, 649s # GError **error, 649s # gpointer user_data) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 649s # GValue value = G_VALUE_INIT; 649s # GParamSpec *pspec; 649s # _ExtendedGDBusPropertyInfo *info; 649s # gboolean ret; 649s # ret = FALSE; 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 649s # g_assert (info != NULL); 649s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 649s # if (pspec == NULL) 649s # { 649s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 649s # } 649s # else 649s # { 649s # if (info->use_gvariant) 649s # g_value_set_variant (&value, variant); 649s # else 649s # g_dbus_gvariant_to_gvalue (variant, &value); 649s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 649s # g_value_unset (&value); 649s # ret = TRUE; 649s # } 649s # return ret; 649s # } 649s # 649s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 649s # { 649s # _org_project_useful_interface_skeleton_handle_method_call, 649s # _org_project_useful_interface_skeleton_handle_get_property, 649s # _org_project_useful_interface_skeleton_handle_set_property, 649s # {NULL} 649s # }; 649s # 649s # static GDBusInterfaceInfo * 649s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 649s # { 649s # return org_project_useful_interface_interface_info (); 649s # } 649s # 649s # static GDBusInterfaceVTable * 649s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 649s # { 649s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 649s # } 649s # 649s # static GVariant * 649s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 649s # 649s # GVariantBuilder builder; 649s # guint n; 649s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 649s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 649s # goto out; 649s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 649s # { 649s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 649s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 649s # { 649s # GVariant *value; 649s # 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); 649s # if (value != NULL) 649s # { 649s # g_variant_take_ref (value); 649s # g_variant_builder_add (&builder, "{sv}", info->name, value); 649s # g_variant_unref (value); 649s # } 649s # } 649s # } 649s # out: 649s # return g_variant_builder_end (&builder); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 649s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 649s # 649s # #else 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 649s # 649s # #endif 649s # static void 649s # org_project_useful_interface_skeleton_finalize (GObject *object) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 649s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 649s # if (skeleton->priv->changed_properties_idle_source != NULL) 649s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 649s # g_main_context_unref (skeleton->priv->context); 649s # g_mutex_clear (&skeleton->priv->lock); 649s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 649s # { 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 649s # #else 649s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 649s # #endif 649s # 649s # g_mutex_init (&skeleton->priv->lock); 649s # skeleton->priv->context = g_main_context_ref_thread_default (); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 649s # { 649s # GObjectClass *gobject_class; 649s # GDBusInterfaceSkeletonClass *skeleton_class; 649s # 649s # gobject_class = G_OBJECT_CLASS (klass); 649s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 649s # 649s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 649s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 649s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 649s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 649s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 649s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 649s # #endif 649s # } 649s # 649s # static void 649s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_skeleton_new: 649s # * 649s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_skeleton_new (void) 649s # { 649s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 649s # } 649s # /tmp/tmpy0e6khrq/tmpx_ktsv54.xml: 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy0e6khrq/tmpx_ktsv54.xml', '--output', '-', '--body'] 649s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 649s # Output: /* 649s # * This file is generated by gdbus-codegen, do not modify it. 649s # * 649s # * The license of this code is the same as for the D-Bus interface description 649s # * it was derived from. Note that it links to GLib, so must comply with the 649s # * LGPL linking clauses. 649s # */ 649s # 649s # #ifdef HAVE_CONFIG_H 649s # # include "config.h" 649s # #endif 649s # 649s # #include 649s # #ifdef G_OS_UNIX 649s # # include 649s # #endif 649s # 649s # #ifdef G_ENABLE_DEBUG 649s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 649s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 649s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 649s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 649s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 649s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 649s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 649s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 649s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 649s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 649s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 649s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 649s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 649s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 649s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 649s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 649s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 649s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 649s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 649s # #else /* !G_ENABLE_DEBUG */ 649s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 649s # * Do not access GValues directly in your code. Instead, use the 649s # * g_value_get_*() functions 649s # */ 649s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 649s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 649s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 649s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 649s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 649s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 649s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 649s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 649s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 649s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 649s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 649s # #endif /* !G_ENABLE_DEBUG */ 649s # 649s # typedef struct 649s # { 649s # GDBusArgInfo parent_struct; 649s # gboolean use_gvariant; 649s # } _ExtendedGDBusArgInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusMethodInfo parent_struct; 649s # const gchar *signal_name; 649s # gboolean pass_fdlist; 649s # } _ExtendedGDBusMethodInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusSignalInfo parent_struct; 649s # const gchar *signal_name; 649s # } _ExtendedGDBusSignalInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusPropertyInfo parent_struct; 649s # const gchar *hyphen_name; 649s # guint use_gvariant : 1; 649s # guint emits_changed_signal : 1; 649s # } _ExtendedGDBusPropertyInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusInterfaceInfo parent_struct; 649s # const gchar *hyphen_name; 649s # } _ExtendedGDBusInterfaceInfo; 649s # 649s # typedef struct 649s # { 649s # const _ExtendedGDBusPropertyInfo *info; 649s # guint prop_id; 649s # GValue orig_value; /* the value before the change */ 649s # } ChangedProperty; 649s # 649s # static void 649s # _changed_property_free (ChangedProperty *data) 649s # { 649s # g_value_unset (&data->orig_value); 649s # g_free (data); 649s # } 649s # 649s # static gboolean 649s # _g_strv_equal0 (gchar **a, gchar **b) 649s # { 649s # gboolean ret = FALSE; 649s # guint n; 649s # if (a == NULL && b == NULL) 649s # { 649s # ret = TRUE; 649s # goto out; 649s # } 649s # if (a == NULL || b == NULL) 649s # goto out; 649s # if (g_strv_length (a) != g_strv_length (b)) 649s # goto out; 649s # for (n = 0; a[n] != NULL; n++) 649s # if (g_strcmp0 (a[n], b[n]) != 0) 649s # goto out; 649s # ret = TRUE; 649s # out: 649s # return ret; 649s # } 649s # 649s # static gboolean 649s # _g_variant_equal0 (GVariant *a, GVariant *b) 649s # { 649s # gboolean ret = FALSE; 649s # if (a == NULL && b == NULL) 649s # { 649s # ret = TRUE; 649s # goto out; 649s # } 649s # if (a == NULL || b == NULL) 649s # goto out; 649s # ret = g_variant_equal (a, b); 649s # out: 649s # return ret; 649s # } 649s # 649s # G_GNUC_UNUSED static gboolean 649s # _g_value_equal (const GValue *a, const GValue *b) 649s # { 649s # gboolean ret = FALSE; 649s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 649s # switch (G_VALUE_TYPE (a)) 649s # { 649s # case G_TYPE_BOOLEAN: 649s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 649s # break; 649s # case G_TYPE_UCHAR: 649s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 649s # break; 649s # case G_TYPE_INT: 649s # ret = (g_value_get_int (a) == g_value_get_int (b)); 649s # break; 649s # case G_TYPE_UINT: 649s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 649s # break; 649s # case G_TYPE_INT64: 649s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 649s # break; 649s # case G_TYPE_UINT64: 649s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 649s # break; 649s # case G_TYPE_DOUBLE: 649s # { 649s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 649s # gdouble da = g_value_get_double (a); 649s # gdouble db = g_value_get_double (b); 649s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 649s # } 649s # break; 649s # case G_TYPE_STRING: 649s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 649s # break; 649s # case G_TYPE_VARIANT: 649s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 649s # break; 649s # default: 649s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 649s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 649s # else 649s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 649s # break; 649s # } 649s # return ret; 649s # } 649s # 649s # static void 649s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 649s # GClosure *closure, 649s # GValue *return_value, 649s # unsigned int n_param_values, 649s # const GValue *param_values, 649s # void *invocation_hint G_GNUC_UNUSED, 649s # void *marshal_data) 649s # { 649s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 649s # (void *data1, 649s # GDBusMethodInvocation *arg_method_invocation, 649s # void *data2); 649s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 649s # GCClosure *cc = (GCClosure*) closure; 649s # void *data1, *data2; 649s # gboolean v_return; 649s # 649s # g_return_if_fail (return_value != NULL); 649s # g_return_if_fail (n_param_values == 2); 649s # 649s # if (G_CCLOSURE_SWAP_DATA (closure)) 649s # { 649s # data1 = closure->data; 649s # data2 = g_value_peek_pointer (param_values + 0); 649s # } 649s # else 649s # { 649s # data1 = g_value_peek_pointer (param_values + 0); 649s # data2 = closure->data; 649s # } 649s # 649s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 649s # (marshal_data ? marshal_data : cc->callback); 649s # 649s # v_return = 649s # callback (data1, 649s # g_marshal_value_peek_object (param_values + 1), 649s # data2); 649s # 649s # g_value_set_boolean (return_value, v_return); 649s # } 649s # 649s # /* ------------------------------------------------------------------------ 649s # * Code for interface org.project.UsefulInterface 649s # * ------------------------------------------------------------------------ 649s # */ 649s # 649s # /** 649s # * SECTION:OrgProjectUsefulInterface 649s # * @title: OrgProjectUsefulInterface 649s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 649s # * 649s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 649s # */ 649s # 649s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 649s # { 649s # { 649s # -1, 649s # (gchar *) "arg_aay", 649s # (gchar *) "aay", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 649s # { 649s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 649s # { 649s # { 649s # -1, 649s # (gchar *) "SingleArgMethodAay", 649s # NULL, 649s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 649s # NULL 649s # }, 649s # "handle-single-arg-method-aay", 649s # FALSE 649s # }; 649s # 649s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 649s # { 649s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 649s # { 649s # { 649s # -1, 649s # (gchar *) "org.project.UsefulInterface", 649s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 649s # NULL, 649s # NULL, 649s # NULL 649s # }, 649s # "org-project-useful-interface", 649s # }; 649s # 649s # 649s # /** 649s # * org_project_useful_interface_interface_info: 649s # * 649s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 649s # * 649s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 649s # */ 649s # GDBusInterfaceInfo * 649s # org_project_useful_interface_interface_info (void) 649s # { 649s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_override_properties: 649s # * @klass: The class structure for a #GObject derived class. 649s # * @property_id_begin: The property id to assign to the first overridden property. 649s # * 649s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 649s # * The properties are overridden in the order they are defined. 649s # * 649s # * Returns: The last property id. 649s # */ 649s # guint 649s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 649s # { 649s # return property_id_begin - 1; 649s # } 649s # 649s # 649s # inline static void 649s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 649s # GClosure *closure, 649s # GValue *return_value, 649s # unsigned int n_param_values, 649s # const GValue *param_values, 649s # void *invocation_hint, 649s # void *marshal_data) 649s # { 649s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 649s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 649s # } 649s # 649s # 649s # /** 649s # * OrgProjectUsefulInterface: 649s # * 649s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 649s # */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceIface: 649s # * @parent_iface: The parent interface. 649s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 649s # * 649s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 649s # */ 649s # 649s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 649s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 649s # 649s # static void 649s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 649s # { 649s # /* GObject signals for incoming D-Bus method calls: */ 649s # /** 649s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 649s # * @object: A #OrgProjectUsefulInterface. 649s # * @invocation: A #GDBusMethodInvocation. 649s # * 649s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 649s # * 649s # * 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. 649s # * 649s # * 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. 649s # */ 649s # g_signal_new ("handle-single-arg-method-aay", 649s # G_TYPE_FROM_INTERFACE (iface), 649s # G_SIGNAL_RUN_LAST, 649s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 649s # g_signal_accumulator_true_handled, 649s # NULL, 649s # org_project_useful_interface_method_marshal_single_arg_method_aay, 649s # G_TYPE_BOOLEAN, 649s # 1, 649s # G_TYPE_DBUS_METHOD_INVOCATION); 649s # 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_call_single_arg_method_aay: 649s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 649s # * 649s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 649s # */ 649s # void 649s # org_project_useful_interface_call_single_arg_method_aay ( 649s # OrgProjectUsefulInterface *proxy, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 649s # "SingleArgMethodAay", 649s # g_variant_new ("()"), 649s # G_DBUS_CALL_FLAGS_NONE, 649s # -1, 649s # cancellable, 649s # callback, 649s # user_data); 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_call_single_arg_method_aay_finish: 649s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 649s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 649s # * @error: Return location for error or %NULL. 649s # * 649s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 649s # * 649s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 649s # */ 649s # gboolean 649s # org_project_useful_interface_call_single_arg_method_aay_finish ( 649s # OrgProjectUsefulInterface *proxy, 649s # gchar ***out_arg_aay, 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GVariant *_ret; 649s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 649s # if (_ret == NULL) 649s # goto _out; 649s # g_variant_get (_ret, 649s # "(^aay)", 649s # out_arg_aay); 649s # g_variant_unref (_ret); 649s # _out: 649s # return _ret != NULL; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_call_single_arg_method_aay_sync: 649s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 649s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL. 649s # * 649s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 649s # * 649s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 649s # */ 649s # gboolean 649s # org_project_useful_interface_call_single_arg_method_aay_sync ( 649s # OrgProjectUsefulInterface *proxy, 649s # gchar ***out_arg_aay, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GVariant *_ret; 649s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 649s # "SingleArgMethodAay", 649s # g_variant_new ("()"), 649s # G_DBUS_CALL_FLAGS_NONE, 649s # -1, 649s # cancellable, 649s # error); 649s # if (_ret == NULL) 649s # goto _out; 649s # g_variant_get (_ret, 649s # "(^aay)", 649s # out_arg_aay); 649s # g_variant_unref (_ret); 649s # _out: 649s # return _ret != NULL; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_complete_single_arg_method_aay: 649s # * @object: A #OrgProjectUsefulInterface. 649s # * @invocation: (transfer full): A #GDBusMethodInvocation. 649s # * @arg_aay: Parameter to return. 649s # * 649s # * 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. 649s # * 649s # * This method will free @invocation, you cannot use it afterwards. 649s # */ 649s # void 649s # org_project_useful_interface_complete_single_arg_method_aay ( 649s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 649s # GDBusMethodInvocation *invocation, 649s # const gchar *const *arg_aay) 649s # { 649s # g_dbus_method_invocation_return_value (invocation, 649s # g_variant_new ("(^aay)", 649s # arg_aay)); 649s # } 649s # 649s # /* ------------------------------------------------------------------------ */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceProxy: 649s # * 649s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 649s # */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceProxyClass: 649s # * @parent_class: The parent class. 649s # * 649s # * Class structure for #OrgProjectUsefulInterfaceProxy. 649s # */ 649s # 649s # struct _OrgProjectUsefulInterfaceProxyPrivate 649s # { 649s # GData *qdata; 649s # }; 649s # 649s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 649s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 649s # 649s # #else 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 649s # 649s # #endif 649s # static void 649s # org_project_useful_interface_proxy_finalize (GObject *object) 649s # { 649s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 649s # g_datalist_clear (&proxy->priv->qdata); 649s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 649s # guint prop_id G_GNUC_UNUSED, 649s # GValue *value G_GNUC_UNUSED, 649s # GParamSpec *pspec G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 649s # guint prop_id G_GNUC_UNUSED, 649s # const GValue *value G_GNUC_UNUSED, 649s # GParamSpec *pspec G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 649s # const gchar *sender_name G_GNUC_UNUSED, 649s # const gchar *signal_name, 649s # GVariant *parameters) 649s # { 649s # _ExtendedGDBusSignalInfo *info; 649s # GVariantIter iter; 649s # GVariant *child; 649s # GValue *paramv; 649s # gsize num_params; 649s # gsize n; 649s # guint signal_id; 649s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 649s # if (info == NULL) 649s # return; 649s # num_params = g_variant_n_children (parameters); 649s # paramv = g_new0 (GValue, num_params + 1); 649s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 649s # g_value_set_object (¶mv[0], proxy); 649s # g_variant_iter_init (&iter, parameters); 649s # n = 1; 649s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 649s # { 649s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 649s # if (arg_info->use_gvariant) 649s # { 649s # g_value_init (¶mv[n], G_TYPE_VARIANT); 649s # g_value_set_variant (¶mv[n], child); 649s # n++; 649s # } 649s # else 649s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 649s # g_variant_unref (child); 649s # } 649s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 649s # g_signal_emitv (paramv, signal_id, 0, NULL); 649s # for (n = 0; n < num_params + 1; n++) 649s # g_value_unset (¶mv[n]); 649s # g_free (paramv); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 649s # GVariant *changed_properties, 649s # const gchar *const *invalidated_properties) 649s # { 649s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 649s # guint n; 649s # const gchar *key; 649s # GVariantIter *iter; 649s # _ExtendedGDBusPropertyInfo *info; 649s # g_variant_get (changed_properties, "a{sv}", &iter); 649s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 649s # { 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 649s # g_datalist_remove_data (&proxy->priv->qdata, key); 649s # if (info != NULL) 649s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 649s # } 649s # g_variant_iter_free (iter); 649s # for (n = 0; invalidated_properties[n] != NULL; n++) 649s # { 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 649s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 649s # if (info != NULL) 649s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 649s # } 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 649s # { 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 649s # #else 649s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 649s # #endif 649s # 649s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 649s # { 649s # GObjectClass *gobject_class; 649s # GDBusProxyClass *proxy_class; 649s # 649s # gobject_class = G_OBJECT_CLASS (klass); 649s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 649s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 649s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 649s # 649s # proxy_class = G_DBUS_PROXY_CLASS (klass); 649s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 649s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 649s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 649s # #endif 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new: 649s # * @connection: A #GDBusConnection. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 649s # * 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 649s # * 649s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 649s # */ 649s # void 649s # org_project_useful_interface_proxy_new ( 649s # GDBusConnection *connection, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # g_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); 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_finish: 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 649s # * @error: Return location for error or %NULL 649s # * 649s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_proxy_new_finish ( 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GObject *ret; 649s # GObject *source_object; 649s # source_object = g_async_result_get_source_object (res); 649s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 649s # g_object_unref (source_object); 649s # if (ret != NULL) 649s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_sync: 649s # * @connection: A #GDBusConnection. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL 649s # * 649s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 649s # * 649s # * The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_proxy_new_sync ( 649s # GDBusConnection *connection, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GInitable *ret; 649s # 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); 649s # if (ret != NULL) 649s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_for_bus: 649s # * @bus_type: A #GBusType. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: A bus name (well-known or unique). 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 649s # * 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 649s # * 649s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 649s # */ 649s # void 649s # org_project_useful_interface_proxy_new_for_bus ( 649s # GBusType bus_type, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # g_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); 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_for_bus_finish: 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 649s # * @error: Return location for error or %NULL 649s # * 649s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_proxy_new_for_bus_finish ( 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GObject *ret; 649s # GObject *source_object; 649s # source_object = g_async_result_get_source_object (res); 649s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 649s # g_object_unref (source_object); 649s # if (ret != NULL) 649s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_for_bus_sync: 649s # * @bus_type: A #GBusType. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: A bus name (well-known or unique). 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL 649s # * 649s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 649s # * 649s # * The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_proxy_new_for_bus_sync ( 649s # GBusType bus_type, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GInitable *ret; 649s # 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); 649s # if (ret != NULL) 649s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # 649s # /* ------------------------------------------------------------------------ */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceSkeleton: 649s # * 649s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 649s # */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceSkeletonClass: 649s # * @parent_class: The parent class. 649s # * 649s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 649s # */ 649s # 649s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 649s # { 649s # GValue *properties; 649s # GList *changed_properties; 649s # GSource *changed_properties_idle_source; 649s # GMainContext *context; 649s # GMutex lock; 649s # }; 649s # 649s # static void 649s # _org_project_useful_interface_skeleton_handle_method_call ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name, 649s # const gchar *method_name, 649s # GVariant *parameters, 649s # GDBusMethodInvocation *invocation, 649s # gpointer user_data) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 649s # _ExtendedGDBusMethodInfo *info; 649s # GVariantIter iter; 649s # GVariant *child; 649s # GValue *paramv; 649s # gsize num_params; 649s # guint num_extra; 649s # gsize n; 649s # guint signal_id; 649s # GValue return_value = G_VALUE_INIT; 649s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 649s # g_assert (info != NULL); 649s # num_params = g_variant_n_children (parameters); 649s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 649s # n = 0; 649s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 649s # g_value_set_object (¶mv[n++], skeleton); 649s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 649s # g_value_set_object (¶mv[n++], invocation); 649s # if (info->pass_fdlist) 649s # { 649s # #ifdef G_OS_UNIX 649s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 649s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 649s # #else 649s # g_assert_not_reached (); 649s # #endif 649s # } 649s # g_variant_iter_init (&iter, parameters); 649s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 649s # { 649s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 649s # if (arg_info->use_gvariant) 649s # { 649s # g_value_init (¶mv[n], G_TYPE_VARIANT); 649s # g_value_set_variant (¶mv[n], child); 649s # n++; 649s # } 649s # else 649s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 649s # g_variant_unref (child); 649s # } 649s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 649s # g_value_init (&return_value, G_TYPE_BOOLEAN); 649s # g_signal_emitv (paramv, signal_id, 0, &return_value); 649s # if (!g_value_get_boolean (&return_value)) 649s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 649s # g_value_unset (&return_value); 649s # for (n = 0; n < num_params + num_extra; n++) 649s # g_value_unset (¶mv[n]); 649s # g_free (paramv); 649s # } 649s # 649s # static GVariant * 649s # _org_project_useful_interface_skeleton_handle_get_property ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name G_GNUC_UNUSED, 649s # const gchar *property_name, 649s # GError **error, 649s # gpointer user_data) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 649s # GValue value = G_VALUE_INIT; 649s # GParamSpec *pspec; 649s # _ExtendedGDBusPropertyInfo *info; 649s # GVariant *ret; 649s # ret = NULL; 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 649s # g_assert (info != NULL); 649s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 649s # if (pspec == NULL) 649s # { 649s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 649s # } 649s # else 649s # { 649s # g_value_init (&value, pspec->value_type); 649s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 649s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 649s # g_value_unset (&value); 649s # } 649s # return ret; 649s # } 649s # 649s # static gboolean 649s # _org_project_useful_interface_skeleton_handle_set_property ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name G_GNUC_UNUSED, 649s # const gchar *property_name, 649s # GVariant *variant, 649s # GError **error, 649s # gpointer user_data) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 649s # GValue value = G_VALUE_INIT; 649s # GParamSpec *pspec; 649s # _ExtendedGDBusPropertyInfo *info; 649s # gboolean ret; 649s # ret = FALSE; 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 649s # g_assert (info != NULL); 649s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 649s # if (pspec == NULL) 649s # { 649s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 649s # } 649s # else 649s # { 649s # if (info->use_gvariant) 649s # g_value_set_variant (&value, variant); 649s # else 649s # g_dbus_gvariant_to_gvalue (variant, &value); 649s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 649s # g_value_unset (&value); 649s # ret = TRUE; 649s # } 649s # return ret; 649s # } 649s # 649s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 649s # { 649s # _org_project_useful_interface_skeleton_handle_method_call, 649s # _org_project_useful_interface_skeleton_handle_get_property, 649s # _org_project_useful_interface_skeleton_handle_set_property, 649s # {NULL} 649s # }; 649s # 649s # static GDBusInterfaceInfo * 649s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 649s # { 649s # return org_project_useful_interface_interface_info (); 649s # } 649s # 649s # static GDBusInterfaceVTable * 649s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 649s # { 649s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 649s # } 649s # 649s # static GVariant * 649s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 649s # 649s # GVariantBuilder builder; 649s # guint n; 649s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 649s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 649s # goto out; 649s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 649s # { 649s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 649s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 649s # { 649s # GVariant *value; 649s # 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); 649s # if (value != NULL) 649s # { 649s # g_variant_take_ref (value); 649s # g_variant_builder_add (&builder, "{sv}", info->name, value); 649s # g_variant_unref (value); 649s # } 649s # } 649s # } 649s # out: 649s # return g_variant_builder_end (&builder); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 649s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 649s # 649s # #else 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 649s # 649s # #endif 649s # static void 649s # org_project_useful_interface_skeleton_finalize (GObject *object) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 649s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 649s # if (skeleton->priv->changed_properties_idle_source != NULL) 649s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 649s # g_main_context_unref (skeleton->priv->context); 649s # g_mutex_clear (&skeleton->priv->lock); 649s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 649s # { 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 649s # #else 649s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 649s # #endif 649s # 649s # g_mutex_init (&skeleton->priv->lock); 649s # skeleton->priv->context = g_main_context_ref_thread_default (); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 649s # { 649s # GObjectClass *gobject_class; 649s # GDBusInterfaceSkeletonClass *skeleton_class; 649s # 649s # gobject_class = G_OBJECT_CLASS (klass); 649s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 649s # 649s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 649s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 649s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 649s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 649s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 649s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 649s # #endif 649s # } 649s # 649s # static void 649s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_skeleton_new: 649s # * 649s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_skeleton_new (void) 649s # { 649s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 649s # } 649s # /tmp/tmpy0e6khrq/tmp39u7eh8s.xml: 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy0e6khrq/tmp39u7eh8s.xml', '--output', '-', '--body'] 649s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 649s # Output: /* 649s # * This file is generated by gdbus-codegen, do not modify it. 649s # * 649s # * The license of this code is the same as for the D-Bus interface description 649s # * it was derived from. Note that it links to GLib, so must comply with the 649s # * LGPL linking clauses. 649s # */ 649s # 649s # #ifdef HAVE_CONFIG_H 649s # # include "config.h" 649s # #endif 649s # 649s # #include 649s # #ifdef G_OS_UNIX 649s # # include 649s # #endif 649s # 649s # #ifdef G_ENABLE_DEBUG 649s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 649s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 649s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 649s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 649s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 649s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 649s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 649s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 649s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 649s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 649s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 649s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 649s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 649s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 649s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 649s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 649s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 649s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 649s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 649s # #else /* !G_ENABLE_DEBUG */ 649s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 649s # * Do not access GValues directly in your code. Instead, use the 649s # * g_value_get_*() functions 649s # */ 649s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 649s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 649s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 649s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 649s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 649s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 649s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 649s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 649s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 649s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 649s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 649s # #endif /* !G_ENABLE_DEBUG */ 649s # 649s # typedef struct 649s # { 649s # GDBusArgInfo parent_struct; 649s # gboolean use_gvariant; 649s # } _ExtendedGDBusArgInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusMethodInfo parent_struct; 649s # const gchar *signal_name; 649s # gboolean pass_fdlist; 649s # } _ExtendedGDBusMethodInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusSignalInfo parent_struct; 649s # const gchar *signal_name; 649s # } _ExtendedGDBusSignalInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusPropertyInfo parent_struct; 649s # const gchar *hyphen_name; 649s # guint use_gvariant : 1; 649s # guint emits_changed_signal : 1; 649s # } _ExtendedGDBusPropertyInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusInterfaceInfo parent_struct; 649s # const gchar *hyphen_name; 649s # } _ExtendedGDBusInterfaceInfo; 649s # 649s # typedef struct 649s # { 649s # const _ExtendedGDBusPropertyInfo *info; 649s # guint prop_id; 649s # GValue orig_value; /* the value before the change */ 649s # } ChangedProperty; 649s # 649s # static void 649s # _changed_property_free (ChangedProperty *data) 649s # { 649s # g_value_unset (&data->orig_value); 649s # g_free (data); 649s # } 649s # 649s # static gboolean 649s # _g_strv_equal0 (gchar **a, gchar **b) 649s # { 649s # gboolean ret = FALSE; 649s # guint n; 649s # if (a == NULL && b == NULL) 649s # { 649s # ret = TRUE; 649s # goto out; 649s # } 649s # if (a == NULL || b == NULL) 649s # goto out; 649s # if (g_strv_length (a) != g_strv_length (b)) 649s # goto out; 649s # for (n = 0; a[n] != NULL; n++) 649s # if (g_strcmp0 (a[n], b[n]) != 0) 649s # goto out; 649s # ret = TRUE; 649s # out: 649s # return ret; 649s # } 649s # 649s # static gboolean 649s # _g_variant_equal0 (GVariant *a, GVariant *b) 649s # { 649s # gboolean ret = FALSE; 649s # if (a == NULL && b == NULL) 649s # { 649s # ret = TRUE; 649s # goto out; 649s # } 649s # if (a == NULL || b == NULL) 649s # goto out; 649s # ret = g_variant_equal (a, b); 649s # out: 649s # return ret; 649s # } 649s # 649s # G_GNUC_UNUSED static gboolean 649s # _g_value_equal (const GValue *a, const GValue *b) 649s # { 649s # gboolean ret = FALSE; 649s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 649s # switch (G_VALUE_TYPE (a)) 649s # { 649s # case G_TYPE_BOOLEAN: 649s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 649s # break; 649s # case G_TYPE_UCHAR: 649s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 649s # break; 649s # case G_TYPE_INT: 649s # ret = (g_value_get_int (a) == g_value_get_int (b)); 649s # break; 649s # case G_TYPE_UINT: 649s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 649s # break; 649s # case G_TYPE_INT64: 649s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 649s # break; 649s # case G_TYPE_UINT64: 649s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 649s # break; 649s # case G_TYPE_DOUBLE: 649s # { 649s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 649s # gdouble da = g_value_get_double (a); 649s # gdouble db = g_value_get_double (b); 649s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 649s # } 649s # break; 649s # case G_TYPE_STRING: 649s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 649s # break; 649s # case G_TYPE_VARIANT: 649s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 649s # break; 649s # default: 649s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 649s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 649s # else 649s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 649s # break; 649s # } 649s # return ret; 649s # } 649s # 649s # static void 649s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 649s # GClosure *closure, 649s # GValue *return_value, 649s # unsigned int n_param_values, 649s # const GValue *param_values, 649s # void *invocation_hint G_GNUC_UNUSED, 649s # void *marshal_data) 649s # { 649s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 649s # (void *data1, 649s # GDBusMethodInvocation *arg_method_invocation, 649s # void *data2); 649s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 649s # GCClosure *cc = (GCClosure*) closure; 649s # void *data1, *data2; 649s # gboolean v_return; 649s # 649s # g_return_if_fail (return_value != NULL); 649s # g_return_if_fail (n_param_values == 2); 649s # 649s # if (G_CCLOSURE_SWAP_DATA (closure)) 649s # { 649s # data1 = closure->data; 649s # data2 = g_value_peek_pointer (param_values + 0); 649s # } 649s # else 649s # { 649s # data1 = g_value_peek_pointer (param_values + 0); 649s # data2 = closure->data; 649s # } 649s # 649s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 649s # (marshal_data ? marshal_data : cc->callback); 649s # 649s # v_return = 649s # callback (data1, 649s # g_marshal_value_peek_object (param_values + 1), 649s # data2); 649s # 649s # g_value_set_boolean (return_value, v_return); 649s # } 649s # 649s # /* ------------------------------------------------------------------------ 649s # * Code for interface org.project.UsefulInterface 649s # * ------------------------------------------------------------------------ 649s # */ 649s # 649s # /** 649s # * SECTION:OrgProjectUsefulInterface 649s # * @title: OrgProjectUsefulInterface 649s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 649s # * 649s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 649s # */ 649s # 649s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 649s # { 649s # { 649s # -1, 649s # (gchar *) "arg_asv", 649s # (gchar *) "a{sv}", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 649s # { 649s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 649s # { 649s # { 649s # -1, 649s # (gchar *) "SingleArgMethodAsv", 649s # NULL, 649s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 649s # NULL 649s # }, 649s # "handle-single-arg-method-asv", 649s # FALSE 649s # }; 649s # 649s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 649s # { 649s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 649s # { 649s # { 649s # -1, 649s # (gchar *) "org.project.UsefulInterface", 649s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 649s # NULL, 649s # NULL, 649s # NULL 649s # }, 649s # "org-project-useful-interface", 649s # }; 649s # 649s # 649s # /** 649s # * org_project_useful_interface_interface_info: 649s # * 649s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 649s # * 649s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 649s # */ 649s # GDBusInterfaceInfo * 649s # org_project_useful_interface_interface_info (void) 649s # { 649s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_override_properties: 649s # * @klass: The class structure for a #GObject derived class. 649s # * @property_id_begin: The property id to assign to the first overridden property. 649s # * 649s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 649s # * The properties are overridden in the order they are defined. 649s # * 649s # * Returns: The last property id. 649s # */ 649s # guint 649s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 649s # { 649s # return property_id_begin - 1; 649s # } 649s # 649s # 649s # inline static void 649s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 649s # GClosure *closure, 649s # GValue *return_value, 649s # unsigned int n_param_values, 649s # const GValue *param_values, 649s # void *invocation_hint, 649s # void *marshal_data) 649s # { 649s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 649s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 649s # } 649s # 649s # 649s # /** 649s # * OrgProjectUsefulInterface: 649s # * 649s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 649s # */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceIface: 649s # * @parent_iface: The parent interface. 649s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 649s # * 649s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 649s # */ 649s # 649s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 649s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 649s # 649s # static void 649s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 649s # { 649s # /* GObject signals for incoming D-Bus method calls: */ 649s # /** 649s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 649s # * @object: A #OrgProjectUsefulInterface. 649s # * @invocation: A #GDBusMethodInvocation. 649s # * 649s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 649s # * 649s # * 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. 649s # * 649s # * 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. 649s # */ 649s # g_signal_new ("handle-single-arg-method-asv", 649s # G_TYPE_FROM_INTERFACE (iface), 649s # G_SIGNAL_RUN_LAST, 649s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 649s # g_signal_accumulator_true_handled, 649s # NULL, 649s # org_project_useful_interface_method_marshal_single_arg_method_asv, 649s # G_TYPE_BOOLEAN, 649s # 1, 649s # G_TYPE_DBUS_METHOD_INVOCATION); 649s # 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_call_single_arg_method_asv: 649s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 649s # * 649s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 649s # */ 649s # void 649s # org_project_useful_interface_call_single_arg_method_asv ( 649s # OrgProjectUsefulInterface *proxy, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 649s # "SingleArgMethodAsv", 649s # g_variant_new ("()"), 649s # G_DBUS_CALL_FLAGS_NONE, 649s # -1, 649s # cancellable, 649s # callback, 649s # user_data); 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_call_single_arg_method_asv_finish: 649s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 649s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 649s # * @error: Return location for error or %NULL. 649s # * 649s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 649s # * 649s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 649s # */ 649s # gboolean 649s # org_project_useful_interface_call_single_arg_method_asv_finish ( 649s # OrgProjectUsefulInterface *proxy, 649s # GVariant **out_arg_asv, 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GVariant *_ret; 649s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 649s # if (_ret == NULL) 649s # goto _out; 649s # g_variant_get (_ret, 649s # "(@a{sv})", 649s # out_arg_asv); 649s # g_variant_unref (_ret); 649s # _out: 649s # return _ret != NULL; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_call_single_arg_method_asv_sync: 649s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 649s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL. 649s # * 649s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 649s # * 649s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 649s # */ 649s # gboolean 649s # org_project_useful_interface_call_single_arg_method_asv_sync ( 649s # OrgProjectUsefulInterface *proxy, 649s # GVariant **out_arg_asv, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GVariant *_ret; 649s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 649s # "SingleArgMethodAsv", 649s # g_variant_new ("()"), 649s # G_DBUS_CALL_FLAGS_NONE, 649s # -1, 649s # cancellable, 649s # error); 649s # if (_ret == NULL) 649s # goto _out; 649s # g_variant_get (_ret, 649s # "(@a{sv})", 649s # out_arg_asv); 649s # g_variant_unref (_ret); 649s # _out: 649s # return _ret != NULL; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_complete_single_arg_method_asv: 649s # * @object: A #OrgProjectUsefulInterface. 649s # * @invocation: (transfer full): A #GDBusMethodInvocation. 649s # * @arg_asv: Parameter to return. 649s # * 649s # * 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. 649s # * 649s # * This method will free @invocation, you cannot use it afterwards. 649s # */ 649s # void 649s # org_project_useful_interface_complete_single_arg_method_asv ( 649s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 649s # GDBusMethodInvocation *invocation, 649s # GVariant *arg_asv) 649s # { 649s # g_dbus_method_invocation_return_value (invocation, 649s # g_variant_new ("(@a{sv})", 649s # arg_asv)); 649s # } 649s # 649s # /* ------------------------------------------------------------------------ */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceProxy: 649s # * 649s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 649s # */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceProxyClass: 649s # * @parent_class: The parent class. 649s # * 649s # * Class structure for #OrgProjectUsefulInterfaceProxy. 649s # */ 649s # 649s # struct _OrgProjectUsefulInterfaceProxyPrivate 649s # { 649s # GData *qdata; 649s # }; 649s # 649s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 649s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 649s # 649s # #else 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 649s # 649s # #endif 649s # static void 649s # org_project_useful_interface_proxy_finalize (GObject *object) 649s # { 649s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 649s # g_datalist_clear (&proxy->priv->qdata); 649s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 649s # guint prop_id G_GNUC_UNUSED, 649s # GValue *value G_GNUC_UNUSED, 649s # GParamSpec *pspec G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 649s # guint prop_id G_GNUC_UNUSED, 649s # const GValue *value G_GNUC_UNUSED, 649s # GParamSpec *pspec G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 649s # const gchar *sender_name G_GNUC_UNUSED, 649s # const gchar *signal_name, 649s # GVariant *parameters) 649s # { 649s # _ExtendedGDBusSignalInfo *info; 649s # GVariantIter iter; 649s # GVariant *child; 649s # GValue *paramv; 649s # gsize num_params; 649s # gsize n; 649s # guint signal_id; 649s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 649s # if (info == NULL) 649s # return; 649s # num_params = g_variant_n_children (parameters); 649s # paramv = g_new0 (GValue, num_params + 1); 649s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 649s # g_value_set_object (¶mv[0], proxy); 649s # g_variant_iter_init (&iter, parameters); 649s # n = 1; 649s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 649s # { 649s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 649s # if (arg_info->use_gvariant) 649s # { 649s # g_value_init (¶mv[n], G_TYPE_VARIANT); 649s # g_value_set_variant (¶mv[n], child); 649s # n++; 649s # } 649s # else 649s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 649s # g_variant_unref (child); 649s # } 649s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 649s # g_signal_emitv (paramv, signal_id, 0, NULL); 649s # for (n = 0; n < num_params + 1; n++) 649s # g_value_unset (¶mv[n]); 649s # g_free (paramv); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 649s # GVariant *changed_properties, 649s # const gchar *const *invalidated_properties) 649s # { 649s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 649s # guint n; 649s # const gchar *key; 649s # GVariantIter *iter; 649s # _ExtendedGDBusPropertyInfo *info; 649s # g_variant_get (changed_properties, "a{sv}", &iter); 649s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 649s # { 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 649s # g_datalist_remove_data (&proxy->priv->qdata, key); 649s # if (info != NULL) 649s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 649s # } 649s # g_variant_iter_free (iter); 649s # for (n = 0; invalidated_properties[n] != NULL; n++) 649s # { 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 649s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 649s # if (info != NULL) 649s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 649s # } 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 649s # { 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 649s # #else 649s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 649s # #endif 649s # 649s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 649s # { 649s # GObjectClass *gobject_class; 649s # GDBusProxyClass *proxy_class; 649s # 649s # gobject_class = G_OBJECT_CLASS (klass); 649s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 649s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 649s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 649s # 649s # proxy_class = G_DBUS_PROXY_CLASS (klass); 649s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 649s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 649s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 649s # #endif 649s # } 649s # 649s # static void 649s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new: 649s # * @connection: A #GDBusConnection. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 649s # * 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 649s # * 649s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 649s # */ 649s # void 649s # org_project_useful_interface_proxy_new ( 649s # GDBusConnection *connection, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # g_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); 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_finish: 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 649s # * @error: Return location for error or %NULL 649s # * 649s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_proxy_new_finish ( 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GObject *ret; 649s # GObject *source_object; 649s # source_object = g_async_result_get_source_object (res); 649s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 649s # g_object_unref (source_object); 649s # if (ret != NULL) 649s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_sync: 649s # * @connection: A #GDBusConnection. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL 649s # * 649s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 649s # * 649s # * The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_proxy_new_sync ( 649s # GDBusConnection *connection, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GInitable *ret; 649s # 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); 649s # if (ret != NULL) 649s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_for_bus: 649s # * @bus_type: A #GBusType. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: A bus name (well-known or unique). 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 649s # * 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 649s # * 649s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 649s # */ 649s # void 649s # org_project_useful_interface_proxy_new_for_bus ( 649s # GBusType bus_type, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # g_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); 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_for_bus_finish: 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 649s # * @error: Return location for error or %NULL 649s # * 649s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_proxy_new_for_bus_finish ( 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GObject *ret; 649s # GObject *source_object; 649s # source_object = g_async_result_get_source_object (res); 649s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 649s # g_object_unref (source_object); 649s # if (ret != NULL) 649s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_proxy_new_for_bus_sync: 649s # * @bus_type: A #GBusType. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: A bus name (well-known or unique). 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL 649s # * 649s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 649s # * 649s # * The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_proxy_new_for_bus_sync ( 649s # GBusType bus_type, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GInitable *ret; 649s # 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); 649s # if (ret != NULL) 649s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # 649s # /* ------------------------------------------------------------------------ */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceSkeleton: 649s # * 649s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 649s # */ 649s # 649s # /** 649s # * OrgProjectUsefulInterfaceSkeletonClass: 649s # * @parent_class: The parent class. 649s # * 649s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 649s # */ 649s # 649s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 649s # { 649s # GValue *properties; 649s # GList *changed_properties; 649s # GSource *changed_properties_idle_source; 649s # GMainContext *context; 649s # GMutex lock; 649s # }; 649s # 649s # static void 649s # _org_project_useful_interface_skeleton_handle_method_call ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name, 649s # const gchar *method_name, 649s # GVariant *parameters, 649s # GDBusMethodInvocation *invocation, 649s # gpointer user_data) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 649s # _ExtendedGDBusMethodInfo *info; 649s # GVariantIter iter; 649s # GVariant *child; 649s # GValue *paramv; 649s # gsize num_params; 649s # guint num_extra; 649s # gsize n; 649s # guint signal_id; 649s # GValue return_value = G_VALUE_INIT; 649s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 649s # g_assert (info != NULL); 649s # num_params = g_variant_n_children (parameters); 649s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 649s # n = 0; 649s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 649s # g_value_set_object (¶mv[n++], skeleton); 649s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 649s # g_value_set_object (¶mv[n++], invocation); 649s # if (info->pass_fdlist) 649s # { 649s # #ifdef G_OS_UNIX 649s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 649s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 649s # #else 649s # g_assert_not_reached (); 649s # #endif 649s # } 649s # g_variant_iter_init (&iter, parameters); 649s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 649s # { 649s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 649s # if (arg_info->use_gvariant) 649s # { 649s # g_value_init (¶mv[n], G_TYPE_VARIANT); 649s # g_value_set_variant (¶mv[n], child); 649s # n++; 649s # } 649s # else 649s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 649s # g_variant_unref (child); 649s # } 649s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 649s # g_value_init (&return_value, G_TYPE_BOOLEAN); 649s # g_signal_emitv (paramv, signal_id, 0, &return_value); 649s # if (!g_value_get_boolean (&return_value)) 649s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 649s # g_value_unset (&return_value); 649s # for (n = 0; n < num_params + num_extra; n++) 649s # g_value_unset (¶mv[n]); 649s # g_free (paramv); 649s # } 649s # 649s # static GVariant * 649s # _org_project_useful_interface_skeleton_handle_get_property ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name G_GNUC_UNUSED, 649s # const gchar *property_name, 649s # GError **error, 649s # gpointer user_data) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 649s # GValue value = G_VALUE_INIT; 649s # GParamSpec *pspec; 649s # _ExtendedGDBusPropertyInfo *info; 649s # GVariant *ret; 649s # ret = NULL; 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 649s # g_assert (info != NULL); 649s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 649s # if (pspec == NULL) 649s # { 649s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 649s # } 649s # else 649s # { 649s # g_value_init (&value, pspec->value_type); 649s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 649s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 649s # g_value_unset (&value); 649s # } 649s # return ret; 649s # } 649s # 649s # static gboolean 649s # _org_project_useful_interface_skeleton_handle_set_property ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name G_GNUC_UNUSED, 649s # const gchar *property_name, 649s # GVariant *variant, 649s # GError **error, 649s # gpointer user_data) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 649s # GValue value = G_VALUE_INIT; 649s # GParamSpec *pspec; 649s # _ExtendedGDBusPropertyInfo *info; 649s # gboolean ret; 649s # ret = FALSE; 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 649s # g_assert (info != NULL); 649s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 649s # if (pspec == NULL) 649s # { 649s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 649s # } 649s # else 649s # { 649s # if (info->use_gvariant) 649s # g_value_set_variant (&value, variant); 649s # else 649s # g_dbus_gvariant_to_gvalue (variant, &value); 649s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 649s # g_value_unset (&value); 649s # ret = TRUE; 649s # } 649s # return ret; 649s # } 649s # 649s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 649s # { 649s # _org_project_useful_interface_skeleton_handle_method_call, 649s # _org_project_useful_interface_skeleton_handle_get_property, 649s # _org_project_useful_interface_skeleton_handle_set_property, 649s # {NULL} 649s # }; 649s # 649s # static GDBusInterfaceInfo * 649s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 649s # { 649s # return org_project_useful_interface_interface_info (); 649s # } 649s # 649s # static GDBusInterfaceVTable * 649s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 649s # { 649s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 649s # } 649s # 649s # static GVariant * 649s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 649s # 649s # GVariantBuilder builder; 649s # guint n; 649s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 649s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 649s # goto out; 649s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 649s # { 649s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 649s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 649s # { 649s # GVariant *value; 649s # 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); 649s # if (value != NULL) 649s # { 649s # g_variant_take_ref (value); 649s # g_variant_builder_add (&builder, "{sv}", info->name, value); 649s # g_variant_unref (value); 649s # } 649s # } 649s # } 649s # out: 649s # return g_variant_builder_end (&builder); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 649s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 649s # 649s # #else 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 649s # 649s # #endif 649s # static void 649s # org_project_useful_interface_skeleton_finalize (GObject *object) 649s # { 649s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 649s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 649s # if (skeleton->priv->changed_properties_idle_source != NULL) 649s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 649s # g_main_context_unref (skeleton->priv->context); 649s # g_mutex_clear (&skeleton->priv->lock); 649s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 649s # { 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 649s # #else 649s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 649s # #endif 649s # 649s # g_mutex_init (&skeleton->priv->lock); 649s # skeleton->priv->context = g_main_context_ref_thread_default (); 649s # } 649s # 649s # static void 649s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 649s # { 649s # GObjectClass *gobject_class; 649s # GDBusInterfaceSkeletonClass *skeleton_class; 649s # 649s # gobject_class = G_OBJECT_CLASS (klass); 649s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 649s # 649s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 649s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 649s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 649s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 649s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 649s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 649s # #endif 649s # } 649s # 649s # static void 649s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # /** 649s # * org_project_useful_interface_skeleton_new: 649s # * 649s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 649s # * 649s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 649s # */ 649s # OrgProjectUsefulInterface * 649s # org_project_useful_interface_skeleton_new (void) 649s # { 649s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 649s # } 649s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 649s # tmpdir: /tmp/tmpe86fs1dp 649s # codegen: /usr/bin/gdbus-codegen 649s # /tmp/tmpe86fs1dp/tmp71qgsh6f.xml: 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe86fs1dp/tmp71qgsh6f.xml', '--output', '-', '--body'] 649s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 649s # Output: /* 649s # * This file is generated by gdbus-codegen, do not modify it. 649s # * 649s # * The license of this code is the same as for the D-Bus interface description 649s # * it was derived from. Note that it links to GLib, so must comply with the 649s # * LGPL linking clauses. 649s # */ 649s # 649s # #ifdef HAVE_CONFIG_H 649s # # include "config.h" 649s # #endif 649s # 649s # #include 649s # #ifdef G_OS_UNIX 649s # # include 649s # #endif 649s # 649s # #ifdef G_ENABLE_DEBUG 649s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 649s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 649s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 649s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 649s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 649s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 649s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 649s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 649s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 649s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 649s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 649s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 649s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 649s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 649s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 649s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 649s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 649s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 649s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 649s # #else /* !G_ENABLE_DEBUG */ 649s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 649s # * Do not access GValues directly in your code. Instead, use the 649s # * g_value_get_*() functions 649s # */ 649s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 649s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 649s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 649s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 649s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 649s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 649s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 649s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 649s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 649s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 649s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 649s # #endif /* !G_ENABLE_DEBUG */ 649s # 649s # typedef struct 649s # { 649s # GDBusArgInfo parent_struct; 649s # gboolean use_gvariant; 649s # } _ExtendedGDBusArgInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusMethodInfo parent_struct; 649s # const gchar *signal_name; 649s # gboolean pass_fdlist; 649s # } _ExtendedGDBusMethodInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusSignalInfo parent_struct; 649s # const gchar *signal_name; 649s # } _ExtendedGDBusSignalInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusPropertyInfo parent_struct; 649s # const gchar *hyphen_name; 649s # guint use_gvariant : 1; 649s # guint emits_changed_signal : 1; 649s # } _ExtendedGDBusPropertyInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusInterfaceInfo parent_struct; 649s # const gchar *hyphen_name; 649s # } _ExtendedGDBusInterfaceInfo; 649s # 649s # typedef struct 649s # { 649s # const _ExtendedGDBusPropertyInfo *info; 649s # guint prop_id; 649s # GValue orig_value; /* the value before the change */ 649s # } ChangedProperty; 649s # 649s # static void 649s # _changed_property_free (ChangedProperty *data) 649s # { 649s # g_value_unset (&data->orig_value); 649s # g_free (data); 649s # } 649s # 649s # static gboolean 649s # _g_strv_equal0 (gchar **a, gchar **b) 649s # { 649s # gboolean ret = FALSE; 649s # guint n; 649s # if (a == NULL && b == NULL) 649s # { 649s # ret = TRUE; 649s # goto out; 649s # } 649s # if (a == NULL || b == NULL) 649s # goto out; 649s # if (g_strv_length (a) != g_strv_length (b)) 649s # goto out; 649s # for (n = 0; a[n] != NULL; n++) 649s # if (g_strcmp0 (a[n], b[n]) != 0) 649s # goto out; 649s # ret = TRUE; 649s # out: 649s # return ret; 649s # } 649s # 649s # static gboolean 649s # _g_variant_equal0 (GVariant *a, GVariant *b) 649s # { 649s # gboolean ret = FALSE; 649s # if (a == NULL && b == NULL) 649s # { 649s # ret = TRUE; 649s # goto out; 649s # } 649s # if (a == NULL || b == NULL) 649s # goto out; 649s # ret = g_variant_equal (a, b); 649s # out: 649s # return ret; 649s # } 649s # 649s # G_GNUC_UNUSED static gboolean 649s # _g_value_equal (const GValue *a, const GValue *b) 649s # { 649s # gboolean ret = FALSE; 649s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 649s # switch (G_VALUE_TYPE (a)) 649s # { 649s # case G_TYPE_BOOLEAN: 649s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 649s # break; 649s # case G_TYPE_UCHAR: 649s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 649s # break; 649s # case G_TYPE_INT: 649s # ret = (g_value_get_int (a) == g_value_get_int (b)); 649s # break; 649s # case G_TYPE_UINT: 649s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 649s # break; 649s # case G_TYPE_INT64: 649s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 649s # break; 649s # case G_TYPE_UINT64: 649s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 649s # break; 649s # case G_TYPE_DOUBLE: 649s # { 649s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 649s # gdouble da = g_value_get_double (a); 649s # gdouble db = g_value_get_double (b); 649s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 649s # } 649s # break; 649s # case G_TYPE_STRING: 649s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 649s # break; 649s # case G_TYPE_VARIANT: 649s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 649s # break; 649s # default: 649s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 649s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 649s # else 649s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 649s # break; 649s # } 649s # return ret; 649s # } 649s # 649s # static void 649s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 649s # GClosure *closure, 649s # GValue *return_value, 649s # unsigned int n_param_values, 649s # const GValue *param_values, 649s # void *invocation_hint G_GNUC_UNUSED, 649s # void *marshal_data) 649s # { 649s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 649s # (void *data1, 649s # GDBusMethodInvocation *arg_method_invocation, 649s # gboolean arg_an_b, 649s # guchar arg_an_y, 649s # gint16 arg_an_n, 649s # guint16 arg_an_q, 649s # gint arg_an_i, 649s # guint arg_an_u, 649s # gint64 arg_an_x, 649s # guint64 arg_an_t, 649s # gdouble arg_an_d, 649s # const gchar *arg_an_s, 649s # const gchar *arg_an_o, 649s # const gchar *arg_an_g, 649s # GVariant *arg_an_h, 649s # const gchar *arg_an_ay, 649s # const gchar *const *arg_an_as, 649s # const gchar *const *arg_an_ao, 649s # const gchar *const *arg_an_aay, 649s # GVariant *arg_an_asv, 649s # void *data2); 649s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 649s # GCClosure *cc = (GCClosure*) closure; 649s # void *data1, *data2; 649s # gboolean v_return; 649s # 649s # g_return_if_fail (return_value != NULL); 649s # g_return_if_fail (n_param_values == 20); 649s # 649s # if (G_CCLOSURE_SWAP_DATA (closure)) 649s # { 649s # data1 = closure->data; 649s # data2 = g_value_peek_pointer (param_values + 0); 649s # } 649s # else 649s # { 649s # data1 = g_value_peek_pointer (param_values + 0); 649s # data2 = closure->data; 649s # } 649s # 649s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 649s # (marshal_data ? marshal_data : cc->callback); 649s # 649s # v_return = 649s # callback (data1, 649s # g_marshal_value_peek_object (param_values + 1), 649s # g_marshal_value_peek_boolean (param_values + 2), 649s # g_marshal_value_peek_uchar (param_values + 3), 649s # g_marshal_value_peek_int (param_values + 4), 649s # g_marshal_value_peek_uint (param_values + 5), 649s # g_marshal_value_peek_int (param_values + 6), 649s # g_marshal_value_peek_uint (param_values + 7), 649s # g_marshal_value_peek_int64 (param_values + 8), 649s # g_marshal_value_peek_uint64 (param_values + 9), 649s # g_marshal_value_peek_double (param_values + 10), 649s # g_marshal_value_peek_string (param_values + 11), 649s # g_marshal_value_peek_string (param_values + 12), 649s # g_marshal_value_peek_string (param_values + 13), 649s # g_marshal_value_peek_variant (param_values + 14), 649s # g_marshal_value_peek_string (param_values + 15), 649s # g_marshal_value_peek_boxed (param_values + 16), 649s # g_marshal_value_peek_boxed (param_values + 17), 649s # g_marshal_value_peek_boxed (param_values + 18), 649s # g_marshal_value_peek_variant (param_values + 19), 649s # data2); 649s # 649s # g_value_set_boolean (return_value, v_return); 649s # } 649s # 649s # /* ------------------------------------------------------------------------ 649s # * Code for interface org.project.CallableIface 649s # * ------------------------------------------------------------------------ 649s # */ 649s # 649s # /** 649s # * SECTION:OrgProjectCallableIface 649s # * @title: OrgProjectCallableIface 649s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 649s # * 649s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 649s # */ 649s # 649s # /* ---- Introspection data for org.project.CallableIface ---- */ 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_b", 649s # (gchar *) "b", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_y", 649s # (gchar *) "y", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_n", 649s # (gchar *) "n", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_q", 649s # (gchar *) "q", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_i", 649s # (gchar *) "i", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_u", 649s # (gchar *) "u", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_x", 649s # (gchar *) "x", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_t", 649s # (gchar *) "t", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_d", 649s # (gchar *) "d", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_s", 649s # (gchar *) "s", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_o", 649s # (gchar *) "o", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_g", 649s # (gchar *) "g", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_h", 649s # (gchar *) "h", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_ay", 649s # (gchar *) "ay", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_as", 649s # (gchar *) "as", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_ao", 649s # (gchar *) "ao", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_aay", 649s # (gchar *) "aay", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_asv", 649s # (gchar *) "a{sv}", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 649s # { 649s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 649s # { 649s # { 649s # -1, 649s # (gchar *) "MethodWithManyArgs", 649s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 649s # NULL, 649s # NULL 649s # }, 649s # "handle-method-with-many-args", 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_b", 649s # (gchar *) "b", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_y", 649s # (gchar *) "y", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_n", 649s # (gchar *) "n", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_q", 649s # (gchar *) "q", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_i", 649s # (gchar *) "i", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_u", 649s # (gchar *) "u", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_x", 649s # (gchar *) "x", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_t", 649s # (gchar *) "t", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_d", 649s # (gchar *) "d", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_s", 649s # (gchar *) "s", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_o", 649s # (gchar *) "o", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_g", 649s # (gchar *) "g", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_h", 649s # (gchar *) "h", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_ay", 649s # (gchar *) "ay", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_as", 649s # (gchar *) "as", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_ao", 649s # (gchar *) "ao", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_aay", 649s # (gchar *) "aay", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_asv", 649s # (gchar *) "a{sv}", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 649s # { 649s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 649s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 649s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 649s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 649s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 649s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 649s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 649s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 649s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 649s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 649s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 649s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 649s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 649s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 649s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 649s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 649s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 649s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 649s # { 649s # { 649s # -1, 649s # (gchar *) "SameMethodWithManyArgs", 649s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 649s # NULL, 649s # NULL 649s # }, 649s # "handle-same-method-with-many-args", 649s # FALSE 649s # }; 649s # 649s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 649s # { 649s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 649s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 649s # { 649s # { 649s # -1, 649s # (gchar *) "org.project.CallableIface", 649s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 649s # NULL, 649s # NULL, 649s # NULL 649s # }, 649s # "org-project-callable-iface", 649s # }; 649s # 649s # 649s # /** 649s # * org_project_callable_iface_interface_info: 649s # * 649s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 649s # * 649s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 649s # */ 649s # GDBusInterfaceInfo * 649s # org_project_callable_iface_interface_info (void) 649s # { 649s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_override_properties: 649s # * @klass: The class structure for a #GObject derived class. 649s # * @property_id_begin: The property id to assign to the first overridden property. 649s # * 649s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 649s # * The properties are overridden in the order they are defined. 649s # * 649s # * Returns: The last property id. 649s # */ 649s # guint 649s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 649s # { 649s # return property_id_begin - 1; 649s # } 649s # 649s # 649s # inline static void 649s # org_project_callable_iface_method_marshal_method_with_many_args ( 649s # GClosure *closure, 649s # GValue *return_value, 649s # unsigned int n_param_values, 649s # const GValue *param_values, 649s # void *invocation_hint, 649s # void *marshal_data) 649s # { 649s # _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, 649s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 649s # } 649s # 649s # inline static void 649s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 649s # GClosure *closure, 649s # GValue *return_value, 649s # unsigned int n_param_values, 649s # const GValue *param_values, 649s # void *invocation_hint, 649s # void *marshal_data) 649s # { 649s # _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, 649s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 649s # } 649s # 649s # 649s # /** 649s # * OrgProjectCallableIface: 649s # * 649s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 649s # */ 649s # 649s # /** 649s # * OrgProjectCallableIfaceIface: 649s # * @parent_iface: The parent interface. 649s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 649s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 649s # * 649s # * Virtual table for the D-Bus interface org.project.CallableIface. 649s # */ 649s # 649s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 649s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 649s # 649s # static void 649s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 649s # { 649s # /* GObject signals for incoming D-Bus method calls: */ 649s # /** 649s # * OrgProjectCallableIface::handle-method-with-many-args: 649s # * @object: A #OrgProjectCallableIface. 649s # * @invocation: A #GDBusMethodInvocation. 649s # * @arg_an_b: Argument passed by remote caller. 649s # * @arg_an_y: Argument passed by remote caller. 649s # * @arg_an_n: Argument passed by remote caller. 649s # * @arg_an_q: Argument passed by remote caller. 649s # * @arg_an_i: Argument passed by remote caller. 649s # * @arg_an_u: Argument passed by remote caller. 649s # * @arg_an_x: Argument passed by remote caller. 649s # * @arg_an_t: Argument passed by remote caller. 649s # * @arg_an_d: Argument passed by remote caller. 649s # * @arg_an_s: Argument passed by remote caller. 649s # * @arg_an_o: Argument passed by remote caller. 649s # * @arg_an_g: Argument passed by remote caller. 649s # * @arg_an_h: Argument passed by remote caller. 649s # * @arg_an_ay: Argument passed by remote caller. 649s # * @arg_an_as: Argument passed by remote caller. 649s # * @arg_an_ao: Argument passed by remote caller. 649s # * @arg_an_aay: Argument passed by remote caller. 649s # * @arg_an_asv: Argument passed by remote caller. 649s # * 649s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 649s # * 649s # * 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. 649s # * 649s # * 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. 649s # */ 649s # g_signal_new ("handle-method-with-many-args", 649s # G_TYPE_FROM_INTERFACE (iface), 649s # G_SIGNAL_RUN_LAST, 649s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 649s # g_signal_accumulator_true_handled, 649s # NULL, 649s # org_project_callable_iface_method_marshal_method_with_many_args, 649s # G_TYPE_BOOLEAN, 649s # 19, 649s # 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); 649s # 649s # /** 649s # * OrgProjectCallableIface::handle-same-method-with-many-args: 649s # * @object: A #OrgProjectCallableIface. 649s # * @invocation: A #GDBusMethodInvocation. 649s # * @arg_an_b: Argument passed by remote caller. 649s # * @arg_an_y: Argument passed by remote caller. 649s # * @arg_an_n: Argument passed by remote caller. 649s # * @arg_an_q: Argument passed by remote caller. 649s # * @arg_an_i: Argument passed by remote caller. 649s # * @arg_an_u: Argument passed by remote caller. 649s # * @arg_an_x: Argument passed by remote caller. 649s # * @arg_an_t: Argument passed by remote caller. 649s # * @arg_an_d: Argument passed by remote caller. 649s # * @arg_an_s: Argument passed by remote caller. 649s # * @arg_an_o: Argument passed by remote caller. 649s # * @arg_an_g: Argument passed by remote caller. 649s # * @arg_an_h: Argument passed by remote caller. 649s # * @arg_an_ay: Argument passed by remote caller. 649s # * @arg_an_as: Argument passed by remote caller. 649s # * @arg_an_ao: Argument passed by remote caller. 649s # * @arg_an_aay: Argument passed by remote caller. 649s # * @arg_an_asv: Argument passed by remote caller. 649s # * 649s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 649s # * 649s # * 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. 649s # * 649s # * 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. 649s # */ 649s # g_signal_new ("handle-same-method-with-many-args", 649s # G_TYPE_FROM_INTERFACE (iface), 649s # G_SIGNAL_RUN_LAST, 649s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 649s # g_signal_accumulator_true_handled, 649s # NULL, 649s # org_project_callable_iface_method_marshal_same_method_with_many_args, 649s # G_TYPE_BOOLEAN, 649s # 19, 649s # 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); 649s # 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_call_method_with_many_args: 649s # * @proxy: A #OrgProjectCallableIfaceProxy. 649s # * @arg_an_b: Argument to pass with the method invocation. 649s # * @arg_an_y: Argument to pass with the method invocation. 649s # * @arg_an_n: Argument to pass with the method invocation. 649s # * @arg_an_q: Argument to pass with the method invocation. 649s # * @arg_an_i: Argument to pass with the method invocation. 649s # * @arg_an_u: Argument to pass with the method invocation. 649s # * @arg_an_x: Argument to pass with the method invocation. 649s # * @arg_an_t: Argument to pass with the method invocation. 649s # * @arg_an_d: Argument to pass with the method invocation. 649s # * @arg_an_s: Argument to pass with the method invocation. 649s # * @arg_an_o: Argument to pass with the method invocation. 649s # * @arg_an_g: Argument to pass with the method invocation. 649s # * @arg_an_h: Argument to pass with the method invocation. 649s # * @arg_an_ay: Argument to pass with the method invocation. 649s # * @arg_an_as: Argument to pass with the method invocation. 649s # * @arg_an_ao: Argument to pass with the method invocation. 649s # * @arg_an_aay: Argument to pass with the method invocation. 649s # * @arg_an_asv: Argument to pass with the method invocation. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 649s # * 649s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 649s # */ 649s # void 649s # org_project_callable_iface_call_method_with_many_args ( 649s # OrgProjectCallableIface *proxy, 649s # gboolean arg_an_b, 649s # guchar arg_an_y, 649s # gint16 arg_an_n, 649s # guint16 arg_an_q, 649s # gint arg_an_i, 649s # guint arg_an_u, 649s # gint64 arg_an_x, 649s # guint64 arg_an_t, 649s # gdouble arg_an_d, 649s # const gchar *arg_an_s, 649s # const gchar *arg_an_o, 649s # const gchar *arg_an_g, 649s # GVariant *arg_an_h, 649s # const gchar *arg_an_ay, 649s # const gchar *const *arg_an_as, 649s # const gchar *const *arg_an_ao, 649s # const gchar *const *arg_an_aay, 649s # GVariant *arg_an_asv, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 649s # "MethodWithManyArgs", 649s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 649s # arg_an_b, 649s # arg_an_y, 649s # arg_an_n, 649s # arg_an_q, 649s # arg_an_i, 649s # arg_an_u, 649s # arg_an_x, 649s # arg_an_t, 649s # arg_an_d, 649s # arg_an_s, 649s # arg_an_o, 649s # arg_an_g, 649s # arg_an_h, 649s # arg_an_ay, 649s # arg_an_as, 649s # arg_an_ao, 649s # arg_an_aay, 649s # arg_an_asv), 649s # G_DBUS_CALL_FLAGS_NONE, 649s # -1, 649s # cancellable, 649s # callback, 649s # user_data); 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_call_method_with_many_args_finish: 649s # * @proxy: A #OrgProjectCallableIfaceProxy. 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 649s # * @error: Return location for error or %NULL. 649s # * 649s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 649s # * 649s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 649s # */ 649s # gboolean 649s # org_project_callable_iface_call_method_with_many_args_finish ( 649s # OrgProjectCallableIface *proxy, 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GVariant *_ret; 649s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 649s # if (_ret == NULL) 649s # goto _out; 649s # g_variant_get (_ret, 649s # "()"); 649s # g_variant_unref (_ret); 649s # _out: 649s # return _ret != NULL; 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_call_method_with_many_args_sync: 649s # * @proxy: A #OrgProjectCallableIfaceProxy. 649s # * @arg_an_b: Argument to pass with the method invocation. 649s # * @arg_an_y: Argument to pass with the method invocation. 649s # * @arg_an_n: Argument to pass with the method invocation. 649s # * @arg_an_q: Argument to pass with the method invocation. 649s # * @arg_an_i: Argument to pass with the method invocation. 649s # * @arg_an_u: Argument to pass with the method invocation. 649s # * @arg_an_x: Argument to pass with the method invocation. 649s # * @arg_an_t: Argument to pass with the method invocation. 649s # * @arg_an_d: Argument to pass with the method invocation. 649s # * @arg_an_s: Argument to pass with the method invocation. 649s # * @arg_an_o: Argument to pass with the method invocation. 649s # * @arg_an_g: Argument to pass with the method invocation. 649s # * @arg_an_h: Argument to pass with the method invocation. 649s # * @arg_an_ay: Argument to pass with the method invocation. 649s # * @arg_an_as: Argument to pass with the method invocation. 649s # * @arg_an_ao: Argument to pass with the method invocation. 649s # * @arg_an_aay: Argument to pass with the method invocation. 649s # * @arg_an_asv: Argument to pass with the method invocation. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL. 649s # * 649s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 649s # * 649s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 649s # */ 649s # gboolean 649s # org_project_callable_iface_call_method_with_many_args_sync ( 649s # OrgProjectCallableIface *proxy, 649s # gboolean arg_an_b, 649s # guchar arg_an_y, 649s # gint16 arg_an_n, 649s # guint16 arg_an_q, 649s # gint arg_an_i, 649s # guint arg_an_u, 649s # gint64 arg_an_x, 649s # guint64 arg_an_t, 649s # gdouble arg_an_d, 649s # const gchar *arg_an_s, 649s # const gchar *arg_an_o, 649s # const gchar *arg_an_g, 649s # GVariant *arg_an_h, 649s # const gchar *arg_an_ay, 649s # const gchar *const *arg_an_as, 649s # const gchar *const *arg_an_ao, 649s # const gchar *const *arg_an_aay, 649s # GVariant *arg_an_asv, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GVariant *_ret; 649s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 649s # "MethodWithManyArgs", 649s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 649s # arg_an_b, 649s # arg_an_y, 649s # arg_an_n, 649s # arg_an_q, 649s # arg_an_i, 649s # arg_an_u, 649s # arg_an_x, 649s # arg_an_t, 649s # arg_an_d, 649s # arg_an_s, 649s # arg_an_o, 649s # arg_an_g, 649s # arg_an_h, 649s # arg_an_ay, 649s # arg_an_as, 649s # arg_an_ao, 649s # arg_an_aay, 649s # arg_an_asv), 649s # G_DBUS_CALL_FLAGS_NONE, 649s # -1, 649s # cancellable, 649s # error); 649s # if (_ret == NULL) 649s # goto _out; 649s # g_variant_get (_ret, 649s # "()"); 649s # g_variant_unref (_ret); 649s # _out: 649s # return _ret != NULL; 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_call_same_method_with_many_args: 649s # * @proxy: A #OrgProjectCallableIfaceProxy. 649s # * @arg_an_b: Argument to pass with the method invocation. 649s # * @arg_an_y: Argument to pass with the method invocation. 649s # * @arg_an_n: Argument to pass with the method invocation. 649s # * @arg_an_q: Argument to pass with the method invocation. 649s # * @arg_an_i: Argument to pass with the method invocation. 649s # * @arg_an_u: Argument to pass with the method invocation. 649s # * @arg_an_x: Argument to pass with the method invocation. 649s # * @arg_an_t: Argument to pass with the method invocation. 649s # * @arg_an_d: Argument to pass with the method invocation. 649s # * @arg_an_s: Argument to pass with the method invocation. 649s # * @arg_an_o: Argument to pass with the method invocation. 649s # * @arg_an_g: Argument to pass with the method invocation. 649s # * @arg_an_h: Argument to pass with the method invocation. 649s # * @arg_an_ay: Argument to pass with the method invocation. 649s # * @arg_an_as: Argument to pass with the method invocation. 649s # * @arg_an_ao: Argument to pass with the method invocation. 649s # * @arg_an_aay: Argument to pass with the method invocation. 649s # * @arg_an_asv: Argument to pass with the method invocation. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 649s # * 649s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 649s # */ 649s # void 649s # org_project_callable_iface_call_same_method_with_many_args ( 649s # OrgProjectCallableIface *proxy, 649s # gboolean arg_an_b, 649s # guchar arg_an_y, 649s # gint16 arg_an_n, 649s # guint16 arg_an_q, 649s # gint arg_an_i, 649s # guint arg_an_u, 649s # gint64 arg_an_x, 649s # guint64 arg_an_t, 649s # gdouble arg_an_d, 649s # const gchar *arg_an_s, 649s # const gchar *arg_an_o, 649s # const gchar *arg_an_g, 649s # GVariant *arg_an_h, 649s # const gchar *arg_an_ay, 649s # const gchar *const *arg_an_as, 649s # const gchar *const *arg_an_ao, 649s # const gchar *const *arg_an_aay, 649s # GVariant *arg_an_asv, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 649s # "SameMethodWithManyArgs", 649s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 649s # arg_an_b, 649s # arg_an_y, 649s # arg_an_n, 649s # arg_an_q, 649s # arg_an_i, 649s # arg_an_u, 649s # arg_an_x, 649s # arg_an_t, 649s # arg_an_d, 649s # arg_an_s, 649s # arg_an_o, 649s # arg_an_g, 649s # arg_an_h, 649s # arg_an_ay, 649s # arg_an_as, 649s # arg_an_ao, 649s # arg_an_aay, 649s # arg_an_asv), 649s # G_DBUS_CALL_FLAGS_NONE, 649s # -1, 649s # cancellable, 649s # callback, 649s # user_data); 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_call_same_method_with_many_args_finish: 649s # * @proxy: A #OrgProjectCallableIfaceProxy. 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 649s # * @error: Return location for error or %NULL. 649s # * 649s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 649s # * 649s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 649s # */ 649s # gboolean 649s # org_project_callable_iface_call_same_method_with_many_args_finish ( 649s # OrgProjectCallableIface *proxy, 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GVariant *_ret; 649s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 649s # if (_ret == NULL) 649s # goto _out; 649s # g_variant_get (_ret, 649s # "()"); 649s # g_variant_unref (_ret); 649s # _out: 649s # return _ret != NULL; 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_call_same_method_with_many_args_sync: 649s # * @proxy: A #OrgProjectCallableIfaceProxy. 649s # * @arg_an_b: Argument to pass with the method invocation. 649s # * @arg_an_y: Argument to pass with the method invocation. 649s # * @arg_an_n: Argument to pass with the method invocation. 649s # * @arg_an_q: Argument to pass with the method invocation. 649s # * @arg_an_i: Argument to pass with the method invocation. 649s # * @arg_an_u: Argument to pass with the method invocation. 649s # * @arg_an_x: Argument to pass with the method invocation. 649s # * @arg_an_t: Argument to pass with the method invocation. 649s # * @arg_an_d: Argument to pass with the method invocation. 649s # * @arg_an_s: Argument to pass with the method invocation. 649s # * @arg_an_o: Argument to pass with the method invocation. 649s # * @arg_an_g: Argument to pass with the method invocation. 649s # * @arg_an_h: Argument to pass with the method invocation. 649s # * @arg_an_ay: Argument to pass with the method invocation. 649s # * @arg_an_as: Argument to pass with the method invocation. 649s # * @arg_an_ao: Argument to pass with the method invocation. 649s # * @arg_an_aay: Argument to pass with the method invocation. 649s # * @arg_an_asv: Argument to pass with the method invocation. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL. 649s # * 649s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 649s # * 649s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 649s # */ 649s # gboolean 649s # org_project_callable_iface_call_same_method_with_many_args_sync ( 649s # OrgProjectCallableIface *proxy, 649s # gboolean arg_an_b, 649s # guchar arg_an_y, 649s # gint16 arg_an_n, 649s # guint16 arg_an_q, 649s # gint arg_an_i, 649s # guint arg_an_u, 649s # gint64 arg_an_x, 649s # guint64 arg_an_t, 649s # gdouble arg_an_d, 649s # const gchar *arg_an_s, 649s # const gchar *arg_an_o, 649s # const gchar *arg_an_g, 649s # GVariant *arg_an_h, 649s # const gchar *arg_an_ay, 649s # const gchar *const *arg_an_as, 649s # const gchar *const *arg_an_ao, 649s # const gchar *const *arg_an_aay, 649s # GVariant *arg_an_asv, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GVariant *_ret; 649s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 649s # "SameMethodWithManyArgs", 649s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 649s # arg_an_b, 649s # arg_an_y, 649s # arg_an_n, 649s # arg_an_q, 649s # arg_an_i, 649s # arg_an_u, 649s # arg_an_x, 649s # arg_an_t, 649s # arg_an_d, 649s # arg_an_s, 649s # arg_an_o, 649s # arg_an_g, 649s # arg_an_h, 649s # arg_an_ay, 649s # arg_an_as, 649s # arg_an_ao, 649s # arg_an_aay, 649s # arg_an_asv), 649s # G_DBUS_CALL_FLAGS_NONE, 649s # -1, 649s # cancellable, 649s # error); 649s # if (_ret == NULL) 649s # goto _out; 649s # g_variant_get (_ret, 649s # "()"); 649s # g_variant_unref (_ret); 649s # _out: 649s # return _ret != NULL; 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_complete_method_with_many_args: 649s # * @object: A #OrgProjectCallableIface. 649s # * @invocation: (transfer full): A #GDBusMethodInvocation. 649s # * 649s # * 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. 649s # * 649s # * This method will free @invocation, you cannot use it afterwards. 649s # */ 649s # void 649s # org_project_callable_iface_complete_method_with_many_args ( 649s # OrgProjectCallableIface *object G_GNUC_UNUSED, 649s # GDBusMethodInvocation *invocation) 649s # { 649s # g_dbus_method_invocation_return_value (invocation, 649s # g_variant_new ("()")); 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_complete_same_method_with_many_args: 649s # * @object: A #OrgProjectCallableIface. 649s # * @invocation: (transfer full): A #GDBusMethodInvocation. 649s # * 649s # * 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. 649s # * 649s # * This method will free @invocation, you cannot use it afterwards. 649s # */ 649s # void 649s # org_project_callable_iface_complete_same_method_with_many_args ( 649s # OrgProjectCallableIface *object G_GNUC_UNUSED, 649s # GDBusMethodInvocation *invocation) 649s # { 649s # g_dbus_method_invocation_return_value (invocation, 649s # g_variant_new ("()")); 649s # } 649s # 649s # /* ------------------------------------------------------------------------ */ 649s # 649s # /** 649s # * OrgProjectCallableIfaceProxy: 649s # * 649s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 649s # */ 649s # 649s # /** 649s # * OrgProjectCallableIfaceProxyClass: 649s # * @parent_class: The parent class. 649s # * 649s # * Class structure for #OrgProjectCallableIfaceProxy. 649s # */ 649s # 649s # struct _OrgProjectCallableIfaceProxyPrivate 649s # { 649s # GData *qdata; 649s # }; 649s # 649s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 649s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 649s # 649s # #else 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 649s # 649s # #endif 649s # static void 649s # org_project_callable_iface_proxy_finalize (GObject *object) 649s # { 649s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 649s # g_datalist_clear (&proxy->priv->qdata); 649s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 649s # } 649s # 649s # static void 649s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 649s # guint prop_id G_GNUC_UNUSED, 649s # GValue *value G_GNUC_UNUSED, 649s # GParamSpec *pspec G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void 649s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 649s # guint prop_id G_GNUC_UNUSED, 649s # const GValue *value G_GNUC_UNUSED, 649s # GParamSpec *pspec G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void 649s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 649s # const gchar *sender_name G_GNUC_UNUSED, 649s # const gchar *signal_name, 649s # GVariant *parameters) 649s # { 649s # _ExtendedGDBusSignalInfo *info; 649s # GVariantIter iter; 649s # GVariant *child; 649s # GValue *paramv; 649s # gsize num_params; 649s # gsize n; 649s # guint signal_id; 649s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 649s # if (info == NULL) 649s # return; 649s # num_params = g_variant_n_children (parameters); 649s # paramv = g_new0 (GValue, num_params + 1); 649s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 649s # g_value_set_object (¶mv[0], proxy); 649s # g_variant_iter_init (&iter, parameters); 649s # n = 1; 649s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 649s # { 649s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 649s # if (arg_info->use_gvariant) 649s # { 649s # g_value_init (¶mv[n], G_TYPE_VARIANT); 649s # g_value_set_variant (¶mv[n], child); 649s # n++; 649s # } 649s # else 649s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 649s # g_variant_unref (child); 649s # } 649s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 649s # g_signal_emitv (paramv, signal_id, 0, NULL); 649s # for (n = 0; n < num_params + 1; n++) 649s # g_value_unset (¶mv[n]); 649s # g_free (paramv); 649s # } 649s # 649s # static void 649s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 649s # GVariant *changed_properties, 649s # const gchar *const *invalidated_properties) 649s # { 649s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 649s # guint n; 649s # const gchar *key; 649s # GVariantIter *iter; 649s # _ExtendedGDBusPropertyInfo *info; 649s # g_variant_get (changed_properties, "a{sv}", &iter); 649s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 649s # { 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 649s # g_datalist_remove_data (&proxy->priv->qdata, key); 649s # if (info != NULL) 649s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 649s # } 649s # g_variant_iter_free (iter); 649s # for (n = 0; invalidated_properties[n] != NULL; n++) 649s # { 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 649s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 649s # if (info != NULL) 649s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 649s # } 649s # } 649s # 649s # static void 649s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 649s # { 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 649s # #else 649s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 649s # #endif 649s # 649s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 649s # } 649s # 649s # static void 649s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 649s # { 649s # GObjectClass *gobject_class; 649s # GDBusProxyClass *proxy_class; 649s # 649s # gobject_class = G_OBJECT_CLASS (klass); 649s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 649s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 649s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 649s # 649s # proxy_class = G_DBUS_PROXY_CLASS (klass); 649s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 649s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 649s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 649s # #endif 649s # } 649s # 649s # static void 649s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_proxy_new: 649s # * @connection: A #GDBusConnection. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 649s # * 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 649s # * 649s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 649s # */ 649s # void 649s # org_project_callable_iface_proxy_new ( 649s # GDBusConnection *connection, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # 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); 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_proxy_new_finish: 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 649s # * @error: Return location for error or %NULL 649s # * 649s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 649s # * 649s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectCallableIface * 649s # org_project_callable_iface_proxy_new_finish ( 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GObject *ret; 649s # GObject *source_object; 649s # source_object = g_async_result_get_source_object (res); 649s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 649s # g_object_unref (source_object); 649s # if (ret != NULL) 649s # return ORG_PROJECT_CALLABLE_IFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_proxy_new_sync: 649s # * @connection: A #GDBusConnection. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL 649s # * 649s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 649s # * 649s # * The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 649s # * 649s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectCallableIface * 649s # org_project_callable_iface_proxy_new_sync ( 649s # GDBusConnection *connection, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GInitable *ret; 649s # 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); 649s # if (ret != NULL) 649s # return ORG_PROJECT_CALLABLE_IFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # 649s # /** 649s # * org_project_callable_iface_proxy_new_for_bus: 649s # * @bus_type: A #GBusType. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: A bus name (well-known or unique). 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 649s # * 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 649s # * 649s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 649s # */ 649s # void 649s # org_project_callable_iface_proxy_new_for_bus ( 649s # GBusType bus_type, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # 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); 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_proxy_new_for_bus_finish: 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 649s # * @error: Return location for error or %NULL 649s # * 649s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 649s # * 649s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectCallableIface * 649s # org_project_callable_iface_proxy_new_for_bus_finish ( 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GObject *ret; 649s # GObject *source_object; 649s # source_object = g_async_result_get_source_object (res); 649s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 649s # g_object_unref (source_object); 649s # if (ret != NULL) 649s # return ORG_PROJECT_CALLABLE_IFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_proxy_new_for_bus_sync: 649s # * @bus_type: A #GBusType. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: A bus name (well-known or unique). 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL 649s # * 649s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 649s # * 649s # * The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 649s # * 649s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectCallableIface * 649s # org_project_callable_iface_proxy_new_for_bus_sync ( 649s # GBusType bus_type, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GInitable *ret; 649s # 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); 649s # if (ret != NULL) 649s # return ORG_PROJECT_CALLABLE_IFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # 649s # /* ------------------------------------------------------------------------ */ 649s # 649s # /** 649s # * OrgProjectCallableIfaceSkeleton: 649s # * 649s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 649s # */ 649s # 649s # /** 649s # * OrgProjectCallableIfaceSkeletonClass: 649s # * @parent_class: The parent class. 649s # * 649s # * Class structure for #OrgProjectCallableIfaceSkeleton. 649s # */ 649s # 649s # struct _OrgProjectCallableIfaceSkeletonPrivate 649s # { 649s # GValue *properties; 649s # GList *changed_properties; 649s # GSource *changed_properties_idle_source; 649s # GMainContext *context; 649s # GMutex lock; 649s # }; 649s # 649s # static void 649s # _org_project_callable_iface_skeleton_handle_method_call ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name, 649s # const gchar *method_name, 649s # GVariant *parameters, 649s # GDBusMethodInvocation *invocation, 649s # gpointer user_data) 649s # { 649s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 649s # _ExtendedGDBusMethodInfo *info; 649s # GVariantIter iter; 649s # GVariant *child; 649s # GValue *paramv; 649s # gsize num_params; 649s # guint num_extra; 649s # gsize n; 649s # guint signal_id; 649s # GValue return_value = G_VALUE_INIT; 649s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 649s # g_assert (info != NULL); 649s # num_params = g_variant_n_children (parameters); 649s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 649s # n = 0; 649s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 649s # g_value_set_object (¶mv[n++], skeleton); 649s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 649s # g_value_set_object (¶mv[n++], invocation); 649s # if (info->pass_fdlist) 649s # { 649s # #ifdef G_OS_UNIX 649s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 649s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 649s # #else 649s # g_assert_not_reached (); 649s # #endif 649s # } 649s # g_variant_iter_init (&iter, parameters); 649s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 649s # { 649s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 649s # if (arg_info->use_gvariant) 649s # { 649s # g_value_init (¶mv[n], G_TYPE_VARIANT); 649s # g_value_set_variant (¶mv[n], child); 649s # n++; 649s # } 649s # else 649s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 649s # g_variant_unref (child); 649s # } 649s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 649s # g_value_init (&return_value, G_TYPE_BOOLEAN); 649s # g_signal_emitv (paramv, signal_id, 0, &return_value); 649s # if (!g_value_get_boolean (&return_value)) 649s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 649s # g_value_unset (&return_value); 649s # for (n = 0; n < num_params + num_extra; n++) 649s # g_value_unset (¶mv[n]); 649s # g_free (paramv); 649s # } 649s # 649s # static GVariant * 649s # _org_project_callable_iface_skeleton_handle_get_property ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name G_GNUC_UNUSED, 649s # const gchar *property_name, 649s # GError **error, 649s # gpointer user_data) 649s # { 649s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 649s # GValue value = G_VALUE_INIT; 649s # GParamSpec *pspec; 649s # _ExtendedGDBusPropertyInfo *info; 649s # GVariant *ret; 649s # ret = NULL; 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 649s # g_assert (info != NULL); 649s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 649s # if (pspec == NULL) 649s # { 649s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 649s # } 649s # else 649s # { 649s # g_value_init (&value, pspec->value_type); 649s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 649s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 649s # g_value_unset (&value); 649s # } 649s # return ret; 649s # } 649s # 649s # static gboolean 649s # _org_project_callable_iface_skeleton_handle_set_property ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name G_GNUC_UNUSED, 649s # const gchar *property_name, 649s # GVariant *variant, 649s # GError **error, 649s # gpointer user_data) 649s # { 649s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 649s # GValue value = G_VALUE_INIT; 649s # GParamSpec *pspec; 649s # _ExtendedGDBusPropertyInfo *info; 649s # gboolean ret; 649s # ret = FALSE; 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 649s # g_assert (info != NULL); 649s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 649s # if (pspec == NULL) 649s # { 649s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 649s # } 649s # else 649s # { 649s # if (info->use_gvariant) 649s # g_value_set_variant (&value, variant); 649s # else 649s # g_dbus_gvariant_to_gvalue (variant, &value); 649s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 649s # g_value_unset (&value); 649s # ret = TRUE; 649s # } 649s # return ret; 649s # } 649s # 649s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 649s # { 649s # _org_project_callable_iface_skeleton_handle_method_call, 649s # _org_project_callable_iface_skeleton_handle_get_property, 649s # _org_project_callable_iface_skeleton_handle_set_property, 649s # {NULL} 649s # }; 649s # 649s # static GDBusInterfaceInfo * 649s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 649s # { 649s # return org_project_callable_iface_interface_info (); 649s # } 649s # 649s # static GDBusInterfaceVTable * 649s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 649s # { 649s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 649s # } 649s # 649s # static GVariant * 649s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 649s # { 649s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 649s # 649s # GVariantBuilder builder; 649s # guint n; 649s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 649s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 649s # goto out; 649s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 649s # { 649s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 649s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 649s # { 649s # GVariant *value; 649s # 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); 649s # if (value != NULL) 649s # { 649s # g_variant_take_ref (value); 649s # g_variant_builder_add (&builder, "{sv}", info->name, value); 649s # g_variant_unref (value); 649s # } 649s # } 649s # } 649s # out: 649s # return g_variant_builder_end (&builder); 649s # } 649s # 649s # static void 649s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 649s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 649s # 649s # #else 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 649s # 649s # #endif 649s # static void 649s # org_project_callable_iface_skeleton_finalize (GObject *object) 649s # { 649s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 649s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 649s # if (skeleton->priv->changed_properties_idle_source != NULL) 649s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 649s # g_main_context_unref (skeleton->priv->context); 649s # g_mutex_clear (&skeleton->priv->lock); 649s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 649s # } 649s # 649s # static void 649s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 649s # { 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 649s # #else 649s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 649s # #endif 649s # 649s # g_mutex_init (&skeleton->priv->lock); 649s # skeleton->priv->context = g_main_context_ref_thread_default (); 649s # } 649s # 649s # static void 649s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 649s # { 649s # GObjectClass *gobject_class; 649s # GDBusInterfaceSkeletonClass *skeleton_class; 649s # 649s # gobject_class = G_OBJECT_CLASS (klass); 649s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 649s # 649s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 649s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 649s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 649s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 649s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 649s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 649s # #endif 649s # } 649s # 649s # static void 649s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_skeleton_new: 649s # * 649s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 649s # * 649s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 649s # */ 649s # OrgProjectCallableIface * 649s # org_project_callable_iface_skeleton_new (void) 649s # { 649s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 649s # } 649s # 649s # /* ------------------------------------------------------------------------ 649s # * Code for interface org.project.OtherCallableIface 649s # * ------------------------------------------------------------------------ 649s # */ 649s # 649s # /** 649s # * SECTION:OrgProjectOtherCallableIface 649s # * @title: OrgProjectOtherCallableIface 649s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 649s # * 649s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 649s # */ 649s # 649s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_b", 649s # (gchar *) "b", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_y", 649s # (gchar *) "y", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_n", 649s # (gchar *) "n", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_q", 649s # (gchar *) "q", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_i", 649s # (gchar *) "i", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_u", 649s # (gchar *) "u", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_x", 649s # (gchar *) "x", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_t", 649s # (gchar *) "t", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_d", 649s # (gchar *) "d", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_s", 649s # (gchar *) "s", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_o", 649s # (gchar *) "o", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_g", 649s # (gchar *) "g", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_h", 649s # (gchar *) "h", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_ay", 649s # (gchar *) "ay", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_as", 649s # (gchar *) "as", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_ao", 649s # (gchar *) "ao", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_aay", 649s # (gchar *) "aay", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_asv", 649s # (gchar *) "a{sv}", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 649s # { 649s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 649s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 649s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 649s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 649s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 649s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 649s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 649s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 649s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 649s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 649s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 649s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 649s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 649s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 649s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 649s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 649s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 649s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 649s # { 649s # { 649s # -1, 649s # (gchar *) "MethodWithManyArgs", 649s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 649s # NULL, 649s # NULL 649s # }, 649s # "handle-method-with-many-args", 649s # FALSE 649s # }; 649s # 649s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 649s # { 649s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 649s # { 649s # { 649s # -1, 649s # (gchar *) "org.project.OtherCallableIface", 649s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 649s # NULL, 649s # NULL, 649s # NULL 649s # }, 649s # "org-project-other-callable-iface", 649s # }; 649s # 649s # 649s # /** 649s # * org_project_other_callable_iface_interface_info: 649s # * 649s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 649s # * 649s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 649s # */ 649s # GDBusInterfaceInfo * 649s # org_project_other_callable_iface_interface_info (void) 649s # { 649s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 649s # } 649s # 649s # /** 649s # * org_project_other_callable_iface_override_properties: 649s # * @klass: The class structure for a #GObject derived class. 649s # * @property_id_begin: The property id to assign to the first overridden property. 649s # * 649s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 649s # * The properties are overridden in the order they are defined. 649s # * 649s # * Returns: The last property id. 649s # */ 649s # guint 649s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 649s # { 649s # return property_id_begin - 1; 649s # } 649s # 649s # 649s # inline static void 649s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 649s # GClosure *closure, 649s # GValue *return_value, 649s # unsigned int n_param_values, 649s # const GValue *param_values, 649s # void *invocation_hint, 649s # void *marshal_data) 649s # { 649s # _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, 649s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 649s # } 649s # 649s # 649s # /** 649s # * OrgProjectOtherCallableIface: 649s # * 649s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 649s # */ 649s # 649s # /** 649s # * OrgProjectOtherCallableIfaceIface: 649s # * @parent_iface: The parent interface. 649s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 649s # * 649s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 649s # */ 649s # 649s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 649s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 649s # 649s # static void 649s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 649s # { 649s # /* GObject signals for incoming D-Bus method calls: */ 649s # /** 649s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 649s # * @object: A #OrgProjectOtherCallableIface. 649s # * @invocation: A #GDBusMethodInvocation. 649s # * @arg_an_b: Argument passed by remote caller. 649s # * @arg_an_y: Argument passed by remote caller. 649s # * @arg_an_n: Argument passed by remote caller. 649s # * @arg_an_q: Argument passed by remote caller. 649s # * @arg_an_i: Argument passed by remote caller. 649s # * @arg_an_u: Argument passed by remote caller. 649s # * @arg_an_x: Argument passed by remote caller. 649s # * @arg_an_t: Argument passed by remote caller. 649s # * @arg_an_d: Argument passed by remote caller. 649s # * @arg_an_s: Argument passed by remote caller. 649s # * @arg_an_o: Argument passed by remote caller. 649s # * @arg_an_g: Argument passed by remote caller. 649s # * @arg_an_h: Argument passed by remote caller. 649s # * @arg_an_ay: Argument passed by remote caller. 649s # * @arg_an_as: Argument passed by remote caller. 649s # * @arg_an_ao: Argument passed by remote caller. 649s # * @arg_an_aay: Argument passed by remote caller. 649s # * @arg_an_asv: Argument passed by remote caller. 649s # * 649s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 649s # * 649s # * 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. 649s # * 649s # * 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. 649s # */ 649s # g_signal_new ("handle-method-with-many-args", 649s # G_TYPE_FROM_INTERFACE (iface), 649s # G_SIGNAL_RUN_LAST, 649s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 649s # g_signal_accumulator_true_handled, 649s # NULL, 649s # org_project_other_callable_iface_method_marshal_method_with_many_args, 649s # G_TYPE_BOOLEAN, 649s # 19, 649s # 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); 649s # 649s # } 649s # 649s # /** 649s # * org_project_other_callable_iface_call_method_with_many_args: 649s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 649s # * @arg_an_b: Argument to pass with the method invocation. 649s # * @arg_an_y: Argument to pass with the method invocation. 649s # * @arg_an_n: Argument to pass with the method invocation. 649s # * @arg_an_q: Argument to pass with the method invocation. 649s # * @arg_an_i: Argument to pass with the method invocation. 649s # * @arg_an_u: Argument to pass with the method invocation. 649s # * @arg_an_x: Argument to pass with the method invocation. 649s # * @arg_an_t: Argument to pass with the method invocation. 649s # * @arg_an_d: Argument to pass with the method invocation. 649s # * @arg_an_s: Argument to pass with the method invocation. 649s # * @arg_an_o: Argument to pass with the method invocation. 649s # * @arg_an_g: Argument to pass with the method invocation. 649s # * @arg_an_h: Argument to pass with the method invocation. 649s # * @arg_an_ay: Argument to pass with the method invocation. 649s # * @arg_an_as: Argument to pass with the method invocation. 649s # * @arg_an_ao: Argument to pass with the method invocation. 649s # * @arg_an_aay: Argument to pass with the method invocation. 649s # * @arg_an_asv: Argument to pass with the method invocation. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 649s # * 649s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 649s # */ 649s # void 649s # org_project_other_callable_iface_call_method_with_many_args ( 649s # OrgProjectOtherCallableIface *proxy, 649s # gboolean arg_an_b, 649s # guchar arg_an_y, 649s # gint16 arg_an_n, 649s # guint16 arg_an_q, 649s # gint arg_an_i, 649s # guint arg_an_u, 649s # gint64 arg_an_x, 649s # guint64 arg_an_t, 649s # gdouble arg_an_d, 649s # const gchar *arg_an_s, 649s # const gchar *arg_an_o, 649s # const gchar *arg_an_g, 649s # GVariant *arg_an_h, 649s # const gchar *arg_an_ay, 649s # const gchar *const *arg_an_as, 649s # const gchar *const *arg_an_ao, 649s # const gchar *const *arg_an_aay, 649s # GVariant *arg_an_asv, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 649s # "MethodWithManyArgs", 649s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 649s # arg_an_b, 649s # arg_an_y, 649s # arg_an_n, 649s # arg_an_q, 649s # arg_an_i, 649s # arg_an_u, 649s # arg_an_x, 649s # arg_an_t, 649s # arg_an_d, 649s # arg_an_s, 649s # arg_an_o, 649s # arg_an_g, 649s # arg_an_h, 649s # arg_an_ay, 649s # arg_an_as, 649s # arg_an_ao, 649s # arg_an_aay, 649s # arg_an_asv), 649s # G_DBUS_CALL_FLAGS_NONE, 649s # -1, 649s # cancellable, 649s # callback, 649s # user_data); 649s # } 649s # 649s # /** 649s # * org_project_other_callable_iface_call_method_with_many_args_finish: 649s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 649s # * @error: Return location for error or %NULL. 649s # * 649s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 649s # * 649s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 649s # */ 649s # gboolean 649s # org_project_other_callable_iface_call_method_with_many_args_finish ( 649s # OrgProjectOtherCallableIface *proxy, 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GVariant *_ret; 649s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 649s # if (_ret == NULL) 649s # goto _out; 649s # g_variant_get (_ret, 649s # "()"); 649s # g_variant_unref (_ret); 649s # _out: 649s # return _ret != NULL; 649s # } 649s # 649s # /** 649s # * org_project_other_callable_iface_call_method_with_many_args_sync: 649s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 649s # * @arg_an_b: Argument to pass with the method invocation. 649s # * @arg_an_y: Argument to pass with the method invocation. 649s # * @arg_an_n: Argument to pass with the method invocation. 649s # * @arg_an_q: Argument to pass with the method invocation. 649s # * @arg_an_i: Argument to pass with the method invocation. 649s # * @arg_an_u: Argument to pass with the method invocation. 649s # * @arg_an_x: Argument to pass with the method invocation. 649s # * @arg_an_t: Argument to pass with the method invocation. 649s # * @arg_an_d: Argument to pass with the method invocation. 649s # * @arg_an_s: Argument to pass with the method invocation. 649s # * @arg_an_o: Argument to pass with the method invocation. 649s # * @arg_an_g: Argument to pass with the method invocation. 649s # * @arg_an_h: Argument to pass with the method invocation. 649s # * @arg_an_ay: Argument to pass with the method invocation. 649s # * @arg_an_as: Argument to pass with the method invocation. 649s # * @arg_an_ao: Argument to pass with the method invocation. 649s # * @arg_an_aay: Argument to pass with the method invocation. 649s # * @arg_an_asv: Argument to pass with the method invocation. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL. 649s # * 649s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 649s # * 649s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 649s # */ 649s # gboolean 649s # org_project_other_callable_iface_call_method_with_many_args_sync ( 649s # OrgProjectOtherCallableIface *proxy, 649s # gboolean arg_an_b, 649s # guchar arg_an_y, 649s # gint16 arg_an_n, 649s # guint16 arg_an_q, 649s # gint arg_an_i, 649s # guint arg_an_u, 649s # gint64 arg_an_x, 649s # guint64 arg_an_t, 649s # gdouble arg_an_d, 649s # const gchar *arg_an_s, 649s # const gchar *arg_an_o, 649s # const gchar *arg_an_g, 649s # GVariant *arg_an_h, 649s # const gchar *arg_an_ay, 649s # const gchar *const *arg_an_as, 649s # const gchar *const *arg_an_ao, 649s # const gchar *const *arg_an_aay, 649s # GVariant *arg_an_asv, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GVariant *_ret; 649s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 649s # "MethodWithManyArgs", 649s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 649s # arg_an_b, 649s # arg_an_y, 649s # arg_an_n, 649s # arg_an_q, 649s # arg_an_i, 649s # arg_an_u, 649s # arg_an_x, 649s # arg_an_t, 649s # arg_an_d, 649s # arg_an_s, 649s # arg_an_o, 649s # arg_an_g, 649s # arg_an_h, 649s # arg_an_ay, 649s # arg_an_as, 649s # arg_an_ao, 649s # arg_an_aay, 649s # arg_an_asv), 649s # G_DBUS_CALL_FLAGS_NONE, 649s # -1, 649s # cancellable, 649s # error); 649s # if (_ret == NULL) 649s # goto _out; 649s # g_variant_get (_ret, 649s # "()"); 649s # g_variant_unref (_ret); 649s # _out: 649s # return _ret != NULL; 649s # } 649s # 649s # /** 649s # * org_project_other_callable_iface_complete_method_with_many_args: 649s # * @object: A #OrgProjectOtherCallableIface. 649s # * @invocation: (transfer full): A #GDBusMethodInvocation. 649s # * 649s # * 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. 649s # * 649s # * This method will free @invocation, you cannot use it afterwards. 649s # */ 649s # void 649s # org_project_other_callable_iface_complete_method_with_many_args ( 649s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 649s # GDBusMethodInvocation *invocation) 649s # { 649s # g_dbus_method_invocation_return_value (invocation, 649s # g_variant_new ("()")); 649s # } 649s # 649s # /* ------------------------------------------------------------------------ */ 649s # 649s # /** 649s # * OrgProjectOtherCallableIfaceProxy: 649s # * 649s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 649s # */ 649s # 649s # /** 649s # * OrgProjectOtherCallableIfaceProxyClass: 649s # * @parent_class: The parent class. 649s # * 649s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 649s # */ 649s # 649s # struct _OrgProjectOtherCallableIfaceProxyPrivate 649s # { 649s # GData *qdata; 649s # }; 649s # 649s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 649s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 649s # 649s # #else 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 649s # 649s # #endif 649s # static void 649s # org_project_other_callable_iface_proxy_finalize (GObject *object) 649s # { 649s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 649s # g_datalist_clear (&proxy->priv->qdata); 649s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 649s # } 649s # 649s # static void 649s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 649s # guint prop_id G_GNUC_UNUSED, 649s # GValue *value G_GNUC_UNUSED, 649s # GParamSpec *pspec G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void 649s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 649s # guint prop_id G_GNUC_UNUSED, 649s # const GValue *value G_GNUC_UNUSED, 649s # GParamSpec *pspec G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void 649s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 649s # const gchar *sender_name G_GNUC_UNUSED, 649s # const gchar *signal_name, 649s # GVariant *parameters) 649s # { 649s # _ExtendedGDBusSignalInfo *info; 649s # GVariantIter iter; 649s # GVariant *child; 649s # GValue *paramv; 649s # gsize num_params; 649s # gsize n; 649s # guint signal_id; 649s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 649s # if (info == NULL) 649s # return; 649s # num_params = g_variant_n_children (parameters); 649s # paramv = g_new0 (GValue, num_params + 1); 649s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 649s # g_value_set_object (¶mv[0], proxy); 649s # g_variant_iter_init (&iter, parameters); 649s # n = 1; 649s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 649s # { 649s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 649s # if (arg_info->use_gvariant) 649s # { 649s # g_value_init (¶mv[n], G_TYPE_VARIANT); 649s # g_value_set_variant (¶mv[n], child); 649s # n++; 649s # } 649s # else 649s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 649s # g_variant_unref (child); 649s # } 649s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 649s # g_signal_emitv (paramv, signal_id, 0, NULL); 649s # for (n = 0; n < num_params + 1; n++) 649s # g_value_unset (¶mv[n]); 649s # g_free (paramv); 649s # } 649s # 649s # static void 649s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 649s # GVariant *changed_properties, 649s # const gchar *const *invalidated_properties) 649s # { 649s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 649s # guint n; 649s # const gchar *key; 649s # GVariantIter *iter; 649s # _ExtendedGDBusPropertyInfo *info; 649s # g_variant_get (changed_properties, "a{sv}", &iter); 649s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 649s # { 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 649s # g_datalist_remove_data (&proxy->priv->qdata, key); 649s # if (info != NULL) 649s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 649s # } 649s # g_variant_iter_free (iter); 649s # for (n = 0; invalidated_properties[n] != NULL; n++) 649s # { 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 649s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 649s # if (info != NULL) 649s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 649s # } 649s # } 649s # 649s # static void 649s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 649s # { 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 649s # #else 649s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 649s # #endif 649s # 649s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 649s # } 649s # 649s # static void 649s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 649s # { 649s # GObjectClass *gobject_class; 649s # GDBusProxyClass *proxy_class; 649s # 649s # gobject_class = G_OBJECT_CLASS (klass); 649s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 649s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 649s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 649s # 649s # proxy_class = G_DBUS_PROXY_CLASS (klass); 649s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 649s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 649s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 649s # #endif 649s # } 649s # 649s # static void 649s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # /** 649s # * org_project_other_callable_iface_proxy_new: 649s # * @connection: A #GDBusConnection. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 649s # * 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 649s # * 649s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 649s # */ 649s # void 649s # org_project_other_callable_iface_proxy_new ( 649s # GDBusConnection *connection, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # 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); 649s # } 649s # 649s # /** 649s # * org_project_other_callable_iface_proxy_new_finish: 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 649s # * @error: Return location for error or %NULL 649s # * 649s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 649s # * 649s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectOtherCallableIface * 649s # org_project_other_callable_iface_proxy_new_finish ( 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GObject *ret; 649s # GObject *source_object; 649s # source_object = g_async_result_get_source_object (res); 649s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 649s # g_object_unref (source_object); 649s # if (ret != NULL) 649s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # /** 649s # * org_project_other_callable_iface_proxy_new_sync: 649s # * @connection: A #GDBusConnection. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL 649s # * 649s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 649s # * 649s # * The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 649s # * 649s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectOtherCallableIface * 649s # org_project_other_callable_iface_proxy_new_sync ( 649s # GDBusConnection *connection, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GInitable *ret; 649s # 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); 649s # if (ret != NULL) 649s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # 649s # /** 649s # * org_project_other_callable_iface_proxy_new_for_bus: 649s # * @bus_type: A #GBusType. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: A bus name (well-known or unique). 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 649s # * 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 649s # * 649s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 649s # */ 649s # void 649s # org_project_other_callable_iface_proxy_new_for_bus ( 649s # GBusType bus_type, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # 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); 649s # } 649s # 649s # /** 649s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 649s # * @error: Return location for error or %NULL 649s # * 649s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 649s # * 649s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectOtherCallableIface * 649s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GObject *ret; 649s # GObject *source_object; 649s # source_object = g_async_result_get_source_object (res); 649s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 649s # g_object_unref (source_object); 649s # if (ret != NULL) 649s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # /** 649s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 649s # * @bus_type: A #GBusType. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: A bus name (well-known or unique). 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL 649s # * 649s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 649s # * 649s # * The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 649s # * 649s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectOtherCallableIface * 649s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 649s # GBusType bus_type, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GInitable *ret; 649s # 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); 649s # if (ret != NULL) 649s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # 649s # /* ------------------------------------------------------------------------ */ 649s # 649s # /** 649s # * OrgProjectOtherCallableIfaceSkeleton: 649s # * 649s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 649s # */ 649s # 649s # /** 649s # * OrgProjectOtherCallableIfaceSkeletonClass: 649s # * @parent_class: The parent class. 649s # * 649s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 649s # */ 649s # 649s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 649s # { 649s # GValue *properties; 649s # GList *changed_properties; 649s # GSource *changed_properties_idle_source; 649s # GMainContext *context; 649s # GMutex lock; 649s # }; 649s # 649s # static void 649s # _org_project_other_callable_iface_skeleton_handle_method_call ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name, 649s # const gchar *method_name, 649s # GVariant *parameters, 649s # GDBusMethodInvocation *invocation, 649s # gpointer user_data) 649s # { 649s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 649s # _ExtendedGDBusMethodInfo *info; 649s # GVariantIter iter; 649s # GVariant *child; 649s # GValue *paramv; 649s # gsize num_params; 649s # guint num_extra; 649s # gsize n; 649s # guint signal_id; 649s # GValue return_value = G_VALUE_INIT; 649s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 649s # g_assert (info != NULL); 649s # num_params = g_variant_n_children (parameters); 649s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 649s # n = 0; 649s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 649s # g_value_set_object (¶mv[n++], skeleton); 649s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 649s # g_value_set_object (¶mv[n++], invocation); 649s # if (info->pass_fdlist) 649s # { 649s # #ifdef G_OS_UNIX 649s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 649s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 649s # #else 649s # g_assert_not_reached (); 649s # #endif 649s # } 649s # g_variant_iter_init (&iter, parameters); 649s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 649s # { 649s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 649s # if (arg_info->use_gvariant) 649s # { 649s # g_value_init (¶mv[n], G_TYPE_VARIANT); 649s # g_value_set_variant (¶mv[n], child); 649s # n++; 649s # } 649s # else 649s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 649s # g_variant_unref (child); 649s # } 649s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 649s # g_value_init (&return_value, G_TYPE_BOOLEAN); 649s # g_signal_emitv (paramv, signal_id, 0, &return_value); 649s # if (!g_value_get_boolean (&return_value)) 649s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 649s # g_value_unset (&return_value); 649s # for (n = 0; n < num_params + num_extra; n++) 649s # g_value_unset (¶mv[n]); 649s # g_free (paramv); 649s # } 649s # 649s # static GVariant * 649s # _org_project_other_callable_iface_skeleton_handle_get_property ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name G_GNUC_UNUSED, 649s # const gchar *property_name, 649s # GError **error, 649s # gpointer user_data) 649s # { 649s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 649s # GValue value = G_VALUE_INIT; 649s # GParamSpec *pspec; 649s # _ExtendedGDBusPropertyInfo *info; 649s # GVariant *ret; 649s # ret = NULL; 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 649s # g_assert (info != NULL); 649s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 649s # if (pspec == NULL) 649s # { 649s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 649s # } 649s # else 649s # { 649s # g_value_init (&value, pspec->value_type); 649s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 649s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 649s # g_value_unset (&value); 649s # } 649s # return ret; 649s # } 649s # 649s # static gboolean 649s # _org_project_other_callable_iface_skeleton_handle_set_property ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name G_GNUC_UNUSED, 649s # const gchar *property_name, 649s # GVariant *variant, 649s # GError **error, 649s # gpointer user_data) 649s # { 649s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 649s # GValue value = G_VALUE_INIT; 649s # GParamSpec *pspec; 649s # _ExtendedGDBusPropertyInfo *info; 649s # gboolean ret; 649s # ret = FALSE; 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 649s # g_assert (info != NULL); 649s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 649s # if (pspec == NULL) 649s # { 649s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 649s # } 649s # else 649s # { 649s # if (info->use_gvariant) 649s # g_value_set_variant (&value, variant); 649s # else 649s # g_dbus_gvariant_to_gvalue (variant, &value); 649s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 649s # g_value_unset (&value); 649s # ret = TRUE; 649s # } 649s # return ret; 649s # } 649s # 649s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 649s # { 649s # _org_project_other_callable_iface_skeleton_handle_method_call, 649s # _org_project_other_callable_iface_skeleton_handle_get_property, 649s # _org_project_other_callable_iface_skeleton_handle_set_property, 649s # {NULL} 649s # }; 649s # 649s # static GDBusInterfaceInfo * 649s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 649s # { 649s # return org_project_other_callable_iface_interface_info (); 649s # } 649s # 649s # static GDBusInterfaceVTable * 649s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 649s # { 649s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 649s # } 649s # 649s # static GVariant * 649s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 649s # { 649s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 649s # 649s # GVariantBuilder builder; 649s # guint n; 649s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 649s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 649s # goto out; 649s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 649s # { 649s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 649s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 649s # { 649s # GVariant *value; 649s # 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); 649s # if (value != NULL) 649s # { 649s # g_variant_take_ref (value); 649s # g_variant_builder_add (&builder, "{sv}", info->name, value); 649s # g_variant_unref (value); 649s # } 649s # } 649s # } 649s # out: 649s # return g_variant_builder_end (&builder); 649s # } 649s # 649s # static void 649s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 649s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 649s # 649s # #else 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 649s # 649s # #endif 649s # static void 649s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 649s # { 649s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 649s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 649s # if (skeleton->priv->changed_properties_idle_source != NULL) 649s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 649s # g_main_context_unref (skeleton->priv->context); 649s # g_mutex_clear (&skeleton->priv->lock); 649s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 649s # } 649s # 649s # static void 649s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 649s # { 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 649s # #else 649s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 649s # #endif 649s # 649s # g_mutex_init (&skeleton->priv->lock); 649s # skeleton->priv->context = g_main_context_ref_thread_default (); 649s # } 649s # 649s # static void 649s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 649s # { 649s # GObjectClass *gobject_class; 649s # GDBusInterfaceSkeletonClass *skeleton_class; 649s # 649s # gobject_class = G_OBJECT_CLASS (klass); 649s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 649s # 649s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 649s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 649s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 649s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 649s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 649s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 649s # #endif 649s # } 649s # 649s # static void 649s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # /** 649s # * org_project_other_callable_iface_skeleton_new: 649s # * 649s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 649s # * 649s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 649s # */ 649s # OrgProjectOtherCallableIface * 649s # org_project_other_callable_iface_skeleton_new (void) 649s # { 649s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 649s # } 649s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 649s # tmpdir: /tmp/tmp_zw00pv4 649s # codegen: /usr/bin/gdbus-codegen 649s # /tmp/tmp_zw00pv4/tmpwow7gq2y.xml: 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_zw00pv4/tmpwow7gq2y.xml', '--output', '-', '--body'] 649s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 649s # Output: /* 649s # * This file is generated by gdbus-codegen, do not modify it. 649s # * 649s # * The license of this code is the same as for the D-Bus interface description 649s # * it was derived from. Note that it links to GLib, so must comply with the 649s # * LGPL linking clauses. 649s # */ 649s # 649s # #ifdef HAVE_CONFIG_H 649s # # include "config.h" 649s # #endif 649s # 649s # #include 649s # #ifdef G_OS_UNIX 649s # # include 649s # #endif 649s # 649s # #ifdef G_ENABLE_DEBUG 649s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 649s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 649s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 649s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 649s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 649s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 649s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 649s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 649s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 649s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 649s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 649s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 649s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 649s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 649s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 649s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 649s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 649s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 649s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 649s # #else /* !G_ENABLE_DEBUG */ 649s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 649s # * Do not access GValues directly in your code. Instead, use the 649s # * g_value_get_*() functions 649s # */ 649s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 649s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 649s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 649s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 649s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 649s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 649s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 649s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 649s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 649s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 649s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 649s # #endif /* !G_ENABLE_DEBUG */ 649s # 649s # typedef struct 649s # { 649s # GDBusArgInfo parent_struct; 649s # gboolean use_gvariant; 649s # } _ExtendedGDBusArgInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusMethodInfo parent_struct; 649s # const gchar *signal_name; 649s # gboolean pass_fdlist; 649s # } _ExtendedGDBusMethodInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusSignalInfo parent_struct; 649s # const gchar *signal_name; 649s # } _ExtendedGDBusSignalInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusPropertyInfo parent_struct; 649s # const gchar *hyphen_name; 649s # guint use_gvariant : 1; 649s # guint emits_changed_signal : 1; 649s # } _ExtendedGDBusPropertyInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusInterfaceInfo parent_struct; 649s # const gchar *hyphen_name; 649s # } _ExtendedGDBusInterfaceInfo; 649s # 649s # typedef struct 649s # { 649s # const _ExtendedGDBusPropertyInfo *info; 649s # guint prop_id; 649s # GValue orig_value; /* the value before the change */ 649s # } ChangedProperty; 649s # 649s # static void 649s # _changed_property_free (ChangedProperty *data) 649s # { 649s # g_value_unset (&data->orig_value); 649s # g_free (data); 649s # } 649s # 649s # static gboolean 649s # _g_strv_equal0 (gchar **a, gchar **b) 649s # { 649s # gboolean ret = FALSE; 649s # guint n; 649s # if (a == NULL && b == NULL) 649s # { 649s # ret = TRUE; 649s # goto out; 649s # } 649s # if (a == NULL || b == NULL) 649s # goto out; 649s # if (g_strv_length (a) != g_strv_length (b)) 649s # goto out; 649s # for (n = 0; a[n] != NULL; n++) 649s # if (g_strcmp0 (a[n], b[n]) != 0) 649s # goto out; 649s # ret = TRUE; 649s # out: 649s # return ret; 649s # } 649s # 649s # static gboolean 649s # _g_variant_equal0 (GVariant *a, GVariant *b) 649s # { 649s # gboolean ret = FALSE; 649s # if (a == NULL && b == NULL) 649s # { 649s # ret = TRUE; 649s # goto out; 649s # } 649s # if (a == NULL || b == NULL) 649s # goto out; 649s # ret = g_variant_equal (a, b); 649s # out: 649s # return ret; 649s # } 649s # 649s # G_GNUC_UNUSED static gboolean 649s # _g_value_equal (const GValue *a, const GValue *b) 649s # { 649s # gboolean ret = FALSE; 649s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 649s # switch (G_VALUE_TYPE (a)) 649s # { 649s # case G_TYPE_BOOLEAN: 649s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 649s # break; 649s # case G_TYPE_UCHAR: 649s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 649s # break; 649s # case G_TYPE_INT: 649s # ret = (g_value_get_int (a) == g_value_get_int (b)); 649s # break; 649s # case G_TYPE_UINT: 649s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 649s # break; 649s # case G_TYPE_INT64: 649s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 649s # break; 649s # case G_TYPE_UINT64: 649s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 649s # break; 649s # case G_TYPE_DOUBLE: 649s # { 649s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 649s # gdouble da = g_value_get_double (a); 649s # gdouble db = g_value_get_double (b); 649s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 649s # } 649s # break; 649s # case G_TYPE_STRING: 649s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 649s # break; 649s # case G_TYPE_VARIANT: 649s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 649s # break; 649s # default: 649s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 649s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 649s # else 649s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 649s # break; 649s # } 649s # return ret; 649s # } 649s # 649s # static void 649s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 649s # GClosure *closure, 649s # GValue *return_value, 649s # unsigned int n_param_values, 649s # const GValue *param_values, 649s # void *invocation_hint G_GNUC_UNUSED, 649s # void *marshal_data) 649s # { 649s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 649s # (void *data1, 649s # GDBusMethodInvocation *arg_method_invocation, 649s # void *data2); 649s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 649s # GCClosure *cc = (GCClosure*) closure; 649s # void *data1, *data2; 649s # gboolean v_return; 649s # 649s # g_return_if_fail (return_value != NULL); 649s # g_return_if_fail (n_param_values == 2); 649s # 649s # if (G_CCLOSURE_SWAP_DATA (closure)) 649s # { 649s # data1 = closure->data; 649s # data2 = g_value_peek_pointer (param_values + 0); 649s # } 649s # else 649s # { 649s # data1 = g_value_peek_pointer (param_values + 0); 649s # data2 = closure->data; 649s # } 649s # 649s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 649s # (marshal_data ? marshal_data : cc->callback); 649s # 649s # v_return = 649s # callback (data1, 649s # g_marshal_value_peek_object (param_values + 1), 649s # data2); 649s # 649s # g_value_set_boolean (return_value, v_return); 649s # } 649s # 649s # /* ------------------------------------------------------------------------ 649s # * Code for interface org.project.CallableIface 649s # * ------------------------------------------------------------------------ 649s # */ 649s # 649s # /** 649s # * SECTION:OrgProjectCallableIface 649s # * @title: OrgProjectCallableIface 649s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 649s # * 649s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 649s # */ 649s # 649s # /* ---- Introspection data for org.project.CallableIface ---- */ 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_b", 649s # (gchar *) "b", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_y", 649s # (gchar *) "y", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_n", 649s # (gchar *) "n", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_q", 649s # (gchar *) "q", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_i", 649s # (gchar *) "i", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_u", 649s # (gchar *) "u", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_x", 649s # (gchar *) "x", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_t", 649s # (gchar *) "t", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_d", 649s # (gchar *) "d", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_s", 649s # (gchar *) "s", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_o", 649s # (gchar *) "o", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_g", 649s # (gchar *) "g", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_h", 649s # (gchar *) "h", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_ay", 649s # (gchar *) "ay", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_as", 649s # (gchar *) "as", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_ao", 649s # (gchar *) "ao", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_aay", 649s # (gchar *) "aay", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_asv", 649s # (gchar *) "a{sv}", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 649s # { 649s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 649s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 649s # { 649s # { 649s # -1, 649s # (gchar *) "MethodWithManyArgs", 649s # NULL, 649s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 649s # NULL 649s # }, 649s # "handle-method-with-many-args", 649s # FALSE 649s # }; 649s # 649s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 649s # { 649s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 649s # { 649s # { 649s # -1, 649s # (gchar *) "org.project.CallableIface", 649s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 649s # NULL, 649s # NULL, 649s # NULL 649s # }, 649s # "org-project-callable-iface", 649s # }; 649s # 649s # 649s # /** 649s # * org_project_callable_iface_interface_info: 649s # * 649s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 649s # * 649s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 649s # */ 649s # GDBusInterfaceInfo * 649s # org_project_callable_iface_interface_info (void) 649s # { 649s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_override_properties: 649s # * @klass: The class structure for a #GObject derived class. 649s # * @property_id_begin: The property id to assign to the first overridden property. 649s # * 649s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 649s # * The properties are overridden in the order they are defined. 649s # * 649s # * Returns: The last property id. 649s # */ 649s # guint 649s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 649s # { 649s # return property_id_begin - 1; 649s # } 649s # 649s # 649s # inline static void 649s # org_project_callable_iface_method_marshal_method_with_many_args ( 649s # GClosure *closure, 649s # GValue *return_value, 649s # unsigned int n_param_values, 649s # const GValue *param_values, 649s # void *invocation_hint, 649s # void *marshal_data) 649s # { 649s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 649s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 649s # } 649s # 649s # 649s # /** 649s # * OrgProjectCallableIface: 649s # * 649s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 649s # */ 649s # 649s # /** 649s # * OrgProjectCallableIfaceIface: 649s # * @parent_iface: The parent interface. 649s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 649s # * 649s # * Virtual table for the D-Bus interface org.project.CallableIface. 649s # */ 649s # 649s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 649s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 649s # 649s # static void 649s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 649s # { 649s # /* GObject signals for incoming D-Bus method calls: */ 649s # /** 649s # * OrgProjectCallableIface::handle-method-with-many-args: 649s # * @object: A #OrgProjectCallableIface. 649s # * @invocation: A #GDBusMethodInvocation. 649s # * 649s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 649s # * 649s # * 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. 649s # * 649s # * 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. 649s # */ 649s # g_signal_new ("handle-method-with-many-args", 649s # G_TYPE_FROM_INTERFACE (iface), 649s # G_SIGNAL_RUN_LAST, 649s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 649s # g_signal_accumulator_true_handled, 649s # NULL, 649s # org_project_callable_iface_method_marshal_method_with_many_args, 649s # G_TYPE_BOOLEAN, 649s # 1, 649s # G_TYPE_DBUS_METHOD_INVOCATION); 649s # 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_call_method_with_many_args: 649s # * @proxy: A #OrgProjectCallableIfaceProxy. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 649s # * 649s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 649s # */ 649s # void 649s # org_project_callable_iface_call_method_with_many_args ( 649s # OrgProjectCallableIface *proxy, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 649s # "MethodWithManyArgs", 649s # g_variant_new ("()"), 649s # G_DBUS_CALL_FLAGS_NONE, 649s # -1, 649s # cancellable, 649s # callback, 649s # user_data); 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_call_method_with_many_args_finish: 649s # * @proxy: A #OrgProjectCallableIfaceProxy. 649s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 649s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 649s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 649s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 649s # * @error: Return location for error or %NULL. 649s # * 649s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 649s # * 649s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 649s # */ 649s # gboolean 649s # org_project_callable_iface_call_method_with_many_args_finish ( 649s # OrgProjectCallableIface *proxy, 649s # gboolean *out_an_b, 649s # guchar *out_an_y, 649s # gint16 *out_an_n, 649s # guint16 *out_an_q, 649s # gint *out_an_i, 649s # guint *out_an_u, 649s # gint64 *out_an_x, 649s # guint64 *out_an_t, 649s # gdouble *out_an_d, 649s # gchar **out_an_s, 649s # gchar **out_an_o, 649s # gchar **out_an_g, 649s # GVariant **out_an_h, 649s # gchar **out_an_ay, 649s # gchar ***out_an_as, 649s # gchar ***out_an_ao, 649s # gchar ***out_an_aay, 649s # GVariant **out_an_asv, 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GVariant *_ret; 649s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 649s # if (_ret == NULL) 649s # goto _out; 649s # g_variant_get (_ret, 649s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 649s # out_an_b, 649s # out_an_y, 649s # out_an_n, 649s # out_an_q, 649s # out_an_i, 649s # out_an_u, 649s # out_an_x, 649s # out_an_t, 649s # out_an_d, 649s # out_an_s, 649s # out_an_o, 649s # out_an_g, 649s # out_an_h, 649s # out_an_ay, 649s # out_an_as, 649s # out_an_ao, 649s # out_an_aay, 649s # out_an_asv); 649s # g_variant_unref (_ret); 649s # _out: 649s # return _ret != NULL; 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_call_method_with_many_args_sync: 649s # * @proxy: A #OrgProjectCallableIfaceProxy. 649s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 649s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 649s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 649s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL. 649s # * 649s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 649s # * 649s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 649s # */ 649s # gboolean 649s # org_project_callable_iface_call_method_with_many_args_sync ( 649s # OrgProjectCallableIface *proxy, 649s # gboolean *out_an_b, 649s # guchar *out_an_y, 649s # gint16 *out_an_n, 649s # guint16 *out_an_q, 649s # gint *out_an_i, 649s # guint *out_an_u, 649s # gint64 *out_an_x, 649s # guint64 *out_an_t, 649s # gdouble *out_an_d, 649s # gchar **out_an_s, 649s # gchar **out_an_o, 649s # gchar **out_an_g, 649s # GVariant **out_an_h, 649s # gchar **out_an_ay, 649s # gchar ***out_an_as, 649s # gchar ***out_an_ao, 649s # gchar ***out_an_aay, 649s # GVariant **out_an_asv, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GVariant *_ret; 649s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 649s # "MethodWithManyArgs", 649s # g_variant_new ("()"), 649s # G_DBUS_CALL_FLAGS_NONE, 649s # -1, 649s # cancellable, 649s # error); 649s # if (_ret == NULL) 649s # goto _out; 649s # g_variant_get (_ret, 649s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 649s # out_an_b, 649s # out_an_y, 649s # out_an_n, 649s # out_an_q, 649s # out_an_i, 649s # out_an_u, 649s # out_an_x, 649s # out_an_t, 649s # out_an_d, 649s # out_an_s, 649s # out_an_o, 649s # out_an_g, 649s # out_an_h, 649s # out_an_ay, 649s # out_an_as, 649s # out_an_ao, 649s # out_an_aay, 649s # out_an_asv); 649s # g_variant_unref (_ret); 649s # _out: 649s # return _ret != NULL; 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_complete_method_with_many_args: 649s # * @object: A #OrgProjectCallableIface. 649s # * @invocation: (transfer full): A #GDBusMethodInvocation. 649s # * @an_b: Parameter to return. 649s # * @an_y: Parameter to return. 649s # * @an_n: Parameter to return. 649s # * @an_q: Parameter to return. 649s # * @an_i: Parameter to return. 649s # * @an_u: Parameter to return. 649s # * @an_x: Parameter to return. 649s # * @an_t: Parameter to return. 649s # * @an_d: Parameter to return. 649s # * @an_s: Parameter to return. 649s # * @an_o: Parameter to return. 649s # * @an_g: Parameter to return. 649s # * @an_h: Parameter to return. 649s # * @an_ay: Parameter to return. 649s # * @an_as: Parameter to return. 649s # * @an_ao: Parameter to return. 649s # * @an_aay: Parameter to return. 649s # * @an_asv: Parameter to return. 649s # * 649s # * 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. 649s # * 649s # * This method will free @invocation, you cannot use it afterwards. 649s # */ 649s # void 649s # org_project_callable_iface_complete_method_with_many_args ( 649s # OrgProjectCallableIface *object G_GNUC_UNUSED, 649s # GDBusMethodInvocation *invocation, 649s # gboolean an_b, 649s # guchar an_y, 649s # gint16 an_n, 649s # guint16 an_q, 649s # gint an_i, 649s # guint an_u, 649s # gint64 an_x, 649s # guint64 an_t, 649s # gdouble an_d, 649s # const gchar *an_s, 649s # const gchar *an_o, 649s # const gchar *an_g, 649s # GVariant *an_h, 649s # const gchar *an_ay, 649s # const gchar *const *an_as, 649s # const gchar *const *an_ao, 649s # const gchar *const *an_aay, 649s # GVariant *an_asv) 649s # { 649s # g_dbus_method_invocation_return_value (invocation, 649s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 649s # an_b, 649s # an_y, 649s # an_n, 649s # an_q, 649s # an_i, 649s # an_u, 649s # an_x, 649s # an_t, 649s # an_d, 649s # an_s, 649s # an_o, 649s # an_g, 649s # an_h, 649s # an_ay, 649s # an_as, 649s # an_ao, 649s # an_aay, 649s # an_asv)); 649s # } 649s # 649s # /* ------------------------------------------------------------------------ */ 649s # 649s # /** 649s # * OrgProjectCallableIfaceProxy: 649s # * 649s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 649s # */ 649s # 649s # /** 649s # * OrgProjectCallableIfaceProxyClass: 649s # * @parent_class: The parent class. 649s # * 649s # * Class structure for #OrgProjectCallableIfaceProxy. 649s # */ 649s # 649s # struct _OrgProjectCallableIfaceProxyPrivate 649s # { 649s # GData *qdata; 649s # }; 649s # 649s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 649s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 649s # 649s # #else 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 649s # 649s # #endif 649s # static void 649s # org_project_callable_iface_proxy_finalize (GObject *object) 649s # { 649s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 649s # g_datalist_clear (&proxy->priv->qdata); 649s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 649s # } 649s # 649s # static void 649s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 649s # guint prop_id G_GNUC_UNUSED, 649s # GValue *value G_GNUC_UNUSED, 649s # GParamSpec *pspec G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void 649s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 649s # guint prop_id G_GNUC_UNUSED, 649s # const GValue *value G_GNUC_UNUSED, 649s # GParamSpec *pspec G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void 649s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 649s # const gchar *sender_name G_GNUC_UNUSED, 649s # const gchar *signal_name, 649s # GVariant *parameters) 649s # { 649s # _ExtendedGDBusSignalInfo *info; 649s # GVariantIter iter; 649s # GVariant *child; 649s # GValue *paramv; 649s # gsize num_params; 649s # gsize n; 649s # guint signal_id; 649s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 649s # if (info == NULL) 649s # return; 649s # num_params = g_variant_n_children (parameters); 649s # paramv = g_new0 (GValue, num_params + 1); 649s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 649s # g_value_set_object (¶mv[0], proxy); 649s # g_variant_iter_init (&iter, parameters); 649s # n = 1; 649s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 649s # { 649s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 649s # if (arg_info->use_gvariant) 649s # { 649s # g_value_init (¶mv[n], G_TYPE_VARIANT); 649s # g_value_set_variant (¶mv[n], child); 649s # n++; 649s # } 649s # else 649s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 649s # g_variant_unref (child); 649s # } 649s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 649s # g_signal_emitv (paramv, signal_id, 0, NULL); 649s # for (n = 0; n < num_params + 1; n++) 649s # g_value_unset (¶mv[n]); 649s # g_free (paramv); 649s # } 649s # 649s # static void 649s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 649s # GVariant *changed_properties, 649s # const gchar *const *invalidated_properties) 649s # { 649s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 649s # guint n; 649s # const gchar *key; 649s # GVariantIter *iter; 649s # _ExtendedGDBusPropertyInfo *info; 649s # g_variant_get (changed_properties, "a{sv}", &iter); 649s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 649s # { 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 649s # g_datalist_remove_data (&proxy->priv->qdata, key); 649s # if (info != NULL) 649s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 649s # } 649s # g_variant_iter_free (iter); 649s # for (n = 0; invalidated_properties[n] != NULL; n++) 649s # { 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 649s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 649s # if (info != NULL) 649s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 649s # } 649s # } 649s # 649s # static void 649s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 649s # { 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 649s # #else 649s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 649s # #endif 649s # 649s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 649s # } 649s # 649s # static void 649s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 649s # { 649s # GObjectClass *gobject_class; 649s # GDBusProxyClass *proxy_class; 649s # 649s # gobject_class = G_OBJECT_CLASS (klass); 649s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 649s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 649s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 649s # 649s # proxy_class = G_DBUS_PROXY_CLASS (klass); 649s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 649s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 649s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 649s # #endif 649s # } 649s # 649s # static void 649s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_proxy_new: 649s # * @connection: A #GDBusConnection. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 649s # * 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 649s # * 649s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 649s # */ 649s # void 649s # org_project_callable_iface_proxy_new ( 649s # GDBusConnection *connection, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # 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); 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_proxy_new_finish: 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 649s # * @error: Return location for error or %NULL 649s # * 649s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 649s # * 649s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectCallableIface * 649s # org_project_callable_iface_proxy_new_finish ( 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GObject *ret; 649s # GObject *source_object; 649s # source_object = g_async_result_get_source_object (res); 649s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 649s # g_object_unref (source_object); 649s # if (ret != NULL) 649s # return ORG_PROJECT_CALLABLE_IFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_proxy_new_sync: 649s # * @connection: A #GDBusConnection. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL 649s # * 649s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 649s # * 649s # * The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 649s # * 649s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectCallableIface * 649s # org_project_callable_iface_proxy_new_sync ( 649s # GDBusConnection *connection, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GInitable *ret; 649s # 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); 649s # if (ret != NULL) 649s # return ORG_PROJECT_CALLABLE_IFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # 649s # /** 649s # * org_project_callable_iface_proxy_new_for_bus: 649s # * @bus_type: A #GBusType. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: A bus name (well-known or unique). 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 649s # * 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 649s # * 649s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 649s # */ 649s # void 649s # org_project_callable_iface_proxy_new_for_bus ( 649s # GBusType bus_type, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # 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); 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_proxy_new_for_bus_finish: 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 649s # * @error: Return location for error or %NULL 649s # * 649s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 649s # * 649s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectCallableIface * 649s # org_project_callable_iface_proxy_new_for_bus_finish ( 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GObject *ret; 649s # GObject *source_object; 649s # source_object = g_async_result_get_source_object (res); 649s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 649s # g_object_unref (source_object); 649s # if (ret != NULL) 649s # return ORG_PROJECT_CALLABLE_IFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_proxy_new_for_bus_sync: 649s # * @bus_type: A #GBusType. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: A bus name (well-known or unique). 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL 649s # * 649s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 649s # * 649s # * The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 649s # * 649s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectCallableIface * 649s # org_project_callable_iface_proxy_new_for_bus_sync ( 649s # GBusType bus_type, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GInitable *ret; 649s # 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); 649s # if (ret != NULL) 649s # return ORG_PROJECT_CALLABLE_IFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # 649s # /* ------------------------------------------------------------------------ */ 649s # 649s # /** 649s # * OrgProjectCallableIfaceSkeleton: 649s # * 649s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 649s # */ 649s # 649s # /** 649s # * OrgProjectCallableIfaceSkeletonClass: 649s # * @parent_class: The parent class. 649s # * 649s # * Class structure for #OrgProjectCallableIfaceSkeleton. 649s # */ 649s # 649s # struct _OrgProjectCallableIfaceSkeletonPrivate 649s # { 649s # GValue *properties; 649s # GList *changed_properties; 649s # GSource *changed_properties_idle_source; 649s # GMainContext *context; 649s # GMutex lock; 649s # }; 649s # 649s # static void 649s # _org_project_callable_iface_skeleton_handle_method_call ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name, 649s # const gchar *method_name, 649s # GVariant *parameters, 649s # GDBusMethodInvocation *invocation, 649s # gpointer user_data) 649s # { 649s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 649s # _ExtendedGDBusMethodInfo *info; 649s # GVariantIter iter; 649s # GVariant *child; 649s # GValue *paramv; 649s # gsize num_params; 649s # guint num_extra; 649s # gsize n; 649s # guint signal_id; 649s # GValue return_value = G_VALUE_INIT; 649s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 649s # g_assert (info != NULL); 649s # num_params = g_variant_n_children (parameters); 649s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 649s # n = 0; 649s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 649s # g_value_set_object (¶mv[n++], skeleton); 649s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 649s # g_value_set_object (¶mv[n++], invocation); 649s # if (info->pass_fdlist) 649s # { 649s # #ifdef G_OS_UNIX 649s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 649s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 649s # #else 649s # g_assert_not_reached (); 649s # #endif 649s # } 649s # g_variant_iter_init (&iter, parameters); 649s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 649s # { 649s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 649s # if (arg_info->use_gvariant) 649s # { 649s # g_value_init (¶mv[n], G_TYPE_VARIANT); 649s # g_value_set_variant (¶mv[n], child); 649s # n++; 649s # } 649s # else 649s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 649s # g_variant_unref (child); 649s # } 649s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 649s # g_value_init (&return_value, G_TYPE_BOOLEAN); 649s # g_signal_emitv (paramv, signal_id, 0, &return_value); 649s # if (!g_value_get_boolean (&return_value)) 649s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 649s # g_value_unset (&return_value); 649s # for (n = 0; n < num_params + num_extra; n++) 649s # g_value_unset (¶mv[n]); 649s # g_free (paramv); 649s # } 649s # 649s # static GVariant * 649s # _org_project_callable_iface_skeleton_handle_get_property ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name G_GNUC_UNUSED, 649s # const gchar *property_name, 649s # GError **error, 649s # gpointer user_data) 649s # { 649s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 649s # GValue value = G_VALUE_INIT; 649s # GParamSpec *pspec; 649s # _ExtendedGDBusPropertyInfo *info; 649s # GVariant *ret; 649s # ret = NULL; 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 649s # g_assert (info != NULL); 649s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 649s # if (pspec == NULL) 649s # { 649s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 649s # } 649s # else 649s # { 649s # g_value_init (&value, pspec->value_type); 649s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 649s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 649s # g_value_unset (&value); 649s # } 649s # return ret; 649s # } 649s # 649s # static gboolean 649s # _org_project_callable_iface_skeleton_handle_set_property ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name G_GNUC_UNUSED, 649s # const gchar *property_name, 649s # GVariant *variant, 649s # GError **error, 649s # gpointer user_data) 649s # { 649s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 649s # GValue value = G_VALUE_INIT; 649s # GParamSpec *pspec; 649s # _ExtendedGDBusPropertyInfo *info; 649s # gboolean ret; 649s # ret = FALSE; 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 649s # g_assert (info != NULL); 649s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 649s # if (pspec == NULL) 649s # { 649s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 649s # } 649s # else 649s # { 649s # if (info->use_gvariant) 649s # g_value_set_variant (&value, variant); 649s # else 649s # g_dbus_gvariant_to_gvalue (variant, &value); 649s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 649s # g_value_unset (&value); 649s # ret = TRUE; 649s # } 649s # return ret; 649s # } 649s # 649s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 649s # { 649s # _org_project_callable_iface_skeleton_handle_method_call, 649s # _org_project_callable_iface_skeleton_handle_get_property, 649s # _org_project_callable_iface_skeleton_handle_set_property, 649s # {NULL} 649s # }; 649s # 649s # static GDBusInterfaceInfo * 649s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 649s # { 649s # return org_project_callable_iface_interface_info (); 649s # } 649s # 649s # static GDBusInterfaceVTable * 649s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 649s # { 649s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 649s # } 649s # 649s # static GVariant * 649s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 649s # { 649s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 649s # 649s # GVariantBuilder builder; 649s # guint n; 649s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 649s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 649s # goto out; 649s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 649s # { 649s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 649s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 649s # { 649s # GVariant *value; 649s # 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); 649s # if (value != NULL) 649s # { 649s # g_variant_take_ref (value); 649s # g_variant_builder_add (&builder, "{sv}", info->name, value); 649s # g_variant_unref (value); 649s # } 649s # } 649s # } 649s # out: 649s # return g_variant_builder_end (&builder); 649s # } 649s # 649s # static void 649s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 649s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 649s # 649s # #else 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 649s # 649s # #endif 649s # static void 649s # org_project_callable_iface_skeleton_finalize (GObject *object) 649s # { 649s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 649s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 649s # if (skeleton->priv->changed_properties_idle_source != NULL) 649s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 649s # g_main_context_unref (skeleton->priv->context); 649s # g_mutex_clear (&skeleton->priv->lock); 649s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 649s # } 649s # 649s # static void 649s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 649s # { 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 649s # #else 649s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 649s # #endif 649s # 649s # g_mutex_init (&skeleton->priv->lock); 649s # skeleton->priv->context = g_main_context_ref_thread_default (); 649s # } 649s # 649s # static void 649s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 649s # { 649s # GObjectClass *gobject_class; 649s # GDBusInterfaceSkeletonClass *skeleton_class; 649s # 649s # gobject_class = G_OBJECT_CLASS (klass); 649s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 649s # 649s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 649s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 649s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 649s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 649s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 649s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 649s # #endif 649s # } 649s # 649s # static void 649s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # /** 649s # * org_project_callable_iface_skeleton_new: 649s # * 649s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 649s # * 649s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 649s # */ 649s # OrgProjectCallableIface * 649s # org_project_callable_iface_skeleton_new (void) 649s # { 649s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 649s # } 649s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 649s # tmpdir: /tmp/tmpj60itoxw 649s # codegen: /usr/bin/gdbus-codegen 649s # /tmp/tmpj60itoxw/tmpxqrfq3q_.xml: 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj60itoxw/tmpxqrfq3q_.xml', '--output', '-', '--body'] 649s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 649s # Output: /* 649s # * This file is generated by gdbus-codegen, do not modify it. 649s # * 649s # * The license of this code is the same as for the D-Bus interface description 649s # * it was derived from. Note that it links to GLib, so must comply with the 649s # * LGPL linking clauses. 649s # */ 649s # 649s # #ifdef HAVE_CONFIG_H 649s # # include "config.h" 649s # #endif 649s # 649s # #include 649s # #ifdef G_OS_UNIX 649s # # include 649s # #endif 649s # 649s # #ifdef G_ENABLE_DEBUG 649s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 649s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 649s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 649s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 649s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 649s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 649s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 649s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 649s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 649s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 649s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 649s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 649s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 649s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 649s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 649s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 649s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 649s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 649s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 649s # #else /* !G_ENABLE_DEBUG */ 649s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 649s # * Do not access GValues directly in your code. Instead, use the 649s # * g_value_get_*() functions 649s # */ 649s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 649s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 649s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 649s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 649s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 649s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 649s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 649s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 649s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 649s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 649s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 649s # #endif /* !G_ENABLE_DEBUG */ 649s # 649s # typedef struct 649s # { 649s # GDBusArgInfo parent_struct; 649s # gboolean use_gvariant; 649s # } _ExtendedGDBusArgInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusMethodInfo parent_struct; 649s # const gchar *signal_name; 649s # gboolean pass_fdlist; 649s # } _ExtendedGDBusMethodInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusSignalInfo parent_struct; 649s # const gchar *signal_name; 649s # } _ExtendedGDBusSignalInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusPropertyInfo parent_struct; 649s # const gchar *hyphen_name; 649s # guint use_gvariant : 1; 649s # guint emits_changed_signal : 1; 649s # } _ExtendedGDBusPropertyInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusInterfaceInfo parent_struct; 649s # const gchar *hyphen_name; 649s # } _ExtendedGDBusInterfaceInfo; 649s # 649s # typedef struct 649s # { 649s # const _ExtendedGDBusPropertyInfo *info; 649s # guint prop_id; 649s # GValue orig_value; /* the value before the change */ 649s # } ChangedProperty; 649s # 649s # static void 649s # _changed_property_free (ChangedProperty *data) 649s # { 649s # g_value_unset (&data->orig_value); 649s # g_free (data); 649s # } 649s # 649s # static gboolean 649s # _g_strv_equal0 (gchar **a, gchar **b) 649s # { 649s # gboolean ret = FALSE; 649s # guint n; 649s # if (a == NULL && b == NULL) 649s # { 649s # ret = TRUE; 649s # goto out; 649s # } 649s # if (a == NULL || b == NULL) 649s # goto out; 649s # if (g_strv_length (a) != g_strv_length (b)) 649s # goto out; 649s # for (n = 0; a[n] != NULL; n++) 649s # if (g_strcmp0 (a[n], b[n]) != 0) 649s # goto out; 649s # ret = TRUE; 649s # out: 649s # return ret; 649s # } 649s # 649s # static gboolean 649s # _g_variant_equal0 (GVariant *a, GVariant *b) 649s # { 649s # gboolean ret = FALSE; 649s # if (a == NULL && b == NULL) 649s # { 649s # ret = TRUE; 649s # goto out; 649s # } 649s # if (a == NULL || b == NULL) 649s # goto out; 649s # ret = g_variant_equal (a, b); 649s # out: 649s # return ret; 649s # } 649s # 649s # G_GNUC_UNUSED static gboolean 649s # _g_value_equal (const GValue *a, const GValue *b) 649s # { 649s # gboolean ret = FALSE; 649s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 649s # switch (G_VALUE_TYPE (a)) 649s # { 649s # case G_TYPE_BOOLEAN: 649s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 649s # break; 649s # case G_TYPE_UCHAR: 649s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 649s # break; 649s # case G_TYPE_INT: 649s # ret = (g_value_get_int (a) == g_value_get_int (b)); 649s # break; 649s # case G_TYPE_UINT: 649s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 649s # break; 649s # case G_TYPE_INT64: 649s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 649s # break; 649s # case G_TYPE_UINT64: 649s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 649s # break; 649s # case G_TYPE_DOUBLE: 649s # { 649s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 649s # gdouble da = g_value_get_double (a); 649s # gdouble db = g_value_get_double (b); 649s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 649s # } 649s # break; 649s # case G_TYPE_STRING: 649s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 649s # break; 649s # case G_TYPE_VARIANT: 649s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 649s # break; 649s # default: 649s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 649s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 649s # else 649s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 649s # break; 649s # } 649s # return ret; 649s # } 649s # 649s # static void 649s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 649s # GClosure *closure, 649s # GValue *return_value, 649s # unsigned int n_param_values, 649s # const GValue *param_values, 649s # void *invocation_hint G_GNUC_UNUSED, 649s # void *marshal_data) 649s # { 649s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 649s # (void *data1, 649s # GUnixFDList *arg_fd_list, 649s # GDBusMethodInvocation *arg_method_invocation, 649s # const gchar *arg_greeting, 649s # void *data2); 649s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 649s # GCClosure *cc = (GCClosure*) closure; 649s # void *data1, *data2; 649s # gboolean v_return; 649s # 649s # g_return_if_fail (return_value != NULL); 649s # g_return_if_fail (n_param_values == 4); 649s # 649s # if (G_CCLOSURE_SWAP_DATA (closure)) 649s # { 649s # data1 = closure->data; 649s # data2 = g_value_peek_pointer (param_values + 0); 649s # } 649s # else 649s # { 649s # data1 = g_value_peek_pointer (param_values + 0); 649s # data2 = closure->data; 649s # } 649s # 649s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 649s # (marshal_data ? marshal_data : cc->callback); 649s # 649s # v_return = 649s # callback (data1, 649s # g_marshal_value_peek_object (param_values + 1), 649s # g_marshal_value_peek_object (param_values + 2), 649s # g_marshal_value_peek_string (param_values + 3), 649s # data2); 649s # 649s # g_value_set_boolean (return_value, v_return); 649s # } 649s # 649s # /* ------------------------------------------------------------------------ 649s # * Code for interface test.FDPassing 649s # * ------------------------------------------------------------------------ 649s # */ 649s # 649s # /** 649s # * SECTION:TestFDPassing 649s # * @title: TestFDPassing 649s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 649s # * 649s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 649s # */ 649s # 649s # /* ---- Introspection data for test.FDPassing ---- */ 649s # 649s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 649s # { 649s # { 649s # -1, 649s # (gchar *) "greeting", 649s # (gchar *) "s", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 649s # { 649s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 649s # { 649s # { 649s # -1, 649s # (gchar *) "response", 649s # (gchar *) "s", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 649s # { 649s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 649s # { 649s # { 649s # -1, 649s # (gchar *) "HelloFD", 649s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 649s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 649s # NULL 649s # }, 649s # "handle-hello-fd", 649s # TRUE 649s # }; 649s # 649s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 649s # { 649s # &_test_fdpassing_method_info_hello_fd.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 649s # { 649s # { 649s # -1, 649s # (gchar *) "test.FDPassing", 649s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 649s # NULL, 649s # NULL, 649s # NULL 649s # }, 649s # "test-fdpassing", 649s # }; 649s # 649s # 649s # /** 649s # * test_fdpassing_interface_info: 649s # * 649s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 649s # * 649s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 649s # */ 649s # GDBusInterfaceInfo * 649s # test_fdpassing_interface_info (void) 649s # { 649s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 649s # } 649s # 649s # /** 649s # * test_fdpassing_override_properties: 649s # * @klass: The class structure for a #GObject derived class. 649s # * @property_id_begin: The property id to assign to the first overridden property. 649s # * 649s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 649s # * The properties are overridden in the order they are defined. 649s # * 649s # * Returns: The last property id. 649s # */ 649s # guint 649s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 649s # { 649s # return property_id_begin - 1; 649s # } 649s # 649s # 649s # inline static void 649s # test_fdpassing_method_marshal_hello_fd ( 649s # GClosure *closure, 649s # GValue *return_value, 649s # unsigned int n_param_values, 649s # const GValue *param_values, 649s # void *invocation_hint, 649s # void *marshal_data) 649s # { 649s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 649s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 649s # } 649s # 649s # 649s # /** 649s # * TestFDPassing: 649s # * 649s # * Abstract interface type for the D-Bus interface test.FDPassing. 649s # */ 649s # 649s # /** 649s # * TestFDPassingIface: 649s # * @parent_iface: The parent interface. 649s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 649s # * 649s # * Virtual table for the D-Bus interface test.FDPassing. 649s # */ 649s # 649s # typedef TestFDPassingIface TestFDPassingInterface; 649s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 649s # 649s # static void 649s # test_fdpassing_default_init (TestFDPassingIface *iface) 649s # { 649s # /* GObject signals for incoming D-Bus method calls: */ 649s # /** 649s # * TestFDPassing::handle-hello-fd: 649s # * @object: A #TestFDPassing. 649s # * @invocation: A #GDBusMethodInvocation. 649s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 649s # * @arg_greeting: Argument passed by remote caller. 649s # * 649s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 649s # * 649s # * 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. 649s # * 649s # * 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. 649s # */ 649s # g_signal_new ("handle-hello-fd", 649s # G_TYPE_FROM_INTERFACE (iface), 649s # G_SIGNAL_RUN_LAST, 649s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 649s # g_signal_accumulator_true_handled, 649s # NULL, 649s # test_fdpassing_method_marshal_hello_fd, 649s # G_TYPE_BOOLEAN, 649s # 3, 649s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 649s # 649s # } 649s # 649s # /** 649s # * test_fdpassing_call_hello_fd: 649s # * @proxy: A #TestFDPassingProxy. 649s # * @arg_greeting: Argument to pass with the method invocation. 649s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 649s # * 649s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 649s # */ 649s # void 649s # test_fdpassing_call_hello_fd ( 649s # TestFDPassing *proxy, 649s # const gchar *arg_greeting, 649s # GUnixFDList *fd_list, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 649s # "HelloFD", 649s # g_variant_new ("(s)", 649s # arg_greeting), 649s # G_DBUS_CALL_FLAGS_NONE, 649s # -1, 649s # fd_list, 649s # cancellable, 649s # callback, 649s # user_data); 649s # } 649s # 649s # /** 649s # * test_fdpassing_call_hello_fd_finish: 649s # * @proxy: A #TestFDPassingProxy. 649s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 649s # * @error: Return location for error or %NULL. 649s # * 649s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 649s # * 649s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 649s # */ 649s # gboolean 649s # test_fdpassing_call_hello_fd_finish ( 649s # TestFDPassing *proxy, 649s # gchar **out_response, 649s # GUnixFDList **out_fd_list, 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GVariant *_ret; 649s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 649s # if (_ret == NULL) 649s # goto _out; 649s # g_variant_get (_ret, 649s # "(s)", 649s # out_response); 649s # g_variant_unref (_ret); 649s # _out: 649s # return _ret != NULL; 649s # } 649s # 649s # /** 649s # * test_fdpassing_call_hello_fd_sync: 649s # * @proxy: A #TestFDPassingProxy. 649s # * @arg_greeting: Argument to pass with the method invocation. 649s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 649s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 649s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL. 649s # * 649s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 649s # * 649s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 649s # * 649s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 649s # */ 649s # gboolean 649s # test_fdpassing_call_hello_fd_sync ( 649s # TestFDPassing *proxy, 649s # const gchar *arg_greeting, 649s # GUnixFDList *fd_list, 649s # gchar **out_response, 649s # GUnixFDList **out_fd_list, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GVariant *_ret; 649s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 649s # "HelloFD", 649s # g_variant_new ("(s)", 649s # arg_greeting), 649s # G_DBUS_CALL_FLAGS_NONE, 649s # -1, 649s # fd_list, 649s # out_fd_list, 649s # cancellable, 649s # error); 649s # if (_ret == NULL) 649s # goto _out; 649s # g_variant_get (_ret, 649s # "(s)", 649s # out_response); 649s # g_variant_unref (_ret); 649s # _out: 649s # return _ret != NULL; 649s # } 649s # 649s # /** 649s # * test_fdpassing_complete_hello_fd: 649s # * @object: A #TestFDPassing. 649s # * @invocation: (transfer full): A #GDBusMethodInvocation. 649s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 649s # * @response: Parameter to return. 649s # * 649s # * 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. 649s # * 649s # * This method will free @invocation, you cannot use it afterwards. 649s # */ 649s # void 649s # test_fdpassing_complete_hello_fd ( 649s # TestFDPassing *object G_GNUC_UNUSED, 649s # GDBusMethodInvocation *invocation, 649s # GUnixFDList *fd_list, 649s # const gchar *response) 649s # { 649s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 649s # g_variant_new ("(s)", 649s # response), 649s # fd_list); 649s # } 649s # 649s # /* ------------------------------------------------------------------------ */ 649s # 649s # /** 649s # * TestFDPassingProxy: 649s # * 649s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 649s # */ 649s # 649s # /** 649s # * TestFDPassingProxyClass: 649s # * @parent_class: The parent class. 649s # * 649s # * Class structure for #TestFDPassingProxy. 649s # */ 649s # 649s # struct _TestFDPassingProxyPrivate 649s # { 649s # GData *qdata; 649s # }; 649s # 649s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 649s # G_ADD_PRIVATE (TestFDPassingProxy) 649s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 649s # 649s # #else 649s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 649s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 649s # 649s # #endif 649s # static void 649s # test_fdpassing_proxy_finalize (GObject *object) 649s # { 649s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 649s # g_datalist_clear (&proxy->priv->qdata); 649s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 649s # } 649s # 649s # static void 649s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 649s # guint prop_id G_GNUC_UNUSED, 649s # GValue *value G_GNUC_UNUSED, 649s # GParamSpec *pspec G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void 649s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 649s # guint prop_id G_GNUC_UNUSED, 649s # const GValue *value G_GNUC_UNUSED, 649s # GParamSpec *pspec G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void 649s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 649s # const gchar *sender_name G_GNUC_UNUSED, 649s # const gchar *signal_name, 649s # GVariant *parameters) 649s # { 649s # _ExtendedGDBusSignalInfo *info; 649s # GVariantIter iter; 649s # GVariant *child; 649s # GValue *paramv; 649s # gsize num_params; 649s # gsize n; 649s # guint signal_id; 649s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 649s # if (info == NULL) 649s # return; 649s # num_params = g_variant_n_children (parameters); 649s # paramv = g_new0 (GValue, num_params + 1); 649s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 649s # g_value_set_object (¶mv[0], proxy); 649s # g_variant_iter_init (&iter, parameters); 649s # n = 1; 649s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 649s # { 649s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 649s # if (arg_info->use_gvariant) 649s # { 649s # g_value_init (¶mv[n], G_TYPE_VARIANT); 649s # g_value_set_variant (¶mv[n], child); 649s # n++; 649s # } 649s # else 649s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 649s # g_variant_unref (child); 649s # } 649s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 649s # g_signal_emitv (paramv, signal_id, 0, NULL); 649s # for (n = 0; n < num_params + 1; n++) 649s # g_value_unset (¶mv[n]); 649s # g_free (paramv); 649s # } 649s # 649s # static void 649s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 649s # GVariant *changed_properties, 649s # const gchar *const *invalidated_properties) 649s # { 649s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 649s # guint n; 649s # const gchar *key; 649s # GVariantIter *iter; 649s # _ExtendedGDBusPropertyInfo *info; 649s # g_variant_get (changed_properties, "a{sv}", &iter); 649s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 649s # { 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 649s # g_datalist_remove_data (&proxy->priv->qdata, key); 649s # if (info != NULL) 649s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 649s # } 649s # g_variant_iter_free (iter); 649s # for (n = 0; invalidated_properties[n] != NULL; n++) 649s # { 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 649s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 649s # if (info != NULL) 649s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 649s # } 649s # } 649s # 649s # static void 649s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 649s # { 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 649s # #else 649s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 649s # #endif 649s # 649s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 649s # } 649s # 649s # static void 649s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 649s # { 649s # GObjectClass *gobject_class; 649s # GDBusProxyClass *proxy_class; 649s # 649s # gobject_class = G_OBJECT_CLASS (klass); 649s # gobject_class->finalize = test_fdpassing_proxy_finalize; 649s # gobject_class->get_property = test_fdpassing_proxy_get_property; 649s # gobject_class->set_property = test_fdpassing_proxy_set_property; 649s # 649s # proxy_class = G_DBUS_PROXY_CLASS (klass); 649s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 649s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 649s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 649s # #endif 649s # } 649s # 649s # static void 649s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # /** 649s # * test_fdpassing_proxy_new: 649s # * @connection: A #GDBusConnection. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 649s # * 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 649s # * 649s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 649s # */ 649s # void 649s # test_fdpassing_proxy_new ( 649s # GDBusConnection *connection, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # 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); 649s # } 649s # 649s # /** 649s # * test_fdpassing_proxy_new_finish: 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 649s # * @error: Return location for error or %NULL 649s # * 649s # * Finishes an operation started with test_fdpassing_proxy_new(). 649s # * 649s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # TestFDPassing * 649s # test_fdpassing_proxy_new_finish ( 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GObject *ret; 649s # GObject *source_object; 649s # source_object = g_async_result_get_source_object (res); 649s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 649s # g_object_unref (source_object); 649s # if (ret != NULL) 649s # return TEST_FDPASSING (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # /** 649s # * test_fdpassing_proxy_new_sync: 649s # * @connection: A #GDBusConnection. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL 649s # * 649s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 649s # * 649s # * The calling thread is blocked until a reply is received. 649s # * 649s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 649s # * 649s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # TestFDPassing * 649s # test_fdpassing_proxy_new_sync ( 649s # GDBusConnection *connection, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GInitable *ret; 649s # 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); 649s # if (ret != NULL) 649s # return TEST_FDPASSING (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # 649s # /** 649s # * test_fdpassing_proxy_new_for_bus: 649s # * @bus_type: A #GBusType. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: A bus name (well-known or unique). 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 649s # * 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 649s # * 649s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 649s # */ 649s # void 649s # test_fdpassing_proxy_new_for_bus ( 649s # GBusType bus_type, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # 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); 649s # } 649s # 649s # /** 649s # * test_fdpassing_proxy_new_for_bus_finish: 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 649s # * @error: Return location for error or %NULL 649s # * 649s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 649s # * 649s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # TestFDPassing * 649s # test_fdpassing_proxy_new_for_bus_finish ( 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GObject *ret; 649s # GObject *source_object; 649s # source_object = g_async_result_get_source_object (res); 649s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 649s # g_object_unref (source_object); 649s # if (ret != NULL) 649s # return TEST_FDPASSING (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # /** 649s # * test_fdpassing_proxy_new_for_bus_sync: 649s # * @bus_type: A #GBusType. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: A bus name (well-known or unique). 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL 649s # * 649s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 649s # * 649s # * The calling thread is blocked until a reply is received. 649s # * 649s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 649s # * 649s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # TestFDPassing * 649s # test_fdpassing_proxy_new_for_bus_sync ( 649s # GBusType bus_type, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GInitable *ret; 649s # 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); 649s # if (ret != NULL) 649s # return TEST_FDPASSING (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # 649s # /* ------------------------------------------------------------------------ */ 649s # 649s # /** 649s # * TestFDPassingSkeleton: 649s # * 649s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 649s # */ 649s # 649s # /** 649s # * TestFDPassingSkeletonClass: 649s # * @parent_class: The parent class. 649s # * 649s # * Class structure for #TestFDPassingSkeleton. 649s # */ 649s # 649s # struct _TestFDPassingSkeletonPrivate 649s # { 649s # GValue *properties; 649s # GList *changed_properties; 649s # GSource *changed_properties_idle_source; 649s # GMainContext *context; 649s # GMutex lock; 649s # }; 649s # 649s # static void 649s # _test_fdpassing_skeleton_handle_method_call ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name, 649s # const gchar *method_name, 649s # GVariant *parameters, 649s # GDBusMethodInvocation *invocation, 649s # gpointer user_data) 649s # { 649s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 649s # _ExtendedGDBusMethodInfo *info; 649s # GVariantIter iter; 649s # GVariant *child; 649s # GValue *paramv; 649s # gsize num_params; 649s # guint num_extra; 649s # gsize n; 649s # guint signal_id; 649s # GValue return_value = G_VALUE_INIT; 649s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 649s # g_assert (info != NULL); 649s # num_params = g_variant_n_children (parameters); 649s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 649s # n = 0; 649s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 649s # g_value_set_object (¶mv[n++], skeleton); 649s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 649s # g_value_set_object (¶mv[n++], invocation); 649s # if (info->pass_fdlist) 649s # { 649s # #ifdef G_OS_UNIX 649s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 649s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 649s # #else 649s # g_assert_not_reached (); 649s # #endif 649s # } 649s # g_variant_iter_init (&iter, parameters); 649s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 649s # { 649s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 649s # if (arg_info->use_gvariant) 649s # { 649s # g_value_init (¶mv[n], G_TYPE_VARIANT); 649s # g_value_set_variant (¶mv[n], child); 649s # n++; 649s # } 649s # else 649s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 649s # g_variant_unref (child); 649s # } 649s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 649s # g_value_init (&return_value, G_TYPE_BOOLEAN); 649s # g_signal_emitv (paramv, signal_id, 0, &return_value); 649s # if (!g_value_get_boolean (&return_value)) 649s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 649s # g_value_unset (&return_value); 649s # for (n = 0; n < num_params + num_extra; n++) 649s # g_value_unset (¶mv[n]); 649s # g_free (paramv); 649s # } 649s # 649s # static GVariant * 649s # _test_fdpassing_skeleton_handle_get_property ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name G_GNUC_UNUSED, 649s # const gchar *property_name, 649s # GError **error, 649s # gpointer user_data) 649s # { 649s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 649s # GValue value = G_VALUE_INIT; 649s # GParamSpec *pspec; 649s # _ExtendedGDBusPropertyInfo *info; 649s # GVariant *ret; 649s # ret = NULL; 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 649s # g_assert (info != NULL); 649s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 649s # if (pspec == NULL) 649s # { 649s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 649s # } 649s # else 649s # { 649s # g_value_init (&value, pspec->value_type); 649s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 649s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 649s # g_value_unset (&value); 649s # } 649s # return ret; 649s # } 649s # 649s # static gboolean 649s # _test_fdpassing_skeleton_handle_set_property ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name G_GNUC_UNUSED, 649s # const gchar *property_name, 649s # GVariant *variant, 649s # GError **error, 649s # gpointer user_data) 649s # { 649s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 649s # GValue value = G_VALUE_INIT; 649s # GParamSpec *pspec; 649s # _ExtendedGDBusPropertyInfo *info; 649s # gboolean ret; 649s # ret = FALSE; 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 649s # g_assert (info != NULL); 649s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 649s # if (pspec == NULL) 649s # { 649s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 649s # } 649s # else 649s # { 649s # if (info->use_gvariant) 649s # g_value_set_variant (&value, variant); 649s # else 649s # g_dbus_gvariant_to_gvalue (variant, &value); 649s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 649s # g_value_unset (&value); 649s # ret = TRUE; 649s # } 649s # return ret; 649s # } 649s # 649s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 649s # { 649s # _test_fdpassing_skeleton_handle_method_call, 649s # _test_fdpassing_skeleton_handle_get_property, 649s # _test_fdpassing_skeleton_handle_set_property, 649s # {NULL} 649s # }; 649s # 649s # static GDBusInterfaceInfo * 649s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 649s # { 649s # return test_fdpassing_interface_info (); 649s # } 649s # 649s # static GDBusInterfaceVTable * 649s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 649s # { 649s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 649s # } 649s # 649s # static GVariant * 649s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 649s # { 649s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 649s # 649s # GVariantBuilder builder; 649s # guint n; 649s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 649s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 649s # goto out; 649s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 649s # { 649s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 649s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 649s # { 649s # GVariant *value; 649s # 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); 649s # if (value != NULL) 649s # { 649s # g_variant_take_ref (value); 649s # g_variant_builder_add (&builder, "{sv}", info->name, value); 649s # g_variant_unref (value); 649s # } 649s # } 649s # } 649s # out: 649s # return g_variant_builder_end (&builder); 649s # } 649s # 649s # static void 649s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 649s # G_ADD_PRIVATE (TestFDPassingSkeleton) 649s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 649s # 649s # #else 649s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 649s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 649s # 649s # #endif 649s # static void 649s # test_fdpassing_skeleton_finalize (GObject *object) 649s # { 649s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 649s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 649s # if (skeleton->priv->changed_properties_idle_source != NULL) 649s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 649s # g_main_context_unref (skeleton->priv->context); 649s # g_mutex_clear (&skeleton->priv->lock); 649s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 649s # } 649s # 649s # static void 649s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 649s # { 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 649s # #else 649s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 649s # #endif 649s # 649s # g_mutex_init (&skeleton->priv->lock); 649s # skeleton->priv->context = g_main_context_ref_thread_default (); 649s # } 649s # 649s # static void 649s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 649s # { 649s # GObjectClass *gobject_class; 649s # GDBusInterfaceSkeletonClass *skeleton_class; 649s # 649s # gobject_class = G_OBJECT_CLASS (klass); 649s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 649s # 649s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 649s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 649s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 649s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 649s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 649s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 649s # #endif 649s # } 649s # 649s # static void 649s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # /** 649s # * test_fdpassing_skeleton_new: 649s # * 649s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 649s # * 649s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 649s # */ 649s # TestFDPassing * 649s # test_fdpassing_skeleton_new (void) 649s # { 649s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 649s # } 649s ok 15 __main__.TestCodegen.test_generate_rst 649s # tmpdir: /tmp/tmpipuc_a3v 649s # codegen: /usr/bin/gdbus-codegen 649s # /tmp/tmpipuc_a3v/tmpu61266un.xml: 649s # 649s # 649s # 649s # 649s # 649s # 649s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpipuc_a3v/tmpu61266un.xml', '--generate-rst', 'test'] 649s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 649s # Output: 649s ok 16 __main__.TestCodegen.test_generate_rst_method 649s # tmpdir: /tmp/tmp_0eg4l8e 649s # codegen: /usr/bin/gdbus-codegen 649s # /tmp/tmp_0eg4l8e/tmpf314q494.xml: 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_0eg4l8e/tmpf314q494.xml', '--generate-rst', 'test'] 649s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 649s # Output: 649s ok 17 __main__.TestCodegen.test_generate_rst_property 649s # tmpdir: /tmp/tmpcy4w88zd 649s # codegen: /usr/bin/gdbus-codegen 649s # /tmp/tmpcy4w88zd/tmpn38kzegf.xml: 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcy4w88zd/tmpn38kzegf.xml', '--generate-rst', 'test'] 649s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 649s # Output: 649s ok 18 __main__.TestCodegen.test_generate_rst_signal 649s # tmpdir: /tmp/tmpv5ir39on 649s # codegen: /usr/bin/gdbus-codegen 649s # /tmp/tmpv5ir39on/tmplpq0gzrz.xml: 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv5ir39on/tmplpq0gzrz.xml', '--generate-rst', 'test'] 649s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 649s # Output: 649s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 649s # tmpdir: /tmp/tmpb85zb7b6 649s # codegen: /usr/bin/gdbus-codegen 649s # /tmp/tmpb85zb7b6/tmp5f4ue3t5.xml: 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # 649s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb85zb7b6/tmp5f4ue3t5.xml', '--output', '-', '--body'] 649s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 649s # Output: /* 649s # * This file is generated by gdbus-codegen, do not modify it. 649s # * 649s # * The license of this code is the same as for the D-Bus interface description 649s # * it was derived from. Note that it links to GLib, so must comply with the 649s # * LGPL linking clauses. 649s # */ 649s # 649s # #ifdef HAVE_CONFIG_H 649s # # include "config.h" 649s # #endif 649s # 649s # #include 649s # #ifdef G_OS_UNIX 649s # # include 649s # #endif 649s # 649s # #ifdef G_ENABLE_DEBUG 649s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 649s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 649s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 649s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 649s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 649s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 649s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 649s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 649s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 649s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 649s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 649s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 649s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 649s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 649s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 649s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 649s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 649s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 649s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 649s # #else /* !G_ENABLE_DEBUG */ 649s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 649s # * Do not access GValues directly in your code. Instead, use the 649s # * g_value_get_*() functions 649s # */ 649s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 649s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 649s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 649s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 649s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 649s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 649s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 649s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 649s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 649s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 649s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 649s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 649s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 649s # #endif /* !G_ENABLE_DEBUG */ 649s # 649s # typedef struct 649s # { 649s # GDBusArgInfo parent_struct; 649s # gboolean use_gvariant; 649s # } _ExtendedGDBusArgInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusMethodInfo parent_struct; 649s # const gchar *signal_name; 649s # gboolean pass_fdlist; 649s # } _ExtendedGDBusMethodInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusSignalInfo parent_struct; 649s # const gchar *signal_name; 649s # } _ExtendedGDBusSignalInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusPropertyInfo parent_struct; 649s # const gchar *hyphen_name; 649s # guint use_gvariant : 1; 649s # guint emits_changed_signal : 1; 649s # } _ExtendedGDBusPropertyInfo; 649s # 649s # typedef struct 649s # { 649s # GDBusInterfaceInfo parent_struct; 649s # const gchar *hyphen_name; 649s # } _ExtendedGDBusInterfaceInfo; 649s # 649s # typedef struct 649s # { 649s # const _ExtendedGDBusPropertyInfo *info; 649s # guint prop_id; 649s # GValue orig_value; /* the value before the change */ 649s # } ChangedProperty; 649s # 649s # static void 649s # _changed_property_free (ChangedProperty *data) 649s # { 649s # g_value_unset (&data->orig_value); 649s # g_free (data); 649s # } 649s # 649s # static gboolean 649s # _g_strv_equal0 (gchar **a, gchar **b) 649s # { 649s # gboolean ret = FALSE; 649s # guint n; 649s # if (a == NULL && b == NULL) 649s # { 649s # ret = TRUE; 649s # goto out; 649s # } 649s # if (a == NULL || b == NULL) 649s # goto out; 649s # if (g_strv_length (a) != g_strv_length (b)) 649s # goto out; 649s # for (n = 0; a[n] != NULL; n++) 649s # if (g_strcmp0 (a[n], b[n]) != 0) 649s # goto out; 649s # ret = TRUE; 649s # out: 649s # return ret; 649s # } 649s # 649s # static gboolean 649s # _g_variant_equal0 (GVariant *a, GVariant *b) 649s # { 649s # gboolean ret = FALSE; 649s # if (a == NULL && b == NULL) 649s # { 649s # ret = TRUE; 649s # goto out; 649s # } 649s # if (a == NULL || b == NULL) 649s # goto out; 649s # ret = g_variant_equal (a, b); 649s # out: 649s # return ret; 649s # } 649s # 649s # G_GNUC_UNUSED static gboolean 649s # _g_value_equal (const GValue *a, const GValue *b) 649s # { 649s # gboolean ret = FALSE; 649s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 649s # switch (G_VALUE_TYPE (a)) 649s # { 649s # case G_TYPE_BOOLEAN: 649s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 649s # break; 649s # case G_TYPE_UCHAR: 649s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 649s # break; 649s # case G_TYPE_INT: 649s # ret = (g_value_get_int (a) == g_value_get_int (b)); 649s # break; 649s # case G_TYPE_UINT: 649s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 649s # break; 649s # case G_TYPE_INT64: 649s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 649s # break; 649s # case G_TYPE_UINT64: 649s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 649s # break; 649s # case G_TYPE_DOUBLE: 649s # { 649s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 649s # gdouble da = g_value_get_double (a); 649s # gdouble db = g_value_get_double (b); 649s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 649s # } 649s # break; 649s # case G_TYPE_STRING: 649s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 649s # break; 649s # case G_TYPE_VARIANT: 649s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 649s # break; 649s # default: 649s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 649s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 649s # else 649s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 649s # break; 649s # } 649s # return ret; 649s # } 649s # 649s # static void 649s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 649s # GClosure *closure, 649s # GValue *return_value G_GNUC_UNUSED, 649s # unsigned int n_param_values, 649s # const GValue *param_values, 649s # void *invocation_hint G_GNUC_UNUSED, 649s # void *marshal_data) 649s # { 649s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 649s # (void *data1, 649s # gboolean arg_an_b, 649s # guchar arg_an_y, 649s # gint16 arg_an_n, 649s # guint16 arg_an_q, 649s # gint arg_an_i, 649s # guint arg_an_u, 649s # gint64 arg_an_x, 649s # guint64 arg_an_t, 649s # gdouble arg_an_d, 649s # const gchar *arg_an_s, 649s # const gchar *arg_an_o, 649s # const gchar *arg_an_g, 649s # GVariant *arg_an_h, 649s # const gchar *arg_an_ay, 649s # const gchar *const *arg_an_as, 649s # const gchar *const *arg_an_ao, 649s # const gchar *const *arg_an_aay, 649s # GVariant *arg_an_asv, 649s # void *data2); 649s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 649s # GCClosure *cc = (GCClosure*) closure; 649s # void *data1, *data2; 649s # 649s # g_return_if_fail (n_param_values == 19); 649s # 649s # if (G_CCLOSURE_SWAP_DATA (closure)) 649s # { 649s # data1 = closure->data; 649s # data2 = g_value_peek_pointer (param_values + 0); 649s # } 649s # else 649s # { 649s # data1 = g_value_peek_pointer (param_values + 0); 649s # data2 = closure->data; 649s # } 649s # 649s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 649s # (marshal_data ? marshal_data : cc->callback); 649s # 649s # callback (data1, 649s # g_marshal_value_peek_boolean (param_values + 1), 649s # g_marshal_value_peek_uchar (param_values + 2), 649s # g_marshal_value_peek_int (param_values + 3), 649s # g_marshal_value_peek_uint (param_values + 4), 649s # g_marshal_value_peek_int (param_values + 5), 649s # g_marshal_value_peek_uint (param_values + 6), 649s # g_marshal_value_peek_int64 (param_values + 7), 649s # g_marshal_value_peek_uint64 (param_values + 8), 649s # g_marshal_value_peek_double (param_values + 9), 649s # g_marshal_value_peek_string (param_values + 10), 649s # g_marshal_value_peek_string (param_values + 11), 649s # g_marshal_value_peek_string (param_values + 12), 649s # g_marshal_value_peek_variant (param_values + 13), 649s # g_marshal_value_peek_string (param_values + 14), 649s # g_marshal_value_peek_boxed (param_values + 15), 649s # g_marshal_value_peek_boxed (param_values + 16), 649s # g_marshal_value_peek_boxed (param_values + 17), 649s # g_marshal_value_peek_variant (param_values + 18), 649s # data2); 649s # } 649s # 649s # /* ------------------------------------------------------------------------ 649s # * Code for interface org.project.SignalingIface 649s # * ------------------------------------------------------------------------ 649s # */ 649s # 649s # /** 649s # * SECTION:OrgProjectSignalingIface 649s # * @title: OrgProjectSignalingIface 649s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 649s # * 649s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 649s # */ 649s # 649s # enum 649s # { 649s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 649s # }; 649s # 649s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 649s # 649s # /* ---- Introspection data for org.project.SignalingIface ---- */ 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_b", 649s # (gchar *) "b", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_y", 649s # (gchar *) "y", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_n", 649s # (gchar *) "n", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_q", 649s # (gchar *) "q", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_i", 649s # (gchar *) "i", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_u", 649s # (gchar *) "u", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_x", 649s # (gchar *) "x", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_t", 649s # (gchar *) "t", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_d", 649s # (gchar *) "d", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_s", 649s # (gchar *) "s", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_o", 649s # (gchar *) "o", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_g", 649s # (gchar *) "g", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_h", 649s # (gchar *) "h", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_ay", 649s # (gchar *) "ay", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_as", 649s # (gchar *) "as", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_ao", 649s # (gchar *) "ao", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_aay", 649s # (gchar *) "aay", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 649s # { 649s # { 649s # -1, 649s # (gchar *) "an_asv", 649s # (gchar *) "a{sv}", 649s # NULL 649s # }, 649s # FALSE 649s # }; 649s # 649s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 649s # { 649s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 649s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 649s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 649s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 649s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 649s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 649s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 649s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 649s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 649s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 649s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 649s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 649s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 649s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 649s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 649s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 649s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 649s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 649s # { 649s # { 649s # -1, 649s # (gchar *) "SignalWithManyArgs", 649s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 649s # NULL 649s # }, 649s # "signal-with-many-args" 649s # }; 649s # 649s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 649s # { 649s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 649s # NULL 649s # }; 649s # 649s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 649s # { 649s # { 649s # -1, 649s # (gchar *) "org.project.SignalingIface", 649s # NULL, 649s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 649s # NULL, 649s # NULL 649s # }, 649s # "org-project-signaling-iface", 649s # }; 649s # 649s # 649s # /** 649s # * org_project_signaling_iface_interface_info: 649s # * 649s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 649s # * 649s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 649s # */ 649s # GDBusInterfaceInfo * 649s # org_project_signaling_iface_interface_info (void) 649s # { 649s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 649s # } 649s # 649s # /** 649s # * org_project_signaling_iface_override_properties: 649s # * @klass: The class structure for a #GObject derived class. 649s # * @property_id_begin: The property id to assign to the first overridden property. 649s # * 649s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 649s # * The properties are overridden in the order they are defined. 649s # * 649s # * Returns: The last property id. 649s # */ 649s # guint 649s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 649s # { 649s # return property_id_begin - 1; 649s # } 649s # 649s # 649s # inline static void 649s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 649s # GClosure *closure, 649s # GValue *return_value, 649s # unsigned int n_param_values, 649s # const GValue *param_values, 649s # void *invocation_hint, 649s # void *marshal_data) 649s # { 649s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 649s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 649s # } 649s # 649s # 649s # /** 649s # * OrgProjectSignalingIface: 649s # * 649s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 649s # */ 649s # 649s # /** 649s # * OrgProjectSignalingIfaceIface: 649s # * @parent_iface: The parent interface. 649s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 649s # * 649s # * Virtual table for the D-Bus interface org.project.SignalingIface. 649s # */ 649s # 649s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 649s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 649s # 649s # static void 649s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 649s # { 649s # /* GObject signals for received D-Bus signals: */ 649s # /** 649s # * OrgProjectSignalingIface::signal-with-many-args: 649s # * @object: A #OrgProjectSignalingIface. 649s # * @arg_an_b: Argument. 649s # * @arg_an_y: Argument. 649s # * @arg_an_n: Argument. 649s # * @arg_an_q: Argument. 649s # * @arg_an_i: Argument. 649s # * @arg_an_u: Argument. 649s # * @arg_an_x: Argument. 649s # * @arg_an_t: Argument. 649s # * @arg_an_d: Argument. 649s # * @arg_an_s: Argument. 649s # * @arg_an_o: Argument. 649s # * @arg_an_g: Argument. 649s # * @arg_an_h: Argument. 649s # * @arg_an_ay: Argument. 649s # * @arg_an_as: Argument. 649s # * @arg_an_ao: Argument. 649s # * @arg_an_aay: Argument. 649s # * @arg_an_asv: Argument. 649s # * 649s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 649s # * 649s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 649s # */ 649s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 649s # g_signal_new ("signal-with-many-args", 649s # G_TYPE_FROM_INTERFACE (iface), 649s # G_SIGNAL_RUN_LAST, 649s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 649s # NULL, 649s # NULL, 649s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 649s # G_TYPE_NONE, 649s # 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); 649s # 649s # } 649s # 649s # /** 649s # * org_project_signaling_iface_emit_signal_with_many_args: 649s # * @object: A #OrgProjectSignalingIface. 649s # * @arg_an_b: Argument to pass with the signal. 649s # * @arg_an_y: Argument to pass with the signal. 649s # * @arg_an_n: Argument to pass with the signal. 649s # * @arg_an_q: Argument to pass with the signal. 649s # * @arg_an_i: Argument to pass with the signal. 649s # * @arg_an_u: Argument to pass with the signal. 649s # * @arg_an_x: Argument to pass with the signal. 649s # * @arg_an_t: Argument to pass with the signal. 649s # * @arg_an_d: Argument to pass with the signal. 649s # * @arg_an_s: Argument to pass with the signal. 649s # * @arg_an_o: Argument to pass with the signal. 649s # * @arg_an_g: Argument to pass with the signal. 649s # * @arg_an_h: Argument to pass with the signal. 649s # * @arg_an_ay: Argument to pass with the signal. 649s # * @arg_an_as: Argument to pass with the signal. 649s # * @arg_an_ao: Argument to pass with the signal. 649s # * @arg_an_aay: Argument to pass with the signal. 649s # * @arg_an_asv: Argument to pass with the signal. 649s # * 649s # * Emits the "SignalWithManyArgs" D-Bus signal. 649s # */ 649s # void 649s # org_project_signaling_iface_emit_signal_with_many_args ( 649s # OrgProjectSignalingIface *object, 649s # gboolean arg_an_b, 649s # guchar arg_an_y, 649s # gint16 arg_an_n, 649s # guint16 arg_an_q, 649s # gint arg_an_i, 649s # guint arg_an_u, 649s # gint64 arg_an_x, 649s # guint64 arg_an_t, 649s # gdouble arg_an_d, 649s # const gchar *arg_an_s, 649s # const gchar *arg_an_o, 649s # const gchar *arg_an_g, 649s # GVariant *arg_an_h, 649s # const gchar *arg_an_ay, 649s # const gchar *const *arg_an_as, 649s # const gchar *const *arg_an_ao, 649s # const gchar *const *arg_an_aay, 649s # GVariant *arg_an_asv) 649s # { 649s # 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); 649s # } 649s # 649s # /* ------------------------------------------------------------------------ */ 649s # 649s # /** 649s # * OrgProjectSignalingIfaceProxy: 649s # * 649s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 649s # */ 649s # 649s # /** 649s # * OrgProjectSignalingIfaceProxyClass: 649s # * @parent_class: The parent class. 649s # * 649s # * Class structure for #OrgProjectSignalingIfaceProxy. 649s # */ 649s # 649s # struct _OrgProjectSignalingIfaceProxyPrivate 649s # { 649s # GData *qdata; 649s # }; 649s # 649s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 649s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 649s # 649s # #else 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 649s # 649s # #endif 649s # static void 649s # org_project_signaling_iface_proxy_finalize (GObject *object) 649s # { 649s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 649s # g_datalist_clear (&proxy->priv->qdata); 649s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 649s # } 649s # 649s # static void 649s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 649s # guint prop_id G_GNUC_UNUSED, 649s # GValue *value G_GNUC_UNUSED, 649s # GParamSpec *pspec G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void 649s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 649s # guint prop_id G_GNUC_UNUSED, 649s # const GValue *value G_GNUC_UNUSED, 649s # GParamSpec *pspec G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void 649s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 649s # const gchar *sender_name G_GNUC_UNUSED, 649s # const gchar *signal_name, 649s # GVariant *parameters) 649s # { 649s # _ExtendedGDBusSignalInfo *info; 649s # GVariantIter iter; 649s # GVariant *child; 649s # GValue *paramv; 649s # gsize num_params; 649s # gsize n; 649s # guint signal_id; 649s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 649s # if (info == NULL) 649s # return; 649s # num_params = g_variant_n_children (parameters); 649s # paramv = g_new0 (GValue, num_params + 1); 649s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 649s # g_value_set_object (¶mv[0], proxy); 649s # g_variant_iter_init (&iter, parameters); 649s # n = 1; 649s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 649s # { 649s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 649s # if (arg_info->use_gvariant) 649s # { 649s # g_value_init (¶mv[n], G_TYPE_VARIANT); 649s # g_value_set_variant (¶mv[n], child); 649s # n++; 649s # } 649s # else 649s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 649s # g_variant_unref (child); 649s # } 649s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 649s # g_signal_emitv (paramv, signal_id, 0, NULL); 649s # for (n = 0; n < num_params + 1; n++) 649s # g_value_unset (¶mv[n]); 649s # g_free (paramv); 649s # } 649s # 649s # static void 649s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 649s # GVariant *changed_properties, 649s # const gchar *const *invalidated_properties) 649s # { 649s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 649s # guint n; 649s # const gchar *key; 649s # GVariantIter *iter; 649s # _ExtendedGDBusPropertyInfo *info; 649s # g_variant_get (changed_properties, "a{sv}", &iter); 649s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 649s # { 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 649s # g_datalist_remove_data (&proxy->priv->qdata, key); 649s # if (info != NULL) 649s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 649s # } 649s # g_variant_iter_free (iter); 649s # for (n = 0; invalidated_properties[n] != NULL; n++) 649s # { 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 649s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 649s # if (info != NULL) 649s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 649s # } 649s # } 649s # 649s # static void 649s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 649s # { 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 649s # #else 649s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 649s # #endif 649s # 649s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 649s # } 649s # 649s # static void 649s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 649s # { 649s # GObjectClass *gobject_class; 649s # GDBusProxyClass *proxy_class; 649s # 649s # gobject_class = G_OBJECT_CLASS (klass); 649s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 649s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 649s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 649s # 649s # proxy_class = G_DBUS_PROXY_CLASS (klass); 649s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 649s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 649s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 649s # #endif 649s # } 649s # 649s # static void 649s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # /** 649s # * org_project_signaling_iface_proxy_new: 649s # * @connection: A #GDBusConnection. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 649s # * 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 649s # * 649s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 649s # */ 649s # void 649s # org_project_signaling_iface_proxy_new ( 649s # GDBusConnection *connection, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # 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); 649s # } 649s # 649s # /** 649s # * org_project_signaling_iface_proxy_new_finish: 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 649s # * @error: Return location for error or %NULL 649s # * 649s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 649s # * 649s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectSignalingIface * 649s # org_project_signaling_iface_proxy_new_finish ( 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GObject *ret; 649s # GObject *source_object; 649s # source_object = g_async_result_get_source_object (res); 649s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 649s # g_object_unref (source_object); 649s # if (ret != NULL) 649s # return ORG_PROJECT_SIGNALING_IFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # /** 649s # * org_project_signaling_iface_proxy_new_sync: 649s # * @connection: A #GDBusConnection. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL 649s # * 649s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 649s # * 649s # * The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 649s # * 649s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectSignalingIface * 649s # org_project_signaling_iface_proxy_new_sync ( 649s # GDBusConnection *connection, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GInitable *ret; 649s # 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); 649s # if (ret != NULL) 649s # return ORG_PROJECT_SIGNALING_IFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # 649s # /** 649s # * org_project_signaling_iface_proxy_new_for_bus: 649s # * @bus_type: A #GBusType. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: A bus name (well-known or unique). 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 649s # * @user_data: User data to pass to @callback. 649s # * 649s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 649s # * 649s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 649s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 649s # * 649s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 649s # */ 649s # void 649s # org_project_signaling_iface_proxy_new_for_bus ( 649s # GBusType bus_type, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GAsyncReadyCallback callback, 649s # gpointer user_data) 649s # { 649s # 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); 649s # } 649s # 649s # /** 649s # * org_project_signaling_iface_proxy_new_for_bus_finish: 649s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 649s # * @error: Return location for error or %NULL 649s # * 649s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 649s # * 649s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectSignalingIface * 649s # org_project_signaling_iface_proxy_new_for_bus_finish ( 649s # GAsyncResult *res, 649s # GError **error) 649s # { 649s # GObject *ret; 649s # GObject *source_object; 649s # source_object = g_async_result_get_source_object (res); 649s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 649s # g_object_unref (source_object); 649s # if (ret != NULL) 649s # return ORG_PROJECT_SIGNALING_IFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # /** 649s # * org_project_signaling_iface_proxy_new_for_bus_sync: 649s # * @bus_type: A #GBusType. 649s # * @flags: Flags from the #GDBusProxyFlags enumeration. 649s # * @name: A bus name (well-known or unique). 649s # * @object_path: An object path. 649s # * @cancellable: (nullable): A #GCancellable or %NULL. 649s # * @error: Return location for error or %NULL 649s # * 649s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 649s # * 649s # * The calling thread is blocked until a reply is received. 649s # * 649s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 649s # * 649s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 649s # */ 649s # OrgProjectSignalingIface * 649s # org_project_signaling_iface_proxy_new_for_bus_sync ( 649s # GBusType bus_type, 649s # GDBusProxyFlags flags, 649s # const gchar *name, 649s # const gchar *object_path, 649s # GCancellable *cancellable, 649s # GError **error) 649s # { 649s # GInitable *ret; 649s # 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); 649s # if (ret != NULL) 649s # return ORG_PROJECT_SIGNALING_IFACE (ret); 649s # else 649s # return NULL; 649s # } 649s # 649s # 649s # /* ------------------------------------------------------------------------ */ 649s # 649s # /** 649s # * OrgProjectSignalingIfaceSkeleton: 649s # * 649s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 649s # */ 649s # 649s # /** 649s # * OrgProjectSignalingIfaceSkeletonClass: 649s # * @parent_class: The parent class. 649s # * 649s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 649s # */ 649s # 649s # struct _OrgProjectSignalingIfaceSkeletonPrivate 649s # { 649s # GValue *properties; 649s # GList *changed_properties; 649s # GSource *changed_properties_idle_source; 649s # GMainContext *context; 649s # GMutex lock; 649s # }; 649s # 649s # static void 649s # _org_project_signaling_iface_skeleton_handle_method_call ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name, 649s # const gchar *method_name, 649s # GVariant *parameters, 649s # GDBusMethodInvocation *invocation, 649s # gpointer user_data) 649s # { 649s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 649s # _ExtendedGDBusMethodInfo *info; 649s # GVariantIter iter; 649s # GVariant *child; 649s # GValue *paramv; 649s # gsize num_params; 649s # guint num_extra; 649s # gsize n; 649s # guint signal_id; 649s # GValue return_value = G_VALUE_INIT; 649s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 649s # g_assert (info != NULL); 649s # num_params = g_variant_n_children (parameters); 649s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 649s # n = 0; 649s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 649s # g_value_set_object (¶mv[n++], skeleton); 649s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 649s # g_value_set_object (¶mv[n++], invocation); 649s # if (info->pass_fdlist) 649s # { 649s # #ifdef G_OS_UNIX 649s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 649s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 649s # #else 649s # g_assert_not_reached (); 649s # #endif 649s # } 649s # g_variant_iter_init (&iter, parameters); 649s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 649s # { 649s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 649s # if (arg_info->use_gvariant) 649s # { 649s # g_value_init (¶mv[n], G_TYPE_VARIANT); 649s # g_value_set_variant (¶mv[n], child); 649s # n++; 649s # } 649s # else 649s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 649s # g_variant_unref (child); 649s # } 649s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 649s # g_value_init (&return_value, G_TYPE_BOOLEAN); 649s # g_signal_emitv (paramv, signal_id, 0, &return_value); 649s # if (!g_value_get_boolean (&return_value)) 649s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 649s # g_value_unset (&return_value); 649s # for (n = 0; n < num_params + num_extra; n++) 649s # g_value_unset (¶mv[n]); 649s # g_free (paramv); 649s # } 649s # 649s # static GVariant * 649s # _org_project_signaling_iface_skeleton_handle_get_property ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name G_GNUC_UNUSED, 649s # const gchar *property_name, 649s # GError **error, 649s # gpointer user_data) 649s # { 649s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 649s # GValue value = G_VALUE_INIT; 649s # GParamSpec *pspec; 649s # _ExtendedGDBusPropertyInfo *info; 649s # GVariant *ret; 649s # ret = NULL; 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 649s # g_assert (info != NULL); 649s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 649s # if (pspec == NULL) 649s # { 649s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 649s # } 649s # else 649s # { 649s # g_value_init (&value, pspec->value_type); 649s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 649s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 649s # g_value_unset (&value); 649s # } 649s # return ret; 649s # } 649s # 649s # static gboolean 649s # _org_project_signaling_iface_skeleton_handle_set_property ( 649s # GDBusConnection *connection G_GNUC_UNUSED, 649s # const gchar *sender G_GNUC_UNUSED, 649s # const gchar *object_path G_GNUC_UNUSED, 649s # const gchar *interface_name G_GNUC_UNUSED, 649s # const gchar *property_name, 649s # GVariant *variant, 649s # GError **error, 649s # gpointer user_data) 649s # { 649s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 649s # GValue value = G_VALUE_INIT; 649s # GParamSpec *pspec; 649s # _ExtendedGDBusPropertyInfo *info; 649s # gboolean ret; 649s # ret = FALSE; 649s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 649s # g_assert (info != NULL); 649s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 649s # if (pspec == NULL) 649s # { 649s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 649s # } 649s # else 649s # { 649s # if (info->use_gvariant) 649s # g_value_set_variant (&value, variant); 649s # else 649s # g_dbus_gvariant_to_gvalue (variant, &value); 649s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 649s # g_value_unset (&value); 649s # ret = TRUE; 649s # } 649s # return ret; 649s # } 649s # 649s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 649s # { 649s # _org_project_signaling_iface_skeleton_handle_method_call, 649s # _org_project_signaling_iface_skeleton_handle_get_property, 649s # _org_project_signaling_iface_skeleton_handle_set_property, 649s # {NULL} 649s # }; 649s # 649s # static GDBusInterfaceInfo * 649s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 649s # { 649s # return org_project_signaling_iface_interface_info (); 649s # } 649s # 649s # static GDBusInterfaceVTable * 649s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 649s # { 649s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 649s # } 649s # 649s # static GVariant * 649s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 649s # { 649s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 649s # 649s # GVariantBuilder builder; 649s # guint n; 649s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 649s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 649s # goto out; 649s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 649s # { 649s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 649s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 649s # { 649s # GVariant *value; 649s # 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); 649s # if (value != NULL) 649s # { 649s # g_variant_take_ref (value); 649s # g_variant_builder_add (&builder, "{sv}", info->name, value); 649s # g_variant_unref (value); 649s # } 649s # } 649s # } 649s # out: 649s # return g_variant_builder_end (&builder); 649s # } 649s # 649s # static void 649s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 649s # { 649s # } 649s # 649s # static void 649s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 649s # OrgProjectSignalingIface *object, 649s # gboolean arg_an_b, 649s # guchar arg_an_y, 649s # gint16 arg_an_n, 649s # guint16 arg_an_q, 649s # gint arg_an_i, 649s # guint arg_an_u, 649s # gint64 arg_an_x, 649s # guint64 arg_an_t, 649s # gdouble arg_an_d, 649s # const gchar *arg_an_s, 649s # const gchar *arg_an_o, 649s # const gchar *arg_an_g, 649s # GVariant *arg_an_h, 649s # const gchar *arg_an_ay, 649s # const gchar *const *arg_an_as, 649s # const gchar *const *arg_an_ao, 649s # const gchar *const *arg_an_aay, 649s # GVariant *arg_an_asv) 649s # { 649s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 649s # 649s # GList *connections, *l; 649s # GVariant *signal_variant; 649s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 649s # 649s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 649s # arg_an_b, 649s # arg_an_y, 649s # arg_an_n, 649s # arg_an_q, 649s # arg_an_i, 649s # arg_an_u, 649s # arg_an_x, 649s # arg_an_t, 649s # arg_an_d, 649s # arg_an_s, 649s # arg_an_o, 649s # arg_an_g, 649s # arg_an_h, 649s # arg_an_ay, 649s # arg_an_as, 649s # arg_an_ao, 649s # arg_an_aay, 649s # arg_an_asv)); 649s # for (l = connections; l != NULL; l = l->next) 649s # { 649s # GDBusConnection *connection = l->data; 649s # g_dbus_connection_emit_signal (connection, 649s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 649s # signal_variant, NULL); 649s # } 649s # g_variant_unref (signal_variant); 649s # g_list_free_full (connections, g_object_unref); 649s # } 649s # 649s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 649s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 649s # 649s # #else 649s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 649s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 649s # 649s # #endif 649s # static void 649s # org_project_signaling_iface_skeleton_finalize (GObject *object) 649s # { 649s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 649s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 649s # if (skeleton->priv->changed_properties_idle_source != NULL) 649s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 649s # g_main_context_unref (skeleton->priv->context); 649s # g_mutex_clear (&skeleton->priv->lock); 649s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 649s # } 649s # 649s # static void 649s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 649s # { 649s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 649s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 649s # #else 649s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 649s # #endif 649s # 649s # g_mutex_init (&skeleton->priv->lock); 649s # skeleton->priv->context = g_main_context_ref_thread_default (); 649s # } 649s # 649s # static void 649s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 649s # { 649s # GObjectClass *gobject_class; 649s # GDBusInterfaceSkeletonClass *skeleton_class; 649s # 649s # gobject_class = G_OBJECT_CLASS (klass); 649s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 649s # 649s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 649s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 649s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 649s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 649s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 649s # 649s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 649s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 649s # #endif 649s # } 649s # 649s # static void 649s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 649s # { 649s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 649s # } 649s # 649s # /** 649s # * org_project_signaling_iface_skeleton_new: 649s # * 649s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 649s # * 649s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 649s # */ 649s # OrgProjectSignalingIface * 649s # org_project_signaling_iface_skeleton_new (void) 649s # { 649s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 649s # } 649s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 649s # tmpdir: /tmp/tmppbtomy1g 649s # codegen: /usr/bin/gdbus-codegen 649s # /tmp/tmppbtomy1g/tmpov4ytke5.xml: 649s # 649s # 649s # 649s # 649s # 649s # 649s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppbtomy1g/tmpov4ytke5.xml', '--output', '-', '--body'] 650s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 650s # Output: /* 650s # * This file is generated by gdbus-codegen, do not modify it. 650s # * 650s # * The license of this code is the same as for the D-Bus interface description 650s # * it was derived from. Note that it links to GLib, so must comply with the 650s # * LGPL linking clauses. 650s # */ 650s # 650s # #ifdef HAVE_CONFIG_H 650s # # include "config.h" 650s # #endif 650s # 650s # #include 650s # #ifdef G_OS_UNIX 650s # # include 650s # #endif 650s # 650s # #ifdef G_ENABLE_DEBUG 650s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 650s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 650s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 650s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 650s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 650s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 650s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 650s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 650s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 650s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 650s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 650s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 650s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 650s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 650s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 650s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 650s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 650s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 650s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 650s # #else /* !G_ENABLE_DEBUG */ 650s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 650s # * Do not access GValues directly in your code. Instead, use the 650s # * g_value_get_*() functions 650s # */ 650s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 650s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 650s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 650s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 650s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 650s # #endif /* !G_ENABLE_DEBUG */ 650s # 650s # typedef struct 650s # { 650s # GDBusArgInfo parent_struct; 650s # gboolean use_gvariant; 650s # } _ExtendedGDBusArgInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusMethodInfo parent_struct; 650s # const gchar *signal_name; 650s # gboolean pass_fdlist; 650s # } _ExtendedGDBusMethodInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusSignalInfo parent_struct; 650s # const gchar *signal_name; 650s # } _ExtendedGDBusSignalInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusPropertyInfo parent_struct; 650s # const gchar *hyphen_name; 650s # guint use_gvariant : 1; 650s # guint emits_changed_signal : 1; 650s # } _ExtendedGDBusPropertyInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusInterfaceInfo parent_struct; 650s # const gchar *hyphen_name; 650s # } _ExtendedGDBusInterfaceInfo; 650s # 650s # typedef struct 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # guint prop_id; 650s # GValue orig_value; /* the value before the change */ 650s # } ChangedProperty; 650s # 650s # static void 650s # _changed_property_free (ChangedProperty *data) 650s # { 650s # g_value_unset (&data->orig_value); 650s # g_free (data); 650s # } 650s # 650s # static gboolean 650s # _g_strv_equal0 (gchar **a, gchar **b) 650s # { 650s # gboolean ret = FALSE; 650s # guint n; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # if (g_strv_length (a) != g_strv_length (b)) 650s # goto out; 650s # for (n = 0; a[n] != NULL; n++) 650s # if (g_strcmp0 (a[n], b[n]) != 0) 650s # goto out; 650s # ret = TRUE; 650s # out: 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _g_variant_equal0 (GVariant *a, GVariant *b) 650s # { 650s # gboolean ret = FALSE; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # ret = g_variant_equal (a, b); 650s # out: 650s # return ret; 650s # } 650s # 650s # G_GNUC_UNUSED static gboolean 650s # _g_value_equal (const GValue *a, const GValue *b) 650s # { 650s # gboolean ret = FALSE; 650s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 650s # switch (G_VALUE_TYPE (a)) 650s # { 650s # case G_TYPE_BOOLEAN: 650s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 650s # break; 650s # case G_TYPE_UCHAR: 650s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 650s # break; 650s # case G_TYPE_INT: 650s # ret = (g_value_get_int (a) == g_value_get_int (b)); 650s # break; 650s # case G_TYPE_UINT: 650s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 650s # break; 650s # case G_TYPE_INT64: 650s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 650s # break; 650s # case G_TYPE_UINT64: 650s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 650s # break; 650s # case G_TYPE_DOUBLE: 650s # { 650s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 650s # gdouble da = g_value_get_double (a); 650s # gdouble db = g_value_get_double (b); 650s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 650s # } 650s # break; 650s # case G_TYPE_STRING: 650s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 650s # break; 650s # case G_TYPE_VARIANT: 650s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 650s # break; 650s # default: 650s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 650s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 650s # else 650s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 650s # break; 650s # } 650s # return ret; 650s # } 650s # 650s # static void 650s # _g_dbus_codegen_marshal_VOID__INT64 ( 650s # GClosure *closure, 650s # GValue *return_value G_GNUC_UNUSED, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint G_GNUC_UNUSED, 650s # void *marshal_data) 650s # { 650s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 650s # (void *data1, 650s # gint64 arg_an_x, 650s # void *data2); 650s # _GDbusCodegenMarshalVoid_Int64Func callback; 650s # GCClosure *cc = (GCClosure*) closure; 650s # void *data1, *data2; 650s # 650s # g_return_if_fail (n_param_values == 2); 650s # 650s # if (G_CCLOSURE_SWAP_DATA (closure)) 650s # { 650s # data1 = closure->data; 650s # data2 = g_value_peek_pointer (param_values + 0); 650s # } 650s # else 650s # { 650s # data1 = g_value_peek_pointer (param_values + 0); 650s # data2 = closure->data; 650s # } 650s # 650s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 650s # (marshal_data ? marshal_data : cc->callback); 650s # 650s # callback (data1, 650s # g_marshal_value_peek_int64 (param_values + 1), 650s # data2); 650s # } 650s # 650s # static void 650s # _g_dbus_codegen_marshal_VOID__UINT64 ( 650s # GClosure *closure, 650s # GValue *return_value G_GNUC_UNUSED, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint G_GNUC_UNUSED, 650s # void *marshal_data) 650s # { 650s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 650s # (void *data1, 650s # guint64 arg_an_t, 650s # void *data2); 650s # _GDbusCodegenMarshalVoid_Uint64Func callback; 650s # GCClosure *cc = (GCClosure*) closure; 650s # void *data1, *data2; 650s # 650s # g_return_if_fail (n_param_values == 2); 650s # 650s # if (G_CCLOSURE_SWAP_DATA (closure)) 650s # { 650s # data1 = closure->data; 650s # data2 = g_value_peek_pointer (param_values + 0); 650s # } 650s # else 650s # { 650s # data1 = g_value_peek_pointer (param_values + 0); 650s # data2 = closure->data; 650s # } 650s # 650s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 650s # (marshal_data ? marshal_data : cc->callback); 650s # 650s # callback (data1, 650s # g_marshal_value_peek_uint64 (param_values + 1), 650s # data2); 650s # } 650s # 650s # /* ------------------------------------------------------------------------ 650s # * Code for interface org.project.SignalingIface 650s # * ------------------------------------------------------------------------ 650s # */ 650s # 650s # /** 650s # * SECTION:OrgProjectSignalingIface 650s # * @title: OrgProjectSignalingIface 650s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 650s # * 650s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 650s # */ 650s # 650s # enum 650s # { 650s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 650s # }; 650s # 650s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 650s # 650s # /* ---- Introspection data for org.project.SignalingIface ---- */ 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 650s # { 650s # { 650s # -1, 650s # (gchar *) "NoArgSignal", 650s # NULL, 650s # NULL 650s # }, 650s # "no-arg-signal" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 650s # { 650s # { 650s # -1, 650s # (gchar *) "an_b", 650s # (gchar *) "b", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalB", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-b" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 650s # { 650s # { 650s # -1, 650s # (gchar *) "an_y", 650s # (gchar *) "y", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalY", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-y" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 650s # { 650s # { 650s # -1, 650s # (gchar *) "an_n", 650s # (gchar *) "n", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalN", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-n" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 650s # { 650s # { 650s # -1, 650s # (gchar *) "an_q", 650s # (gchar *) "q", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalQ", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-q" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 650s # { 650s # { 650s # -1, 650s # (gchar *) "an_i", 650s # (gchar *) "i", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalI", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-i" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 650s # { 650s # { 650s # -1, 650s # (gchar *) "an_u", 650s # (gchar *) "u", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalU", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-u" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 650s # { 650s # { 650s # -1, 650s # (gchar *) "an_x", 650s # (gchar *) "x", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalX", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-x" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 650s # { 650s # { 650s # -1, 650s # (gchar *) "an_t", 650s # (gchar *) "t", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalT", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-t" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 650s # { 650s # { 650s # -1, 650s # (gchar *) "an_d", 650s # (gchar *) "d", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalD", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-d" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 650s # { 650s # { 650s # -1, 650s # (gchar *) "an_s", 650s # (gchar *) "s", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalS", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-s" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 650s # { 650s # { 650s # -1, 650s # (gchar *) "an_o", 650s # (gchar *) "o", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalO", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-o" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 650s # { 650s # { 650s # -1, 650s # (gchar *) "an_g", 650s # (gchar *) "g", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalG", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-g" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 650s # { 650s # { 650s # -1, 650s # (gchar *) "an_h", 650s # (gchar *) "h", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalH", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-h" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 650s # { 650s # { 650s # -1, 650s # (gchar *) "an_ay", 650s # (gchar *) "ay", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalAY", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-ay" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 650s # { 650s # { 650s # -1, 650s # (gchar *) "an_as", 650s # (gchar *) "as", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalAS", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-as" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 650s # { 650s # { 650s # -1, 650s # (gchar *) "an_ao", 650s # (gchar *) "ao", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalAO", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-ao" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 650s # { 650s # { 650s # -1, 650s # (gchar *) "an_aay", 650s # (gchar *) "aay", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalAAY", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-aay" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 650s # { 650s # { 650s # -1, 650s # (gchar *) "an_asv", 650s # (gchar *) "a{sv}", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalASV", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-asv" 650s # }; 650s # 650s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 650s # { 650s # { 650s # -1, 650s # (gchar *) "org.project.SignalingIface", 650s # NULL, 650s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 650s # NULL, 650s # NULL 650s # }, 650s # "org-project-signaling-iface", 650s # }; 650s # 650s # 650s # /** 650s # * org_project_signaling_iface_interface_info: 650s # * 650s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 650s # * 650s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 650s # */ 650s # GDBusInterfaceInfo * 650s # org_project_signaling_iface_interface_info (void) 650s # { 650s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_override_properties: 650s # * @klass: The class structure for a #GObject derived class. 650s # * @property_id_begin: The property id to assign to the first overridden property. 650s # * 650s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 650s # * The properties are overridden in the order they are defined. 650s # * 650s # * Returns: The last property id. 650s # */ 650s # guint 650s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 650s # { 650s # return property_id_begin - 1; 650s # } 650s # 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__VOID (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__BOOLEAN (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__UCHAR (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__INT (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__UINT (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__INT (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__UINT (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__DOUBLE (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__STRING (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__STRING (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__STRING (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__VARIANT (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__STRING (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__BOXED (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__BOXED (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__BOXED (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__VARIANT (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # 650s # /** 650s # * OrgProjectSignalingIface: 650s # * 650s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 650s # */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceIface: 650s # * @parent_iface: The parent interface. 650s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 650s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 650s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 650s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 650s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 650s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 650s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 650s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 650s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 650s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 650s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 650s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 650s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 650s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 650s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 650s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 650s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 650s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 650s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 650s # * 650s # * Virtual table for the D-Bus interface org.project.SignalingIface. 650s # */ 650s # 650s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 650s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 650s # 650s # static void 650s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 650s # { 650s # /* GObject signals for received D-Bus signals: */ 650s # /** 650s # * OrgProjectSignalingIface::no-arg-signal: 650s # * @object: A #OrgProjectSignalingIface. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 650s # g_signal_new ("no-arg-signal", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_no_arg_signal, 650s # G_TYPE_NONE, 650s # 0); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-b: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_b: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 650s # g_signal_new ("single-arg-signal-b", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_BOOLEAN); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-y: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_y: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 650s # g_signal_new ("single-arg-signal-y", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_UCHAR); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-n: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_n: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 650s # g_signal_new ("single-arg-signal-n", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_INT); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-q: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_q: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 650s # g_signal_new ("single-arg-signal-q", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_UINT); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-i: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_i: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 650s # g_signal_new ("single-arg-signal-i", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_INT); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-u: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_u: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 650s # g_signal_new ("single-arg-signal-u", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_UINT); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-x: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_x: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 650s # g_signal_new ("single-arg-signal-x", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_INT64); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-t: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_t: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 650s # g_signal_new ("single-arg-signal-t", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_UINT64); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-d: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_d: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 650s # g_signal_new ("single-arg-signal-d", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_DOUBLE); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-s: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_s: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 650s # g_signal_new ("single-arg-signal-s", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_STRING); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-o: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_o: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 650s # g_signal_new ("single-arg-signal-o", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_STRING); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-g: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_g: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 650s # g_signal_new ("single-arg-signal-g", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_STRING); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-h: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_h: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 650s # g_signal_new ("single-arg-signal-h", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_VARIANT); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-ay: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_ay: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 650s # g_signal_new ("single-arg-signal-ay", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_STRING); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-as: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_as: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 650s # g_signal_new ("single-arg-signal-as", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_STRV); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-ao: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_ao: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 650s # g_signal_new ("single-arg-signal-ao", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_STRV); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-aay: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_aay: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 650s # g_signal_new ("single-arg-signal-aay", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_STRV); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-asv: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_asv: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 650s # g_signal_new ("single-arg-signal-asv", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_VARIANT); 650s # 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_no_arg_signal: 650s # * @object: A #OrgProjectSignalingIface. 650s # * 650s # * Emits the "NoArgSignal" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_no_arg_signal ( 650s # OrgProjectSignalingIface *object) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_b: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_b: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalB" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_b ( 650s # OrgProjectSignalingIface *object, 650s # gboolean arg_an_b) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_y: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_y: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalY" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_y ( 650s # OrgProjectSignalingIface *object, 650s # guchar arg_an_y) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_n: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_n: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalN" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_n ( 650s # OrgProjectSignalingIface *object, 650s # gint16 arg_an_n) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_q: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_q: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalQ" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_q ( 650s # OrgProjectSignalingIface *object, 650s # guint16 arg_an_q) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_i: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_i: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalI" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_i ( 650s # OrgProjectSignalingIface *object, 650s # gint arg_an_i) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_u: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_u: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalU" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_u ( 650s # OrgProjectSignalingIface *object, 650s # guint arg_an_u) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_x: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_x: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalX" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_x ( 650s # OrgProjectSignalingIface *object, 650s # gint64 arg_an_x) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_t: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_t: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalT" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_t ( 650s # OrgProjectSignalingIface *object, 650s # guint64 arg_an_t) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_d: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_d: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalD" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_d ( 650s # OrgProjectSignalingIface *object, 650s # gdouble arg_an_d) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_s: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_s: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalS" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_s ( 650s # OrgProjectSignalingIface *object, 650s # const gchar *arg_an_s) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_o: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_o: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalO" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_o ( 650s # OrgProjectSignalingIface *object, 650s # const gchar *arg_an_o) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_g: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_g: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalG" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_g ( 650s # OrgProjectSignalingIface *object, 650s # const gchar *arg_an_g) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_h: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_h: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalH" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_h ( 650s # OrgProjectSignalingIface *object, 650s # GVariant *arg_an_h) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_ay: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_ay: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalAY" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_ay ( 650s # OrgProjectSignalingIface *object, 650s # const gchar *arg_an_ay) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_as: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_as: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalAS" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_as ( 650s # OrgProjectSignalingIface *object, 650s # const gchar *const *arg_an_as) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_ao: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_ao: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalAO" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_ao ( 650s # OrgProjectSignalingIface *object, 650s # const gchar *const *arg_an_ao) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_aay: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_aay: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalAAY" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_aay ( 650s # OrgProjectSignalingIface *object, 650s # const gchar *const *arg_an_aay) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_asv: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_an_asv: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalASV" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_asv ( 650s # OrgProjectSignalingIface *object, 650s # GVariant *arg_an_asv) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 650s # } 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceProxy: 650s # * 650s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceProxyClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectSignalingIfaceProxy. 650s # */ 650s # 650s # struct _OrgProjectSignalingIfaceProxyPrivate 650s # { 650s # GData *qdata; 650s # }; 650s # 650s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_signaling_iface_proxy_finalize (GObject *object) 650s # { 650s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 650s # g_datalist_clear (&proxy->priv->qdata); 650s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # const GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 650s # const gchar *sender_name G_GNUC_UNUSED, 650s # const gchar *signal_name, 650s # GVariant *parameters) 650s # { 650s # _ExtendedGDBusSignalInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # gsize n; 650s # guint signal_id; 650s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 650s # if (info == NULL) 650s # return; 650s # num_params = g_variant_n_children (parameters); 650s # paramv = g_new0 (GValue, num_params + 1); 650s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_value_set_object (¶mv[0], proxy); 650s # g_variant_iter_init (&iter, parameters); 650s # n = 1; 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_signal_emitv (paramv, signal_id, 0, NULL); 650s # for (n = 0; n < num_params + 1; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 650s # GVariant *changed_properties, 650s # const gchar *const *invalidated_properties) 650s # { 650s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 650s # guint n; 650s # const gchar *key; 650s # GVariantIter *iter; 650s # _ExtendedGDBusPropertyInfo *info; 650s # g_variant_get (changed_properties, "a{sv}", &iter); 650s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 650s # g_datalist_remove_data (&proxy->priv->qdata, key); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # g_variant_iter_free (iter); 650s # for (n = 0; invalidated_properties[n] != NULL; n++) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 650s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 650s # #else 650s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 650s # #endif 650s # 650s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusProxyClass *proxy_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 650s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 650s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 650s # 650s # proxy_class = G_DBUS_PROXY_CLASS (klass); 650s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 650s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 650s # * 650s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_signaling_iface_proxy_new ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_sync: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_sync ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_for_bus: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 650s # * 650s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_signaling_iface_proxy_new_for_bus ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_for_bus_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_for_bus_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_for_bus_sync: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_for_bus_sync ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceSkeleton: 650s # * 650s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceSkeletonClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 650s # */ 650s # 650s # struct _OrgProjectSignalingIfaceSkeletonPrivate 650s # { 650s # GValue *properties; 650s # GList *changed_properties; 650s # GSource *changed_properties_idle_source; 650s # GMainContext *context; 650s # GMutex lock; 650s # }; 650s # 650s # static void 650s # _org_project_signaling_iface_skeleton_handle_method_call ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name, 650s # const gchar *method_name, 650s # GVariant *parameters, 650s # GDBusMethodInvocation *invocation, 650s # gpointer user_data) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 650s # _ExtendedGDBusMethodInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # guint num_extra; 650s # gsize n; 650s # guint signal_id; 650s # GValue return_value = G_VALUE_INIT; 650s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 650s # g_assert (info != NULL); 650s # num_params = g_variant_n_children (parameters); 650s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 650s # n = 0; 650s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_value_set_object (¶mv[n++], skeleton); 650s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 650s # g_value_set_object (¶mv[n++], invocation); 650s # if (info->pass_fdlist) 650s # { 650s # #ifdef G_OS_UNIX 650s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 650s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 650s # #else 650s # g_assert_not_reached (); 650s # #endif 650s # } 650s # g_variant_iter_init (&iter, parameters); 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_value_init (&return_value, G_TYPE_BOOLEAN); 650s # g_signal_emitv (paramv, signal_id, 0, &return_value); 650s # if (!g_value_get_boolean (&return_value)) 650s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 650s # g_value_unset (&return_value); 650s # for (n = 0; n < num_params + num_extra; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static GVariant * 650s # _org_project_signaling_iface_skeleton_handle_get_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # GVariant *ret; 650s # ret = NULL; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # g_value_init (&value, pspec->value_type); 650s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 650s # g_value_unset (&value); 650s # } 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _org_project_signaling_iface_skeleton_handle_set_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GVariant *variant, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # gboolean ret; 650s # ret = FALSE; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # if (info->use_gvariant) 650s # g_value_set_variant (&value, variant); 650s # else 650s # g_dbus_gvariant_to_gvalue (variant, &value); 650s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # g_value_unset (&value); 650s # ret = TRUE; 650s # } 650s # return ret; 650s # } 650s # 650s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 650s # { 650s # _org_project_signaling_iface_skeleton_handle_method_call, 650s # _org_project_signaling_iface_skeleton_handle_get_property, 650s # _org_project_signaling_iface_skeleton_handle_set_property, 650s # {NULL} 650s # }; 650s # 650s # static GDBusInterfaceInfo * 650s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return org_project_signaling_iface_interface_info (); 650s # } 650s # 650s # static GDBusInterfaceVTable * 650s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 650s # } 650s # 650s # static GVariant * 650s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 650s # 650s # GVariantBuilder builder; 650s # guint n; 650s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 650s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 650s # goto out; 650s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 650s # { 650s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 650s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 650s # { 650s # GVariant *value; 650s # 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); 650s # if (value != NULL) 650s # { 650s # g_variant_take_ref (value); 650s # g_variant_builder_add (&builder, "{sv}", info->name, value); 650s # g_variant_unref (value); 650s # } 650s # } 650s # } 650s # out: 650s # return g_variant_builder_end (&builder); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_no_arg_signal ( 650s # OrgProjectSignalingIface *object) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 650s # OrgProjectSignalingIface *object, 650s # gboolean arg_an_b) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 650s # arg_an_b)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 650s # OrgProjectSignalingIface *object, 650s # guchar arg_an_y) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 650s # arg_an_y)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 650s # OrgProjectSignalingIface *object, 650s # gint16 arg_an_n) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 650s # arg_an_n)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 650s # OrgProjectSignalingIface *object, 650s # guint16 arg_an_q) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 650s # arg_an_q)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 650s # OrgProjectSignalingIface *object, 650s # gint arg_an_i) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 650s # arg_an_i)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 650s # OrgProjectSignalingIface *object, 650s # guint arg_an_u) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 650s # arg_an_u)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 650s # OrgProjectSignalingIface *object, 650s # gint64 arg_an_x) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 650s # arg_an_x)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 650s # OrgProjectSignalingIface *object, 650s # guint64 arg_an_t) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 650s # arg_an_t)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 650s # OrgProjectSignalingIface *object, 650s # gdouble arg_an_d) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 650s # arg_an_d)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 650s # OrgProjectSignalingIface *object, 650s # const gchar *arg_an_s) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 650s # arg_an_s)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 650s # OrgProjectSignalingIface *object, 650s # const gchar *arg_an_o) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 650s # arg_an_o)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 650s # OrgProjectSignalingIface *object, 650s # const gchar *arg_an_g) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 650s # arg_an_g)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 650s # OrgProjectSignalingIface *object, 650s # GVariant *arg_an_h) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 650s # arg_an_h)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 650s # OrgProjectSignalingIface *object, 650s # const gchar *arg_an_ay) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 650s # arg_an_ay)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 650s # OrgProjectSignalingIface *object, 650s # const gchar *const *arg_an_as) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 650s # arg_an_as)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 650s # OrgProjectSignalingIface *object, 650s # const gchar *const *arg_an_ao) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 650s # arg_an_ao)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 650s # OrgProjectSignalingIface *object, 650s # const gchar *const *arg_an_aay) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 650s # arg_an_aay)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 650s # OrgProjectSignalingIface *object, 650s # GVariant *arg_an_asv) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 650s # arg_an_asv)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_signaling_iface_skeleton_finalize (GObject *object) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 650s # if (skeleton->priv->changed_properties_idle_source != NULL) 650s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 650s # g_main_context_unref (skeleton->priv->context); 650s # g_mutex_clear (&skeleton->priv->lock); 650s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 650s # #else 650s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 650s # #endif 650s # 650s # g_mutex_init (&skeleton->priv->lock); 650s # skeleton->priv->context = g_main_context_ref_thread_default (); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusInterfaceSkeletonClass *skeleton_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 650s # 650s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 650s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 650s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 650s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 650s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 650s # { 650s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 650s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 650s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 650s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 650s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 650s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 650s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 650s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 650s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 650s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 650s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 650s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 650s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 650s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 650s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 650s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 650s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 650s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 650s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_skeleton_new: 650s # * 650s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_skeleton_new (void) 650s # { 650s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 650s # } 650s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 650s # tmpdir: /tmp/tmpu_yo5lb7 650s # codegen: /usr/bin/gdbus-codegen 650s # /tmp/tmpu_yo5lb7/tmprc3qor40.xml: 650s # 650s # 650s # 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu_yo5lb7/tmprc3qor40.xml', '--output', '-', '--body'] 650s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 650s # Output: /* 650s # * This file is generated by gdbus-codegen, do not modify it. 650s # * 650s # * The license of this code is the same as for the D-Bus interface description 650s # * it was derived from. Note that it links to GLib, so must comply with the 650s # * LGPL linking clauses. 650s # */ 650s # 650s # #ifdef HAVE_CONFIG_H 650s # # include "config.h" 650s # #endif 650s # 650s # #include 650s # #ifdef G_OS_UNIX 650s # # include 650s # #endif 650s # 650s # #ifdef G_ENABLE_DEBUG 650s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 650s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 650s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 650s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 650s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 650s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 650s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 650s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 650s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 650s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 650s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 650s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 650s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 650s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 650s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 650s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 650s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 650s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 650s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 650s # #else /* !G_ENABLE_DEBUG */ 650s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 650s # * Do not access GValues directly in your code. Instead, use the 650s # * g_value_get_*() functions 650s # */ 650s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 650s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 650s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 650s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 650s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 650s # #endif /* !G_ENABLE_DEBUG */ 650s # 650s # typedef struct 650s # { 650s # GDBusArgInfo parent_struct; 650s # gboolean use_gvariant; 650s # } _ExtendedGDBusArgInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusMethodInfo parent_struct; 650s # const gchar *signal_name; 650s # gboolean pass_fdlist; 650s # } _ExtendedGDBusMethodInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusSignalInfo parent_struct; 650s # const gchar *signal_name; 650s # } _ExtendedGDBusSignalInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusPropertyInfo parent_struct; 650s # const gchar *hyphen_name; 650s # guint use_gvariant : 1; 650s # guint emits_changed_signal : 1; 650s # } _ExtendedGDBusPropertyInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusInterfaceInfo parent_struct; 650s # const gchar *hyphen_name; 650s # } _ExtendedGDBusInterfaceInfo; 650s # 650s # typedef struct 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # guint prop_id; 650s # GValue orig_value; /* the value before the change */ 650s # } ChangedProperty; 650s # 650s # static void 650s # _changed_property_free (ChangedProperty *data) 650s # { 650s # g_value_unset (&data->orig_value); 650s # g_free (data); 650s # } 650s # 650s # static gboolean 650s # _g_strv_equal0 (gchar **a, gchar **b) 650s # { 650s # gboolean ret = FALSE; 650s # guint n; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # if (g_strv_length (a) != g_strv_length (b)) 650s # goto out; 650s # for (n = 0; a[n] != NULL; n++) 650s # if (g_strcmp0 (a[n], b[n]) != 0) 650s # goto out; 650s # ret = TRUE; 650s # out: 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _g_variant_equal0 (GVariant *a, GVariant *b) 650s # { 650s # gboolean ret = FALSE; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # ret = g_variant_equal (a, b); 650s # out: 650s # return ret; 650s # } 650s # 650s # G_GNUC_UNUSED static gboolean 650s # _g_value_equal (const GValue *a, const GValue *b) 650s # { 650s # gboolean ret = FALSE; 650s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 650s # switch (G_VALUE_TYPE (a)) 650s # { 650s # case G_TYPE_BOOLEAN: 650s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 650s # break; 650s # case G_TYPE_UCHAR: 650s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 650s # break; 650s # case G_TYPE_INT: 650s # ret = (g_value_get_int (a) == g_value_get_int (b)); 650s # break; 650s # case G_TYPE_UINT: 650s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 650s # break; 650s # case G_TYPE_INT64: 650s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 650s # break; 650s # case G_TYPE_UINT64: 650s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 650s # break; 650s # case G_TYPE_DOUBLE: 650s # { 650s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 650s # gdouble da = g_value_get_double (a); 650s # gdouble db = g_value_get_double (b); 650s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 650s # } 650s # break; 650s # case G_TYPE_STRING: 650s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 650s # break; 650s # case G_TYPE_VARIANT: 650s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 650s # break; 650s # default: 650s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 650s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 650s # else 650s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 650s # break; 650s # } 650s # return ret; 650s # } 650s # 650s # /* ------------------------------------------------------------------------ 650s # * Code for interface org.project.UsefulInterface 650s # * ------------------------------------------------------------------------ 650s # */ 650s # 650s # /** 650s # * SECTION:OrgProjectUsefulInterface 650s # * @title: OrgProjectUsefulInterface 650s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 650s # * 650s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 650s # */ 650s # 650s # enum 650s # { 650s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 650s # }; 650s # 650s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 650s # 650s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SimpleSignal", 650s # NULL, 650s # NULL 650s # }, 650s # "simple-signal" 650s # }; 650s # 650s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 650s # { 650s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 650s # { 650s # { 650s # -1, 650s # (gchar *) "org.project.UsefulInterface", 650s # NULL, 650s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 650s # NULL, 650s # NULL 650s # }, 650s # "org-project-useful-interface", 650s # }; 650s # 650s # 650s # /** 650s # * org_project_useful_interface_interface_info: 650s # * 650s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 650s # * 650s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 650s # */ 650s # GDBusInterfaceInfo * 650s # org_project_useful_interface_interface_info (void) 650s # { 650s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 650s # } 650s # 650s # /** 650s # * org_project_useful_interface_override_properties: 650s # * @klass: The class structure for a #GObject derived class. 650s # * @property_id_begin: The property id to assign to the first overridden property. 650s # * 650s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 650s # * The properties are overridden in the order they are defined. 650s # * 650s # * Returns: The last property id. 650s # */ 650s # guint 650s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 650s # { 650s # return property_id_begin - 1; 650s # } 650s # 650s # 650s # inline static void 650s # org_project_useful_interface_signal_marshal_simple_signal ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__VOID (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # 650s # /** 650s # * OrgProjectUsefulInterface: 650s # * 650s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 650s # */ 650s # 650s # /** 650s # * OrgProjectUsefulInterfaceIface: 650s # * @parent_iface: The parent interface. 650s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 650s # * 650s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 650s # */ 650s # 650s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 650s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 650s # 650s # static void 650s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 650s # { 650s # /* GObject signals for received D-Bus signals: */ 650s # /** 650s # * OrgProjectUsefulInterface::simple-signal: 650s # * @object: A #OrgProjectUsefulInterface. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 650s # g_signal_new ("simple-signal", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 650s # NULL, 650s # NULL, 650s # org_project_useful_interface_signal_marshal_simple_signal, 650s # G_TYPE_NONE, 650s # 0); 650s # 650s # } 650s # 650s # /** 650s # * org_project_useful_interface_emit_simple_signal: 650s # * @object: A #OrgProjectUsefulInterface. 650s # * 650s # * Emits the "SimpleSignal" D-Bus signal. 650s # */ 650s # void 650s # org_project_useful_interface_emit_simple_signal ( 650s # OrgProjectUsefulInterface *object) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 650s # } 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectUsefulInterfaceProxy: 650s # * 650s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectUsefulInterfaceProxyClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectUsefulInterfaceProxy. 650s # */ 650s # 650s # struct _OrgProjectUsefulInterfaceProxyPrivate 650s # { 650s # GData *qdata; 650s # }; 650s # 650s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 650s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_useful_interface_proxy_finalize (GObject *object) 650s # { 650s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 650s # g_datalist_clear (&proxy->priv->qdata); 650s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # const GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 650s # const gchar *sender_name G_GNUC_UNUSED, 650s # const gchar *signal_name, 650s # GVariant *parameters) 650s # { 650s # _ExtendedGDBusSignalInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # gsize n; 650s # guint signal_id; 650s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 650s # if (info == NULL) 650s # return; 650s # num_params = g_variant_n_children (parameters); 650s # paramv = g_new0 (GValue, num_params + 1); 650s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 650s # g_value_set_object (¶mv[0], proxy); 650s # g_variant_iter_init (&iter, parameters); 650s # n = 1; 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 650s # g_signal_emitv (paramv, signal_id, 0, NULL); 650s # for (n = 0; n < num_params + 1; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static void 650s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 650s # GVariant *changed_properties, 650s # const gchar *const *invalidated_properties) 650s # { 650s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 650s # guint n; 650s # const gchar *key; 650s # GVariantIter *iter; 650s # _ExtendedGDBusPropertyInfo *info; 650s # g_variant_get (changed_properties, "a{sv}", &iter); 650s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 650s # g_datalist_remove_data (&proxy->priv->qdata, key); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # g_variant_iter_free (iter); 650s # for (n = 0; invalidated_properties[n] != NULL; n++) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 650s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # } 650s # 650s # static void 650s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 650s # #else 650s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 650s # #endif 650s # 650s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 650s # } 650s # 650s # static void 650s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusProxyClass *proxy_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 650s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 650s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 650s # 650s # proxy_class = G_DBUS_PROXY_CLASS (klass); 650s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 650s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # /** 650s # * org_project_useful_interface_proxy_new: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 650s # * 650s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_useful_interface_proxy_new ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # g_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); 650s # } 650s # 650s # /** 650s # * org_project_useful_interface_proxy_new_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectUsefulInterface * 650s # org_project_useful_interface_proxy_new_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_useful_interface_proxy_new_sync: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectUsefulInterface * 650s # org_project_useful_interface_proxy_new_sync ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /** 650s # * org_project_useful_interface_proxy_new_for_bus: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 650s # * 650s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_useful_interface_proxy_new_for_bus ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # g_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); 650s # } 650s # 650s # /** 650s # * org_project_useful_interface_proxy_new_for_bus_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectUsefulInterface * 650s # org_project_useful_interface_proxy_new_for_bus_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_useful_interface_proxy_new_for_bus_sync: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectUsefulInterface * 650s # org_project_useful_interface_proxy_new_for_bus_sync ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectUsefulInterfaceSkeleton: 650s # * 650s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectUsefulInterfaceSkeletonClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 650s # */ 650s # 650s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 650s # { 650s # GValue *properties; 650s # GList *changed_properties; 650s # GSource *changed_properties_idle_source; 650s # GMainContext *context; 650s # GMutex lock; 650s # }; 650s # 650s # static void 650s # _org_project_useful_interface_skeleton_handle_method_call ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name, 650s # const gchar *method_name, 650s # GVariant *parameters, 650s # GDBusMethodInvocation *invocation, 650s # gpointer user_data) 650s # { 650s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 650s # _ExtendedGDBusMethodInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # guint num_extra; 650s # gsize n; 650s # guint signal_id; 650s # GValue return_value = G_VALUE_INIT; 650s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 650s # g_assert (info != NULL); 650s # num_params = g_variant_n_children (parameters); 650s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 650s # n = 0; 650s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 650s # g_value_set_object (¶mv[n++], skeleton); 650s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 650s # g_value_set_object (¶mv[n++], invocation); 650s # if (info->pass_fdlist) 650s # { 650s # #ifdef G_OS_UNIX 650s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 650s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 650s # #else 650s # g_assert_not_reached (); 650s # #endif 650s # } 650s # g_variant_iter_init (&iter, parameters); 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 650s # g_value_init (&return_value, G_TYPE_BOOLEAN); 650s # g_signal_emitv (paramv, signal_id, 0, &return_value); 650s # if (!g_value_get_boolean (&return_value)) 650s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 650s # g_value_unset (&return_value); 650s # for (n = 0; n < num_params + num_extra; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static GVariant * 650s # _org_project_useful_interface_skeleton_handle_get_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # GVariant *ret; 650s # ret = NULL; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # g_value_init (&value, pspec->value_type); 650s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 650s # g_value_unset (&value); 650s # } 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _org_project_useful_interface_skeleton_handle_set_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GVariant *variant, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # gboolean ret; 650s # ret = FALSE; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # if (info->use_gvariant) 650s # g_value_set_variant (&value, variant); 650s # else 650s # g_dbus_gvariant_to_gvalue (variant, &value); 650s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # g_value_unset (&value); 650s # ret = TRUE; 650s # } 650s # return ret; 650s # } 650s # 650s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 650s # { 650s # _org_project_useful_interface_skeleton_handle_method_call, 650s # _org_project_useful_interface_skeleton_handle_get_property, 650s # _org_project_useful_interface_skeleton_handle_set_property, 650s # {NULL} 650s # }; 650s # 650s # static GDBusInterfaceInfo * 650s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return org_project_useful_interface_interface_info (); 650s # } 650s # 650s # static GDBusInterfaceVTable * 650s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 650s # } 650s # 650s # static GVariant * 650s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 650s # { 650s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 650s # 650s # GVariantBuilder builder; 650s # guint n; 650s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 650s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 650s # goto out; 650s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 650s # { 650s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 650s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 650s # { 650s # GVariant *value; 650s # 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); 650s # if (value != NULL) 650s # { 650s # g_variant_take_ref (value); 650s # g_variant_builder_add (&builder, "{sv}", info->name, value); 650s # g_variant_unref (value); 650s # } 650s # } 650s # } 650s # out: 650s # return g_variant_builder_end (&builder); 650s # } 650s # 650s # static void 650s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # _org_project_useful_interface_on_signal_simple_signal ( 650s # OrgProjectUsefulInterface *object) 650s # { 650s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_useful_interface_skeleton_finalize (GObject *object) 650s # { 650s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 650s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 650s # if (skeleton->priv->changed_properties_idle_source != NULL) 650s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 650s # g_main_context_unref (skeleton->priv->context); 650s # g_mutex_clear (&skeleton->priv->lock); 650s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 650s # #else 650s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 650s # #endif 650s # 650s # g_mutex_init (&skeleton->priv->lock); 650s # skeleton->priv->context = g_main_context_ref_thread_default (); 650s # } 650s # 650s # static void 650s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusInterfaceSkeletonClass *skeleton_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 650s # 650s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 650s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 650s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 650s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 650s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 650s # { 650s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 650s # } 650s # 650s # /** 650s # * org_project_useful_interface_skeleton_new: 650s # * 650s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 650s # * 650s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 650s # */ 650s # OrgProjectUsefulInterface * 650s # org_project_useful_interface_skeleton_new (void) 650s # { 650s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 650s # } 650s # 650s # /* ------------------------------------------------------------------------ 650s # * Code for interface org.project.OtherIface 650s # * ------------------------------------------------------------------------ 650s # */ 650s # 650s # /** 650s # * SECTION:OrgProjectOtherIface 650s # * @title: OrgProjectOtherIface 650s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 650s # * 650s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 650s # */ 650s # 650s # enum 650s # { 650s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 650s # }; 650s # 650s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 650s # 650s # /* ---- Introspection data for org.project.OtherIface ---- */ 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SimpleSignal", 650s # NULL, 650s # NULL 650s # }, 650s # "simple-signal" 650s # }; 650s # 650s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 650s # { 650s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 650s # { 650s # { 650s # -1, 650s # (gchar *) "org.project.OtherIface", 650s # NULL, 650s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 650s # NULL, 650s # NULL 650s # }, 650s # "org-project-other-iface", 650s # }; 650s # 650s # 650s # /** 650s # * org_project_other_iface_interface_info: 650s # * 650s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 650s # * 650s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 650s # */ 650s # GDBusInterfaceInfo * 650s # org_project_other_iface_interface_info (void) 650s # { 650s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 650s # } 650s # 650s # /** 650s # * org_project_other_iface_override_properties: 650s # * @klass: The class structure for a #GObject derived class. 650s # * @property_id_begin: The property id to assign to the first overridden property. 650s # * 650s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 650s # * The properties are overridden in the order they are defined. 650s # * 650s # * Returns: The last property id. 650s # */ 650s # guint 650s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 650s # { 650s # return property_id_begin - 1; 650s # } 650s # 650s # 650s # inline static void 650s # org_project_other_iface_signal_marshal_simple_signal ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__VOID (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # 650s # /** 650s # * OrgProjectOtherIface: 650s # * 650s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 650s # */ 650s # 650s # /** 650s # * OrgProjectOtherIfaceIface: 650s # * @parent_iface: The parent interface. 650s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 650s # * 650s # * Virtual table for the D-Bus interface org.project.OtherIface. 650s # */ 650s # 650s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 650s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 650s # 650s # static void 650s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 650s # { 650s # /* GObject signals for received D-Bus signals: */ 650s # /** 650s # * OrgProjectOtherIface::simple-signal: 650s # * @object: A #OrgProjectOtherIface. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 650s # g_signal_new ("simple-signal", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 650s # NULL, 650s # NULL, 650s # org_project_other_iface_signal_marshal_simple_signal, 650s # G_TYPE_NONE, 650s # 0); 650s # 650s # } 650s # 650s # /** 650s # * org_project_other_iface_emit_simple_signal: 650s # * @object: A #OrgProjectOtherIface. 650s # * 650s # * Emits the "SimpleSignal" D-Bus signal. 650s # */ 650s # void 650s # org_project_other_iface_emit_simple_signal ( 650s # OrgProjectOtherIface *object) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 650s # } 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectOtherIfaceProxy: 650s # * 650s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectOtherIfaceProxyClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectOtherIfaceProxy. 650s # */ 650s # 650s # struct _OrgProjectOtherIfaceProxyPrivate 650s # { 650s # GData *qdata; 650s # }; 650s # 650s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_other_iface_proxy_finalize (GObject *object) 650s # { 650s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 650s # g_datalist_clear (&proxy->priv->qdata); 650s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # const GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 650s # const gchar *sender_name G_GNUC_UNUSED, 650s # const gchar *signal_name, 650s # GVariant *parameters) 650s # { 650s # _ExtendedGDBusSignalInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # gsize n; 650s # guint signal_id; 650s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 650s # if (info == NULL) 650s # return; 650s # num_params = g_variant_n_children (parameters); 650s # paramv = g_new0 (GValue, num_params + 1); 650s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 650s # g_value_set_object (¶mv[0], proxy); 650s # g_variant_iter_init (&iter, parameters); 650s # n = 1; 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 650s # g_signal_emitv (paramv, signal_id, 0, NULL); 650s # for (n = 0; n < num_params + 1; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static void 650s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 650s # GVariant *changed_properties, 650s # const gchar *const *invalidated_properties) 650s # { 650s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 650s # guint n; 650s # const gchar *key; 650s # GVariantIter *iter; 650s # _ExtendedGDBusPropertyInfo *info; 650s # g_variant_get (changed_properties, "a{sv}", &iter); 650s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 650s # g_datalist_remove_data (&proxy->priv->qdata, key); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # g_variant_iter_free (iter); 650s # for (n = 0; invalidated_properties[n] != NULL; n++) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 650s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # } 650s # 650s # static void 650s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 650s # #else 650s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 650s # #endif 650s # 650s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 650s # } 650s # 650s # static void 650s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusProxyClass *proxy_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 650s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 650s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 650s # 650s # proxy_class = G_DBUS_PROXY_CLASS (klass); 650s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 650s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # /** 650s # * org_project_other_iface_proxy_new: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 650s # * 650s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_other_iface_proxy_new ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * org_project_other_iface_proxy_new_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_other_iface_proxy_new(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectOtherIface * 650s # org_project_other_iface_proxy_new_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_OTHER_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_other_iface_proxy_new_sync: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectOtherIface * 650s # org_project_other_iface_proxy_new_sync ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_OTHER_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /** 650s # * org_project_other_iface_proxy_new_for_bus: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 650s # * 650s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_other_iface_proxy_new_for_bus ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * org_project_other_iface_proxy_new_for_bus_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectOtherIface * 650s # org_project_other_iface_proxy_new_for_bus_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_OTHER_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_other_iface_proxy_new_for_bus_sync: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectOtherIface * 650s # org_project_other_iface_proxy_new_for_bus_sync ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_OTHER_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectOtherIfaceSkeleton: 650s # * 650s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectOtherIfaceSkeletonClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectOtherIfaceSkeleton. 650s # */ 650s # 650s # struct _OrgProjectOtherIfaceSkeletonPrivate 650s # { 650s # GValue *properties; 650s # GList *changed_properties; 650s # GSource *changed_properties_idle_source; 650s # GMainContext *context; 650s # GMutex lock; 650s # }; 650s # 650s # static void 650s # _org_project_other_iface_skeleton_handle_method_call ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name, 650s # const gchar *method_name, 650s # GVariant *parameters, 650s # GDBusMethodInvocation *invocation, 650s # gpointer user_data) 650s # { 650s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 650s # _ExtendedGDBusMethodInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # guint num_extra; 650s # gsize n; 650s # guint signal_id; 650s # GValue return_value = G_VALUE_INIT; 650s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 650s # g_assert (info != NULL); 650s # num_params = g_variant_n_children (parameters); 650s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 650s # n = 0; 650s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 650s # g_value_set_object (¶mv[n++], skeleton); 650s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 650s # g_value_set_object (¶mv[n++], invocation); 650s # if (info->pass_fdlist) 650s # { 650s # #ifdef G_OS_UNIX 650s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 650s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 650s # #else 650s # g_assert_not_reached (); 650s # #endif 650s # } 650s # g_variant_iter_init (&iter, parameters); 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 650s # g_value_init (&return_value, G_TYPE_BOOLEAN); 650s # g_signal_emitv (paramv, signal_id, 0, &return_value); 650s # if (!g_value_get_boolean (&return_value)) 650s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 650s # g_value_unset (&return_value); 650s # for (n = 0; n < num_params + num_extra; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static GVariant * 650s # _org_project_other_iface_skeleton_handle_get_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # GVariant *ret; 650s # ret = NULL; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # g_value_init (&value, pspec->value_type); 650s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 650s # g_value_unset (&value); 650s # } 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _org_project_other_iface_skeleton_handle_set_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GVariant *variant, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # gboolean ret; 650s # ret = FALSE; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # if (info->use_gvariant) 650s # g_value_set_variant (&value, variant); 650s # else 650s # g_dbus_gvariant_to_gvalue (variant, &value); 650s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # g_value_unset (&value); 650s # ret = TRUE; 650s # } 650s # return ret; 650s # } 650s # 650s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 650s # { 650s # _org_project_other_iface_skeleton_handle_method_call, 650s # _org_project_other_iface_skeleton_handle_get_property, 650s # _org_project_other_iface_skeleton_handle_set_property, 650s # {NULL} 650s # }; 650s # 650s # static GDBusInterfaceInfo * 650s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return org_project_other_iface_interface_info (); 650s # } 650s # 650s # static GDBusInterfaceVTable * 650s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 650s # } 650s # 650s # static GVariant * 650s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 650s # { 650s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 650s # 650s # GVariantBuilder builder; 650s # guint n; 650s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 650s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 650s # goto out; 650s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 650s # { 650s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 650s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 650s # { 650s # GVariant *value; 650s # 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); 650s # if (value != NULL) 650s # { 650s # g_variant_take_ref (value); 650s # g_variant_builder_add (&builder, "{sv}", info->name, value); 650s # g_variant_unref (value); 650s # } 650s # } 650s # } 650s # out: 650s # return g_variant_builder_end (&builder); 650s # } 650s # 650s # static void 650s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # _org_project_other_iface_on_signal_simple_signal ( 650s # OrgProjectOtherIface *object) 650s # { 650s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_other_iface_skeleton_finalize (GObject *object) 650s # { 650s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 650s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 650s # if (skeleton->priv->changed_properties_idle_source != NULL) 650s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 650s # g_main_context_unref (skeleton->priv->context); 650s # g_mutex_clear (&skeleton->priv->lock); 650s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 650s # #else 650s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 650s # #endif 650s # 650s # g_mutex_init (&skeleton->priv->lock); 650s # skeleton->priv->context = g_main_context_ref_thread_default (); 650s # } 650s # 650s # static void 650s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusInterfaceSkeletonClass *skeleton_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 650s # 650s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 650s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 650s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 650s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 650s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 650s # { 650s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 650s # } 650s # 650s # /** 650s # * org_project_other_iface_skeleton_new: 650s # * 650s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 650s # * 650s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 650s # */ 650s # OrgProjectOtherIface * 650s # org_project_other_iface_skeleton_new (void) 650s # { 650s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 650s # } 650s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 650s # tmpdir: /tmp/tmp9a9z4nbh 650s # codegen: /usr/bin/gdbus-codegen 650s # /tmp/tmp9a9z4nbh/tmp9hr_avh1.xml: 650s # 650s # 650s # 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9a9z4nbh/tmp9hr_avh1.xml', '--output', '-', '--body'] 650s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 650s # Output: /* 650s # * This file is generated by gdbus-codegen, do not modify it. 650s # * 650s # * The license of this code is the same as for the D-Bus interface description 650s # * it was derived from. Note that it links to GLib, so must comply with the 650s # * LGPL linking clauses. 650s # */ 650s # 650s # #ifdef HAVE_CONFIG_H 650s # # include "config.h" 650s # #endif 650s # 650s # #include 650s # #ifdef G_OS_UNIX 650s # # include 650s # #endif 650s # 650s # #ifdef G_ENABLE_DEBUG 650s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 650s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 650s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 650s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 650s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 650s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 650s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 650s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 650s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 650s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 650s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 650s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 650s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 650s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 650s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 650s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 650s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 650s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 650s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 650s # #else /* !G_ENABLE_DEBUG */ 650s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 650s # * Do not access GValues directly in your code. Instead, use the 650s # * g_value_get_*() functions 650s # */ 650s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 650s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 650s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 650s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 650s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 650s # #endif /* !G_ENABLE_DEBUG */ 650s # 650s # typedef struct 650s # { 650s # GDBusArgInfo parent_struct; 650s # gboolean use_gvariant; 650s # } _ExtendedGDBusArgInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusMethodInfo parent_struct; 650s # const gchar *signal_name; 650s # gboolean pass_fdlist; 650s # } _ExtendedGDBusMethodInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusSignalInfo parent_struct; 650s # const gchar *signal_name; 650s # } _ExtendedGDBusSignalInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusPropertyInfo parent_struct; 650s # const gchar *hyphen_name; 650s # guint use_gvariant : 1; 650s # guint emits_changed_signal : 1; 650s # } _ExtendedGDBusPropertyInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusInterfaceInfo parent_struct; 650s # const gchar *hyphen_name; 650s # } _ExtendedGDBusInterfaceInfo; 650s # 650s # typedef struct 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # guint prop_id; 650s # GValue orig_value; /* the value before the change */ 650s # } ChangedProperty; 650s # 650s # static void 650s # _changed_property_free (ChangedProperty *data) 650s # { 650s # g_value_unset (&data->orig_value); 650s # g_free (data); 650s # } 650s # 650s # static gboolean 650s # _g_strv_equal0 (gchar **a, gchar **b) 650s # { 650s # gboolean ret = FALSE; 650s # guint n; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # if (g_strv_length (a) != g_strv_length (b)) 650s # goto out; 650s # for (n = 0; a[n] != NULL; n++) 650s # if (g_strcmp0 (a[n], b[n]) != 0) 650s # goto out; 650s # ret = TRUE; 650s # out: 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _g_variant_equal0 (GVariant *a, GVariant *b) 650s # { 650s # gboolean ret = FALSE; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # ret = g_variant_equal (a, b); 650s # out: 650s # return ret; 650s # } 650s # 650s # G_GNUC_UNUSED static gboolean 650s # _g_value_equal (const GValue *a, const GValue *b) 650s # { 650s # gboolean ret = FALSE; 650s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 650s # switch (G_VALUE_TYPE (a)) 650s # { 650s # case G_TYPE_BOOLEAN: 650s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 650s # break; 650s # case G_TYPE_UCHAR: 650s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 650s # break; 650s # case G_TYPE_INT: 650s # ret = (g_value_get_int (a) == g_value_get_int (b)); 650s # break; 650s # case G_TYPE_UINT: 650s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 650s # break; 650s # case G_TYPE_INT64: 650s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 650s # break; 650s # case G_TYPE_UINT64: 650s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 650s # break; 650s # case G_TYPE_DOUBLE: 650s # { 650s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 650s # gdouble da = g_value_get_double (a); 650s # gdouble db = g_value_get_double (b); 650s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 650s # } 650s # break; 650s # case G_TYPE_STRING: 650s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 650s # break; 650s # case G_TYPE_VARIANT: 650s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 650s # break; 650s # default: 650s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 650s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 650s # else 650s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 650s # break; 650s # } 650s # return ret; 650s # } 650s # 650s # /* ------------------------------------------------------------------------ 650s # * Code for interface org.project.SignalingIface 650s # * ------------------------------------------------------------------------ 650s # */ 650s # 650s # /** 650s # * SECTION:OrgProjectSignalingIface 650s # * @title: OrgProjectSignalingIface 650s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 650s # * 650s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 650s # */ 650s # 650s # enum 650s # { 650s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 650s # }; 650s # 650s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 650s # 650s # /* ---- Introspection data for org.project.SignalingIface ---- */ 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SimpleSignal", 650s # NULL, 650s # NULL 650s # }, 650s # "simple-signal" 650s # }; 650s # 650s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 650s # { 650s # { 650s # -1, 650s # (gchar *) "org.project.SignalingIface", 650s # NULL, 650s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 650s # NULL, 650s # NULL 650s # }, 650s # "org-project-signaling-iface", 650s # }; 650s # 650s # 650s # /** 650s # * org_project_signaling_iface_interface_info: 650s # * 650s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 650s # * 650s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 650s # */ 650s # GDBusInterfaceInfo * 650s # org_project_signaling_iface_interface_info (void) 650s # { 650s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_override_properties: 650s # * @klass: The class structure for a #GObject derived class. 650s # * @property_id_begin: The property id to assign to the first overridden property. 650s # * 650s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 650s # * The properties are overridden in the order they are defined. 650s # * 650s # * Returns: The last property id. 650s # */ 650s # guint 650s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 650s # { 650s # return property_id_begin - 1; 650s # } 650s # 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_simple_signal ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__VOID (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # 650s # /** 650s # * OrgProjectSignalingIface: 650s # * 650s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 650s # */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceIface: 650s # * @parent_iface: The parent interface. 650s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 650s # * 650s # * Virtual table for the D-Bus interface org.project.SignalingIface. 650s # */ 650s # 650s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 650s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 650s # 650s # static void 650s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 650s # { 650s # /* GObject signals for received D-Bus signals: */ 650s # /** 650s # * OrgProjectSignalingIface::simple-signal: 650s # * @object: A #OrgProjectSignalingIface. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 650s # g_signal_new ("simple-signal", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_simple_signal, 650s # G_TYPE_NONE, 650s # 0); 650s # 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_simple_signal: 650s # * @object: A #OrgProjectSignalingIface. 650s # * 650s # * Emits the "SimpleSignal" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_simple_signal ( 650s # OrgProjectSignalingIface *object) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 650s # } 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceProxy: 650s # * 650s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceProxyClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectSignalingIfaceProxy. 650s # */ 650s # 650s # struct _OrgProjectSignalingIfaceProxyPrivate 650s # { 650s # GData *qdata; 650s # }; 650s # 650s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_signaling_iface_proxy_finalize (GObject *object) 650s # { 650s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 650s # g_datalist_clear (&proxy->priv->qdata); 650s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # const GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 650s # const gchar *sender_name G_GNUC_UNUSED, 650s # const gchar *signal_name, 650s # GVariant *parameters) 650s # { 650s # _ExtendedGDBusSignalInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # gsize n; 650s # guint signal_id; 650s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 650s # if (info == NULL) 650s # return; 650s # num_params = g_variant_n_children (parameters); 650s # paramv = g_new0 (GValue, num_params + 1); 650s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_value_set_object (¶mv[0], proxy); 650s # g_variant_iter_init (&iter, parameters); 650s # n = 1; 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_signal_emitv (paramv, signal_id, 0, NULL); 650s # for (n = 0; n < num_params + 1; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 650s # GVariant *changed_properties, 650s # const gchar *const *invalidated_properties) 650s # { 650s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 650s # guint n; 650s # const gchar *key; 650s # GVariantIter *iter; 650s # _ExtendedGDBusPropertyInfo *info; 650s # g_variant_get (changed_properties, "a{sv}", &iter); 650s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 650s # g_datalist_remove_data (&proxy->priv->qdata, key); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # g_variant_iter_free (iter); 650s # for (n = 0; invalidated_properties[n] != NULL; n++) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 650s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 650s # #else 650s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 650s # #endif 650s # 650s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusProxyClass *proxy_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 650s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 650s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 650s # 650s # proxy_class = G_DBUS_PROXY_CLASS (klass); 650s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 650s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 650s # * 650s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_signaling_iface_proxy_new ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_sync: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_sync ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_for_bus: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 650s # * 650s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_signaling_iface_proxy_new_for_bus ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_for_bus_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_for_bus_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_for_bus_sync: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_for_bus_sync ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceSkeleton: 650s # * 650s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceSkeletonClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 650s # */ 650s # 650s # struct _OrgProjectSignalingIfaceSkeletonPrivate 650s # { 650s # GValue *properties; 650s # GList *changed_properties; 650s # GSource *changed_properties_idle_source; 650s # GMainContext *context; 650s # GMutex lock; 650s # }; 650s # 650s # static void 650s # _org_project_signaling_iface_skeleton_handle_method_call ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name, 650s # const gchar *method_name, 650s # GVariant *parameters, 650s # GDBusMethodInvocation *invocation, 650s # gpointer user_data) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 650s # _ExtendedGDBusMethodInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # guint num_extra; 650s # gsize n; 650s # guint signal_id; 650s # GValue return_value = G_VALUE_INIT; 650s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 650s # g_assert (info != NULL); 650s # num_params = g_variant_n_children (parameters); 650s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 650s # n = 0; 650s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_value_set_object (¶mv[n++], skeleton); 650s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 650s # g_value_set_object (¶mv[n++], invocation); 650s # if (info->pass_fdlist) 650s # { 650s # #ifdef G_OS_UNIX 650s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 650s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 650s # #else 650s # g_assert_not_reached (); 650s # #endif 650s # } 650s # g_variant_iter_init (&iter, parameters); 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_value_init (&return_value, G_TYPE_BOOLEAN); 650s # g_signal_emitv (paramv, signal_id, 0, &return_value); 650s # if (!g_value_get_boolean (&return_value)) 650s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 650s # g_value_unset (&return_value); 650s # for (n = 0; n < num_params + num_extra; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static GVariant * 650s # _org_project_signaling_iface_skeleton_handle_get_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # GVariant *ret; 650s # ret = NULL; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # g_value_init (&value, pspec->value_type); 650s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 650s # g_value_unset (&value); 650s # } 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _org_project_signaling_iface_skeleton_handle_set_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GVariant *variant, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # gboolean ret; 650s # ret = FALSE; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # if (info->use_gvariant) 650s # g_value_set_variant (&value, variant); 650s # else 650s # g_dbus_gvariant_to_gvalue (variant, &value); 650s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # g_value_unset (&value); 650s # ret = TRUE; 650s # } 650s # return ret; 650s # } 650s # 650s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 650s # { 650s # _org_project_signaling_iface_skeleton_handle_method_call, 650s # _org_project_signaling_iface_skeleton_handle_get_property, 650s # _org_project_signaling_iface_skeleton_handle_set_property, 650s # {NULL} 650s # }; 650s # 650s # static GDBusInterfaceInfo * 650s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return org_project_signaling_iface_interface_info (); 650s # } 650s # 650s # static GDBusInterfaceVTable * 650s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 650s # } 650s # 650s # static GVariant * 650s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 650s # 650s # GVariantBuilder builder; 650s # guint n; 650s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 650s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 650s # goto out; 650s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 650s # { 650s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 650s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 650s # { 650s # GVariant *value; 650s # 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); 650s # if (value != NULL) 650s # { 650s # g_variant_take_ref (value); 650s # g_variant_builder_add (&builder, "{sv}", info->name, value); 650s # g_variant_unref (value); 650s # } 650s # } 650s # } 650s # out: 650s # return g_variant_builder_end (&builder); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_simple_signal ( 650s # OrgProjectSignalingIface *object) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_signaling_iface_skeleton_finalize (GObject *object) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 650s # if (skeleton->priv->changed_properties_idle_source != NULL) 650s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 650s # g_main_context_unref (skeleton->priv->context); 650s # g_mutex_clear (&skeleton->priv->lock); 650s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 650s # #else 650s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 650s # #endif 650s # 650s # g_mutex_init (&skeleton->priv->lock); 650s # skeleton->priv->context = g_main_context_ref_thread_default (); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusInterfaceSkeletonClass *skeleton_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 650s # 650s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 650s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 650s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 650s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 650s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 650s # { 650s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_skeleton_new: 650s # * 650s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_skeleton_new (void) 650s # { 650s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 650s # } 650s # 650s # /* ------------------------------------------------------------------------ 650s # * Code for interface org.project.OtherSignalingIface 650s # * ------------------------------------------------------------------------ 650s # */ 650s # 650s # /** 650s # * SECTION:OrgProjectOtherSignalingIface 650s # * @title: OrgProjectOtherSignalingIface 650s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 650s # * 650s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 650s # */ 650s # 650s # enum 650s # { 650s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 650s # }; 650s # 650s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 650s # 650s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SimpleSignal", 650s # NULL, 650s # NULL 650s # }, 650s # "simple-signal" 650s # }; 650s # 650s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 650s # { 650s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 650s # { 650s # { 650s # -1, 650s # (gchar *) "org.project.OtherSignalingIface", 650s # NULL, 650s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 650s # NULL, 650s # NULL 650s # }, 650s # "org-project-other-signaling-iface", 650s # }; 650s # 650s # 650s # /** 650s # * org_project_other_signaling_iface_interface_info: 650s # * 650s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 650s # * 650s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 650s # */ 650s # GDBusInterfaceInfo * 650s # org_project_other_signaling_iface_interface_info (void) 650s # { 650s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 650s # } 650s # 650s # /** 650s # * org_project_other_signaling_iface_override_properties: 650s # * @klass: The class structure for a #GObject derived class. 650s # * @property_id_begin: The property id to assign to the first overridden property. 650s # * 650s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 650s # * The properties are overridden in the order they are defined. 650s # * 650s # * Returns: The last property id. 650s # */ 650s # guint 650s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 650s # { 650s # return property_id_begin - 1; 650s # } 650s # 650s # 650s # inline static void 650s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__VOID (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # 650s # /** 650s # * OrgProjectOtherSignalingIface: 650s # * 650s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 650s # */ 650s # 650s # /** 650s # * OrgProjectOtherSignalingIfaceIface: 650s # * @parent_iface: The parent interface. 650s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 650s # * 650s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 650s # */ 650s # 650s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 650s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 650s # 650s # static void 650s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 650s # { 650s # /* GObject signals for received D-Bus signals: */ 650s # /** 650s # * OrgProjectOtherSignalingIface::simple-signal: 650s # * @object: A #OrgProjectOtherSignalingIface. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 650s # g_signal_new ("simple-signal", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 650s # NULL, 650s # NULL, 650s # org_project_other_signaling_iface_signal_marshal_simple_signal, 650s # G_TYPE_NONE, 650s # 0); 650s # 650s # } 650s # 650s # /** 650s # * org_project_other_signaling_iface_emit_simple_signal: 650s # * @object: A #OrgProjectOtherSignalingIface. 650s # * 650s # * Emits the "SimpleSignal" D-Bus signal. 650s # */ 650s # void 650s # org_project_other_signaling_iface_emit_simple_signal ( 650s # OrgProjectOtherSignalingIface *object) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 650s # } 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectOtherSignalingIfaceProxy: 650s # * 650s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectOtherSignalingIfaceProxyClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 650s # */ 650s # 650s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 650s # { 650s # GData *qdata; 650s # }; 650s # 650s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 650s # { 650s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 650s # g_datalist_clear (&proxy->priv->qdata); 650s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # const GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 650s # const gchar *sender_name G_GNUC_UNUSED, 650s # const gchar *signal_name, 650s # GVariant *parameters) 650s # { 650s # _ExtendedGDBusSignalInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # gsize n; 650s # guint signal_id; 650s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 650s # if (info == NULL) 650s # return; 650s # num_params = g_variant_n_children (parameters); 650s # paramv = g_new0 (GValue, num_params + 1); 650s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 650s # g_value_set_object (¶mv[0], proxy); 650s # g_variant_iter_init (&iter, parameters); 650s # n = 1; 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 650s # g_signal_emitv (paramv, signal_id, 0, NULL); 650s # for (n = 0; n < num_params + 1; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static void 650s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 650s # GVariant *changed_properties, 650s # const gchar *const *invalidated_properties) 650s # { 650s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 650s # guint n; 650s # const gchar *key; 650s # GVariantIter *iter; 650s # _ExtendedGDBusPropertyInfo *info; 650s # g_variant_get (changed_properties, "a{sv}", &iter); 650s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 650s # g_datalist_remove_data (&proxy->priv->qdata, key); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # g_variant_iter_free (iter); 650s # for (n = 0; invalidated_properties[n] != NULL; n++) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 650s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # } 650s # 650s # static void 650s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 650s # #else 650s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 650s # #endif 650s # 650s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 650s # } 650s # 650s # static void 650s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusProxyClass *proxy_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 650s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 650s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 650s # 650s # proxy_class = G_DBUS_PROXY_CLASS (klass); 650s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 650s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # /** 650s # * org_project_other_signaling_iface_proxy_new: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 650s # * 650s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_other_signaling_iface_proxy_new ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * org_project_other_signaling_iface_proxy_new_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectOtherSignalingIface * 650s # org_project_other_signaling_iface_proxy_new_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_other_signaling_iface_proxy_new_sync: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectOtherSignalingIface * 650s # org_project_other_signaling_iface_proxy_new_sync ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /** 650s # * org_project_other_signaling_iface_proxy_new_for_bus: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 650s # * 650s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_other_signaling_iface_proxy_new_for_bus ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectOtherSignalingIface * 650s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectOtherSignalingIface * 650s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectOtherSignalingIfaceSkeleton: 650s # * 650s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectOtherSignalingIfaceSkeletonClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 650s # */ 650s # 650s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 650s # { 650s # GValue *properties; 650s # GList *changed_properties; 650s # GSource *changed_properties_idle_source; 650s # GMainContext *context; 650s # GMutex lock; 650s # }; 650s # 650s # static void 650s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name, 650s # const gchar *method_name, 650s # GVariant *parameters, 650s # GDBusMethodInvocation *invocation, 650s # gpointer user_data) 650s # { 650s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 650s # _ExtendedGDBusMethodInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # guint num_extra; 650s # gsize n; 650s # guint signal_id; 650s # GValue return_value = G_VALUE_INIT; 650s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 650s # g_assert (info != NULL); 650s # num_params = g_variant_n_children (parameters); 650s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 650s # n = 0; 650s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 650s # g_value_set_object (¶mv[n++], skeleton); 650s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 650s # g_value_set_object (¶mv[n++], invocation); 650s # if (info->pass_fdlist) 650s # { 650s # #ifdef G_OS_UNIX 650s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 650s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 650s # #else 650s # g_assert_not_reached (); 650s # #endif 650s # } 650s # g_variant_iter_init (&iter, parameters); 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 650s # g_value_init (&return_value, G_TYPE_BOOLEAN); 650s # g_signal_emitv (paramv, signal_id, 0, &return_value); 650s # if (!g_value_get_boolean (&return_value)) 650s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 650s # g_value_unset (&return_value); 650s # for (n = 0; n < num_params + num_extra; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static GVariant * 650s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # GVariant *ret; 650s # ret = NULL; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # g_value_init (&value, pspec->value_type); 650s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 650s # g_value_unset (&value); 650s # } 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GVariant *variant, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # gboolean ret; 650s # ret = FALSE; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # if (info->use_gvariant) 650s # g_value_set_variant (&value, variant); 650s # else 650s # g_dbus_gvariant_to_gvalue (variant, &value); 650s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # g_value_unset (&value); 650s # ret = TRUE; 650s # } 650s # return ret; 650s # } 650s # 650s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 650s # { 650s # _org_project_other_signaling_iface_skeleton_handle_method_call, 650s # _org_project_other_signaling_iface_skeleton_handle_get_property, 650s # _org_project_other_signaling_iface_skeleton_handle_set_property, 650s # {NULL} 650s # }; 650s # 650s # static GDBusInterfaceInfo * 650s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return org_project_other_signaling_iface_interface_info (); 650s # } 650s # 650s # static GDBusInterfaceVTable * 650s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 650s # } 650s # 650s # static GVariant * 650s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 650s # { 650s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 650s # 650s # GVariantBuilder builder; 650s # guint n; 650s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 650s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 650s # goto out; 650s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 650s # { 650s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 650s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 650s # { 650s # GVariant *value; 650s # 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); 650s # if (value != NULL) 650s # { 650s # g_variant_take_ref (value); 650s # g_variant_builder_add (&builder, "{sv}", info->name, value); 650s # g_variant_unref (value); 650s # } 650s # } 650s # } 650s # out: 650s # return g_variant_builder_end (&builder); 650s # } 650s # 650s # static void 650s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # _org_project_other_signaling_iface_on_signal_simple_signal ( 650s # OrgProjectOtherSignalingIface *object) 650s # { 650s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 650s # { 650s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 650s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 650s # if (skeleton->priv->changed_properties_idle_source != NULL) 650s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 650s # g_main_context_unref (skeleton->priv->context); 650s # g_mutex_clear (&skeleton->priv->lock); 650s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 650s # #else 650s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 650s # #endif 650s # 650s # g_mutex_init (&skeleton->priv->lock); 650s # skeleton->priv->context = g_main_context_ref_thread_default (); 650s # } 650s # 650s # static void 650s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusInterfaceSkeletonClass *skeleton_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 650s # 650s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 650s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 650s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 650s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 650s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 650s # { 650s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 650s # } 650s # 650s # /** 650s # * org_project_other_signaling_iface_skeleton_new: 650s # * 650s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 650s # * 650s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 650s # */ 650s # OrgProjectOtherSignalingIface * 650s # org_project_other_signaling_iface_skeleton_new (void) 650s # { 650s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 650s # } 650s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 650s # tmpdir: /tmp/tmp58nqb10t 650s # codegen: /usr/bin/gdbus-codegen 650s # /tmp/tmp58nqb10t/tmpjfuejc5w.xml: 650s # 650s # 650s # 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp58nqb10t/tmpjfuejc5w.xml', '--output', '-', '--body'] 650s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 650s # Output: /* 650s # * This file is generated by gdbus-codegen, do not modify it. 650s # * 650s # * The license of this code is the same as for the D-Bus interface description 650s # * it was derived from. Note that it links to GLib, so must comply with the 650s # * LGPL linking clauses. 650s # */ 650s # 650s # #ifdef HAVE_CONFIG_H 650s # # include "config.h" 650s # #endif 650s # 650s # #include 650s # #ifdef G_OS_UNIX 650s # # include 650s # #endif 650s # 650s # #ifdef G_ENABLE_DEBUG 650s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 650s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 650s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 650s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 650s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 650s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 650s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 650s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 650s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 650s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 650s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 650s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 650s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 650s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 650s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 650s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 650s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 650s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 650s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 650s # #else /* !G_ENABLE_DEBUG */ 650s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 650s # * Do not access GValues directly in your code. Instead, use the 650s # * g_value_get_*() functions 650s # */ 650s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 650s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 650s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 650s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 650s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 650s # #endif /* !G_ENABLE_DEBUG */ 650s # 650s # typedef struct 650s # { 650s # GDBusArgInfo parent_struct; 650s # gboolean use_gvariant; 650s # } _ExtendedGDBusArgInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusMethodInfo parent_struct; 650s # const gchar *signal_name; 650s # gboolean pass_fdlist; 650s # } _ExtendedGDBusMethodInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusSignalInfo parent_struct; 650s # const gchar *signal_name; 650s # } _ExtendedGDBusSignalInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusPropertyInfo parent_struct; 650s # const gchar *hyphen_name; 650s # guint use_gvariant : 1; 650s # guint emits_changed_signal : 1; 650s # } _ExtendedGDBusPropertyInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusInterfaceInfo parent_struct; 650s # const gchar *hyphen_name; 650s # } _ExtendedGDBusInterfaceInfo; 650s # 650s # typedef struct 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # guint prop_id; 650s # GValue orig_value; /* the value before the change */ 650s # } ChangedProperty; 650s # 650s # static void 650s # _changed_property_free (ChangedProperty *data) 650s # { 650s # g_value_unset (&data->orig_value); 650s # g_free (data); 650s # } 650s # 650s # static gboolean 650s # _g_strv_equal0 (gchar **a, gchar **b) 650s # { 650s # gboolean ret = FALSE; 650s # guint n; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # if (g_strv_length (a) != g_strv_length (b)) 650s # goto out; 650s # for (n = 0; a[n] != NULL; n++) 650s # if (g_strcmp0 (a[n], b[n]) != 0) 650s # goto out; 650s # ret = TRUE; 650s # out: 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _g_variant_equal0 (GVariant *a, GVariant *b) 650s # { 650s # gboolean ret = FALSE; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # ret = g_variant_equal (a, b); 650s # out: 650s # return ret; 650s # } 650s # 650s # G_GNUC_UNUSED static gboolean 650s # _g_value_equal (const GValue *a, const GValue *b) 650s # { 650s # gboolean ret = FALSE; 650s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 650s # switch (G_VALUE_TYPE (a)) 650s # { 650s # case G_TYPE_BOOLEAN: 650s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 650s # break; 650s # case G_TYPE_UCHAR: 650s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 650s # break; 650s # case G_TYPE_INT: 650s # ret = (g_value_get_int (a) == g_value_get_int (b)); 650s # break; 650s # case G_TYPE_UINT: 650s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 650s # break; 650s # case G_TYPE_INT64: 650s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 650s # break; 650s # case G_TYPE_UINT64: 650s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 650s # break; 650s # case G_TYPE_DOUBLE: 650s # { 650s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 650s # gdouble da = g_value_get_double (a); 650s # gdouble db = g_value_get_double (b); 650s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 650s # } 650s # break; 650s # case G_TYPE_STRING: 650s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 650s # break; 650s # case G_TYPE_VARIANT: 650s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 650s # break; 650s # default: 650s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 650s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 650s # else 650s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 650s # break; 650s # } 650s # return ret; 650s # } 650s # 650s # /* ------------------------------------------------------------------------ 650s # * Code for interface org.project.SignalingIface 650s # * ------------------------------------------------------------------------ 650s # */ 650s # 650s # /** 650s # * SECTION:OrgProjectSignalingIface 650s # * @title: OrgProjectSignalingIface 650s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 650s # * 650s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 650s # */ 650s # 650s # enum 650s # { 650s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 650s # }; 650s # 650s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 650s # 650s # /* ---- Introspection data for org.project.SignalingIface ---- */ 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SimpleSignal", 650s # NULL, 650s # NULL 650s # }, 650s # "simple-signal" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 650s # { 650s # { 650s # -1, 650s # (gchar *) "arg_b", 650s # (gchar *) "b", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalB", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-b" 650s # }; 650s # 650s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 650s # { 650s # { 650s # -1, 650s # (gchar *) "org.project.SignalingIface", 650s # NULL, 650s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 650s # NULL, 650s # NULL 650s # }, 650s # "org-project-signaling-iface", 650s # }; 650s # 650s # 650s # /** 650s # * org_project_signaling_iface_interface_info: 650s # * 650s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 650s # * 650s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 650s # */ 650s # GDBusInterfaceInfo * 650s # org_project_signaling_iface_interface_info (void) 650s # { 650s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_override_properties: 650s # * @klass: The class structure for a #GObject derived class. 650s # * @property_id_begin: The property id to assign to the first overridden property. 650s # * 650s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 650s # * The properties are overridden in the order they are defined. 650s # * 650s # * Returns: The last property id. 650s # */ 650s # guint 650s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 650s # { 650s # return property_id_begin - 1; 650s # } 650s # 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_simple_signal ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__VOID (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__BOOLEAN (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # 650s # /** 650s # * OrgProjectSignalingIface: 650s # * 650s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 650s # */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceIface: 650s # * @parent_iface: The parent interface. 650s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 650s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 650s # * 650s # * Virtual table for the D-Bus interface org.project.SignalingIface. 650s # */ 650s # 650s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 650s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 650s # 650s # static void 650s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 650s # { 650s # /* GObject signals for received D-Bus signals: */ 650s # /** 650s # * OrgProjectSignalingIface::simple-signal: 650s # * @object: A #OrgProjectSignalingIface. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 650s # g_signal_new ("simple-signal", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_simple_signal, 650s # G_TYPE_NONE, 650s # 0); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-b: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_arg_b: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 650s # g_signal_new ("single-arg-signal-b", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_BOOLEAN); 650s # 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_simple_signal: 650s # * @object: A #OrgProjectSignalingIface. 650s # * 650s # * Emits the "SimpleSignal" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_simple_signal ( 650s # OrgProjectSignalingIface *object) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_b: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_arg_b: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalB" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_b ( 650s # OrgProjectSignalingIface *object, 650s # gboolean arg_arg_b) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 650s # } 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceProxy: 650s # * 650s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceProxyClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectSignalingIfaceProxy. 650s # */ 650s # 650s # struct _OrgProjectSignalingIfaceProxyPrivate 650s # { 650s # GData *qdata; 650s # }; 650s # 650s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_signaling_iface_proxy_finalize (GObject *object) 650s # { 650s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 650s # g_datalist_clear (&proxy->priv->qdata); 650s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # const GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 650s # const gchar *sender_name G_GNUC_UNUSED, 650s # const gchar *signal_name, 650s # GVariant *parameters) 650s # { 650s # _ExtendedGDBusSignalInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # gsize n; 650s # guint signal_id; 650s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 650s # if (info == NULL) 650s # return; 650s # num_params = g_variant_n_children (parameters); 650s # paramv = g_new0 (GValue, num_params + 1); 650s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_value_set_object (¶mv[0], proxy); 650s # g_variant_iter_init (&iter, parameters); 650s # n = 1; 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_signal_emitv (paramv, signal_id, 0, NULL); 650s # for (n = 0; n < num_params + 1; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 650s # GVariant *changed_properties, 650s # const gchar *const *invalidated_properties) 650s # { 650s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 650s # guint n; 650s # const gchar *key; 650s # GVariantIter *iter; 650s # _ExtendedGDBusPropertyInfo *info; 650s # g_variant_get (changed_properties, "a{sv}", &iter); 650s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 650s # g_datalist_remove_data (&proxy->priv->qdata, key); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # g_variant_iter_free (iter); 650s # for (n = 0; invalidated_properties[n] != NULL; n++) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 650s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 650s # #else 650s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 650s # #endif 650s # 650s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusProxyClass *proxy_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 650s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 650s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 650s # 650s # proxy_class = G_DBUS_PROXY_CLASS (klass); 650s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 650s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 650s # * 650s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_signaling_iface_proxy_new ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_sync: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_sync ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_for_bus: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 650s # * 650s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_signaling_iface_proxy_new_for_bus ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_for_bus_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_for_bus_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_for_bus_sync: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_for_bus_sync ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceSkeleton: 650s # * 650s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceSkeletonClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 650s # */ 650s # 650s # struct _OrgProjectSignalingIfaceSkeletonPrivate 650s # { 650s # GValue *properties; 650s # GList *changed_properties; 650s # GSource *changed_properties_idle_source; 650s # GMainContext *context; 650s # GMutex lock; 650s # }; 650s # 650s # static void 650s # _org_project_signaling_iface_skeleton_handle_method_call ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name, 650s # const gchar *method_name, 650s # GVariant *parameters, 650s # GDBusMethodInvocation *invocation, 650s # gpointer user_data) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 650s # _ExtendedGDBusMethodInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # guint num_extra; 650s # gsize n; 650s # guint signal_id; 650s # GValue return_value = G_VALUE_INIT; 650s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 650s # g_assert (info != NULL); 650s # num_params = g_variant_n_children (parameters); 650s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 650s # n = 0; 650s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_value_set_object (¶mv[n++], skeleton); 650s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 650s # g_value_set_object (¶mv[n++], invocation); 650s # if (info->pass_fdlist) 650s # { 650s # #ifdef G_OS_UNIX 650s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 650s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 650s # #else 650s # g_assert_not_reached (); 650s # #endif 650s # } 650s # g_variant_iter_init (&iter, parameters); 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_value_init (&return_value, G_TYPE_BOOLEAN); 650s # g_signal_emitv (paramv, signal_id, 0, &return_value); 650s # if (!g_value_get_boolean (&return_value)) 650s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 650s # g_value_unset (&return_value); 650s # for (n = 0; n < num_params + num_extra; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static GVariant * 650s # _org_project_signaling_iface_skeleton_handle_get_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # GVariant *ret; 650s # ret = NULL; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # g_value_init (&value, pspec->value_type); 650s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 650s # g_value_unset (&value); 650s # } 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _org_project_signaling_iface_skeleton_handle_set_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GVariant *variant, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # gboolean ret; 650s # ret = FALSE; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # if (info->use_gvariant) 650s # g_value_set_variant (&value, variant); 650s # else 650s # g_dbus_gvariant_to_gvalue (variant, &value); 650s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # g_value_unset (&value); 650s # ret = TRUE; 650s # } 650s # return ret; 650s # } 650s # 650s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 650s # { 650s # _org_project_signaling_iface_skeleton_handle_method_call, 650s # _org_project_signaling_iface_skeleton_handle_get_property, 650s # _org_project_signaling_iface_skeleton_handle_set_property, 650s # {NULL} 650s # }; 650s # 650s # static GDBusInterfaceInfo * 650s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return org_project_signaling_iface_interface_info (); 650s # } 650s # 650s # static GDBusInterfaceVTable * 650s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 650s # } 650s # 650s # static GVariant * 650s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 650s # 650s # GVariantBuilder builder; 650s # guint n; 650s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 650s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 650s # goto out; 650s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 650s # { 650s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 650s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 650s # { 650s # GVariant *value; 650s # 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); 650s # if (value != NULL) 650s # { 650s # g_variant_take_ref (value); 650s # g_variant_builder_add (&builder, "{sv}", info->name, value); 650s # g_variant_unref (value); 650s # } 650s # } 650s # } 650s # out: 650s # return g_variant_builder_end (&builder); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_simple_signal ( 650s # OrgProjectSignalingIface *object) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 650s # OrgProjectSignalingIface *object, 650s # gboolean arg_arg_b) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 650s # arg_arg_b)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_signaling_iface_skeleton_finalize (GObject *object) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 650s # if (skeleton->priv->changed_properties_idle_source != NULL) 650s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 650s # g_main_context_unref (skeleton->priv->context); 650s # g_mutex_clear (&skeleton->priv->lock); 650s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 650s # #else 650s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 650s # #endif 650s # 650s # g_mutex_init (&skeleton->priv->lock); 650s # skeleton->priv->context = g_main_context_ref_thread_default (); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusInterfaceSkeletonClass *skeleton_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 650s # 650s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 650s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 650s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 650s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 650s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 650s # { 650s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 650s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_skeleton_new: 650s # * 650s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_skeleton_new (void) 650s # { 650s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 650s # } 650s # /tmp/tmp58nqb10t/tmpr54sh68g.xml: 650s # 650s # 650s # 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp58nqb10t/tmpr54sh68g.xml', '--output', '-', '--body'] 650s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 650s # Output: /* 650s # * This file is generated by gdbus-codegen, do not modify it. 650s # * 650s # * The license of this code is the same as for the D-Bus interface description 650s # * it was derived from. Note that it links to GLib, so must comply with the 650s # * LGPL linking clauses. 650s # */ 650s # 650s # #ifdef HAVE_CONFIG_H 650s # # include "config.h" 650s # #endif 650s # 650s # #include 650s # #ifdef G_OS_UNIX 650s # # include 650s # #endif 650s # 650s # #ifdef G_ENABLE_DEBUG 650s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 650s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 650s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 650s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 650s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 650s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 650s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 650s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 650s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 650s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 650s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 650s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 650s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 650s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 650s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 650s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 650s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 650s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 650s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 650s # #else /* !G_ENABLE_DEBUG */ 650s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 650s # * Do not access GValues directly in your code. Instead, use the 650s # * g_value_get_*() functions 650s # */ 650s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 650s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 650s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 650s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 650s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 650s # #endif /* !G_ENABLE_DEBUG */ 650s # 650s # typedef struct 650s # { 650s # GDBusArgInfo parent_struct; 650s # gboolean use_gvariant; 650s # } _ExtendedGDBusArgInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusMethodInfo parent_struct; 650s # const gchar *signal_name; 650s # gboolean pass_fdlist; 650s # } _ExtendedGDBusMethodInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusSignalInfo parent_struct; 650s # const gchar *signal_name; 650s # } _ExtendedGDBusSignalInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusPropertyInfo parent_struct; 650s # const gchar *hyphen_name; 650s # guint use_gvariant : 1; 650s # guint emits_changed_signal : 1; 650s # } _ExtendedGDBusPropertyInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusInterfaceInfo parent_struct; 650s # const gchar *hyphen_name; 650s # } _ExtendedGDBusInterfaceInfo; 650s # 650s # typedef struct 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # guint prop_id; 650s # GValue orig_value; /* the value before the change */ 650s # } ChangedProperty; 650s # 650s # static void 650s # _changed_property_free (ChangedProperty *data) 650s # { 650s # g_value_unset (&data->orig_value); 650s # g_free (data); 650s # } 650s # 650s # static gboolean 650s # _g_strv_equal0 (gchar **a, gchar **b) 650s # { 650s # gboolean ret = FALSE; 650s # guint n; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # if (g_strv_length (a) != g_strv_length (b)) 650s # goto out; 650s # for (n = 0; a[n] != NULL; n++) 650s # if (g_strcmp0 (a[n], b[n]) != 0) 650s # goto out; 650s # ret = TRUE; 650s # out: 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _g_variant_equal0 (GVariant *a, GVariant *b) 650s # { 650s # gboolean ret = FALSE; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # ret = g_variant_equal (a, b); 650s # out: 650s # return ret; 650s # } 650s # 650s # G_GNUC_UNUSED static gboolean 650s # _g_value_equal (const GValue *a, const GValue *b) 650s # { 650s # gboolean ret = FALSE; 650s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 650s # switch (G_VALUE_TYPE (a)) 650s # { 650s # case G_TYPE_BOOLEAN: 650s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 650s # break; 650s # case G_TYPE_UCHAR: 650s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 650s # break; 650s # case G_TYPE_INT: 650s # ret = (g_value_get_int (a) == g_value_get_int (b)); 650s # break; 650s # case G_TYPE_UINT: 650s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 650s # break; 650s # case G_TYPE_INT64: 650s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 650s # break; 650s # case G_TYPE_UINT64: 650s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 650s # break; 650s # case G_TYPE_DOUBLE: 650s # { 650s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 650s # gdouble da = g_value_get_double (a); 650s # gdouble db = g_value_get_double (b); 650s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 650s # } 650s # break; 650s # case G_TYPE_STRING: 650s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 650s # break; 650s # case G_TYPE_VARIANT: 650s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 650s # break; 650s # default: 650s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 650s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 650s # else 650s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 650s # break; 650s # } 650s # return ret; 650s # } 650s # 650s # /* ------------------------------------------------------------------------ 650s # * Code for interface org.project.SignalingIface 650s # * ------------------------------------------------------------------------ 650s # */ 650s # 650s # /** 650s # * SECTION:OrgProjectSignalingIface 650s # * @title: OrgProjectSignalingIface 650s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 650s # * 650s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 650s # */ 650s # 650s # enum 650s # { 650s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 650s # }; 650s # 650s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 650s # 650s # /* ---- Introspection data for org.project.SignalingIface ---- */ 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SimpleSignal", 650s # NULL, 650s # NULL 650s # }, 650s # "simple-signal" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 650s # { 650s # { 650s # -1, 650s # (gchar *) "arg_y", 650s # (gchar *) "y", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalY", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-y" 650s # }; 650s # 650s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 650s # { 650s # { 650s # -1, 650s # (gchar *) "org.project.SignalingIface", 650s # NULL, 650s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 650s # NULL, 650s # NULL 650s # }, 650s # "org-project-signaling-iface", 650s # }; 650s # 650s # 650s # /** 650s # * org_project_signaling_iface_interface_info: 650s # * 650s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 650s # * 650s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 650s # */ 650s # GDBusInterfaceInfo * 650s # org_project_signaling_iface_interface_info (void) 650s # { 650s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_override_properties: 650s # * @klass: The class structure for a #GObject derived class. 650s # * @property_id_begin: The property id to assign to the first overridden property. 650s # * 650s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 650s # * The properties are overridden in the order they are defined. 650s # * 650s # * Returns: The last property id. 650s # */ 650s # guint 650s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 650s # { 650s # return property_id_begin - 1; 650s # } 650s # 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_simple_signal ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__VOID (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__UCHAR (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # 650s # /** 650s # * OrgProjectSignalingIface: 650s # * 650s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 650s # */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceIface: 650s # * @parent_iface: The parent interface. 650s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 650s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 650s # * 650s # * Virtual table for the D-Bus interface org.project.SignalingIface. 650s # */ 650s # 650s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 650s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 650s # 650s # static void 650s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 650s # { 650s # /* GObject signals for received D-Bus signals: */ 650s # /** 650s # * OrgProjectSignalingIface::simple-signal: 650s # * @object: A #OrgProjectSignalingIface. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 650s # g_signal_new ("simple-signal", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_simple_signal, 650s # G_TYPE_NONE, 650s # 0); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-y: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_arg_y: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 650s # g_signal_new ("single-arg-signal-y", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_UCHAR); 650s # 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_simple_signal: 650s # * @object: A #OrgProjectSignalingIface. 650s # * 650s # * Emits the "SimpleSignal" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_simple_signal ( 650s # OrgProjectSignalingIface *object) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_y: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_arg_y: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalY" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_y ( 650s # OrgProjectSignalingIface *object, 650s # guchar arg_arg_y) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 650s # } 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceProxy: 650s # * 650s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceProxyClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectSignalingIfaceProxy. 650s # */ 650s # 650s # struct _OrgProjectSignalingIfaceProxyPrivate 650s # { 650s # GData *qdata; 650s # }; 650s # 650s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_signaling_iface_proxy_finalize (GObject *object) 650s # { 650s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 650s # g_datalist_clear (&proxy->priv->qdata); 650s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # const GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 650s # const gchar *sender_name G_GNUC_UNUSED, 650s # const gchar *signal_name, 650s # GVariant *parameters) 650s # { 650s # _ExtendedGDBusSignalInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # gsize n; 650s # guint signal_id; 650s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 650s # if (info == NULL) 650s # return; 650s # num_params = g_variant_n_children (parameters); 650s # paramv = g_new0 (GValue, num_params + 1); 650s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_value_set_object (¶mv[0], proxy); 650s # g_variant_iter_init (&iter, parameters); 650s # n = 1; 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_signal_emitv (paramv, signal_id, 0, NULL); 650s # for (n = 0; n < num_params + 1; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 650s # GVariant *changed_properties, 650s # const gchar *const *invalidated_properties) 650s # { 650s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 650s # guint n; 650s # const gchar *key; 650s # GVariantIter *iter; 650s # _ExtendedGDBusPropertyInfo *info; 650s # g_variant_get (changed_properties, "a{sv}", &iter); 650s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 650s # g_datalist_remove_data (&proxy->priv->qdata, key); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # g_variant_iter_free (iter); 650s # for (n = 0; invalidated_properties[n] != NULL; n++) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 650s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 650s # #else 650s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 650s # #endif 650s # 650s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusProxyClass *proxy_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 650s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 650s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 650s # 650s # proxy_class = G_DBUS_PROXY_CLASS (klass); 650s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 650s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 650s # * 650s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_signaling_iface_proxy_new ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_sync: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_sync ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_for_bus: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 650s # * 650s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_signaling_iface_proxy_new_for_bus ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_for_bus_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_for_bus_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_for_bus_sync: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_for_bus_sync ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceSkeleton: 650s # * 650s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceSkeletonClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 650s # */ 650s # 650s # struct _OrgProjectSignalingIfaceSkeletonPrivate 650s # { 650s # GValue *properties; 650s # GList *changed_properties; 650s # GSource *changed_properties_idle_source; 650s # GMainContext *context; 650s # GMutex lock; 650s # }; 650s # 650s # static void 650s # _org_project_signaling_iface_skeleton_handle_method_call ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name, 650s # const gchar *method_name, 650s # GVariant *parameters, 650s # GDBusMethodInvocation *invocation, 650s # gpointer user_data) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 650s # _ExtendedGDBusMethodInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # guint num_extra; 650s # gsize n; 650s # guint signal_id; 650s # GValue return_value = G_VALUE_INIT; 650s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 650s # g_assert (info != NULL); 650s # num_params = g_variant_n_children (parameters); 650s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 650s # n = 0; 650s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_value_set_object (¶mv[n++], skeleton); 650s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 650s # g_value_set_object (¶mv[n++], invocation); 650s # if (info->pass_fdlist) 650s # { 650s # #ifdef G_OS_UNIX 650s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 650s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 650s # #else 650s # g_assert_not_reached (); 650s # #endif 650s # } 650s # g_variant_iter_init (&iter, parameters); 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_value_init (&return_value, G_TYPE_BOOLEAN); 650s # g_signal_emitv (paramv, signal_id, 0, &return_value); 650s # if (!g_value_get_boolean (&return_value)) 650s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 650s # g_value_unset (&return_value); 650s # for (n = 0; n < num_params + num_extra; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static GVariant * 650s # _org_project_signaling_iface_skeleton_handle_get_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # GVariant *ret; 650s # ret = NULL; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # g_value_init (&value, pspec->value_type); 650s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 650s # g_value_unset (&value); 650s # } 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _org_project_signaling_iface_skeleton_handle_set_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GVariant *variant, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # gboolean ret; 650s # ret = FALSE; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # if (info->use_gvariant) 650s # g_value_set_variant (&value, variant); 650s # else 650s # g_dbus_gvariant_to_gvalue (variant, &value); 650s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # g_value_unset (&value); 650s # ret = TRUE; 650s # } 650s # return ret; 650s # } 650s # 650s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 650s # { 650s # _org_project_signaling_iface_skeleton_handle_method_call, 650s # _org_project_signaling_iface_skeleton_handle_get_property, 650s # _org_project_signaling_iface_skeleton_handle_set_property, 650s # {NULL} 650s # }; 650s # 650s # static GDBusInterfaceInfo * 650s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return org_project_signaling_iface_interface_info (); 650s # } 650s # 650s # static GDBusInterfaceVTable * 650s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 650s # } 650s # 650s # static GVariant * 650s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 650s # 650s # GVariantBuilder builder; 650s # guint n; 650s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 650s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 650s # goto out; 650s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 650s # { 650s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 650s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 650s # { 650s # GVariant *value; 650s # 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); 650s # if (value != NULL) 650s # { 650s # g_variant_take_ref (value); 650s # g_variant_builder_add (&builder, "{sv}", info->name, value); 650s # g_variant_unref (value); 650s # } 650s # } 650s # } 650s # out: 650s # return g_variant_builder_end (&builder); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_simple_signal ( 650s # OrgProjectSignalingIface *object) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 650s # OrgProjectSignalingIface *object, 650s # guchar arg_arg_y) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 650s # arg_arg_y)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_signaling_iface_skeleton_finalize (GObject *object) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 650s # if (skeleton->priv->changed_properties_idle_source != NULL) 650s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 650s # g_main_context_unref (skeleton->priv->context); 650s # g_mutex_clear (&skeleton->priv->lock); 650s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 650s # #else 650s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 650s # #endif 650s # 650s # g_mutex_init (&skeleton->priv->lock); 650s # skeleton->priv->context = g_main_context_ref_thread_default (); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusInterfaceSkeletonClass *skeleton_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 650s # 650s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 650s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 650s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 650s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 650s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 650s # { 650s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 650s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_skeleton_new: 650s # * 650s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_skeleton_new (void) 650s # { 650s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 650s # } 650s # /tmp/tmp58nqb10t/tmpp6d3txm1.xml: 650s # 650s # 650s # 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp58nqb10t/tmpp6d3txm1.xml', '--output', '-', '--body'] 650s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 650s # Output: /* 650s # * This file is generated by gdbus-codegen, do not modify it. 650s # * 650s # * The license of this code is the same as for the D-Bus interface description 650s # * it was derived from. Note that it links to GLib, so must comply with the 650s # * LGPL linking clauses. 650s # */ 650s # 650s # #ifdef HAVE_CONFIG_H 650s # # include "config.h" 650s # #endif 650s # 650s # #include 650s # #ifdef G_OS_UNIX 650s # # include 650s # #endif 650s # 650s # #ifdef G_ENABLE_DEBUG 650s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 650s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 650s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 650s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 650s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 650s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 650s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 650s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 650s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 650s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 650s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 650s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 650s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 650s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 650s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 650s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 650s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 650s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 650s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 650s # #else /* !G_ENABLE_DEBUG */ 650s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 650s # * Do not access GValues directly in your code. Instead, use the 650s # * g_value_get_*() functions 650s # */ 650s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 650s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 650s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 650s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 650s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 650s # #endif /* !G_ENABLE_DEBUG */ 650s # 650s # typedef struct 650s # { 650s # GDBusArgInfo parent_struct; 650s # gboolean use_gvariant; 650s # } _ExtendedGDBusArgInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusMethodInfo parent_struct; 650s # const gchar *signal_name; 650s # gboolean pass_fdlist; 650s # } _ExtendedGDBusMethodInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusSignalInfo parent_struct; 650s # const gchar *signal_name; 650s # } _ExtendedGDBusSignalInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusPropertyInfo parent_struct; 650s # const gchar *hyphen_name; 650s # guint use_gvariant : 1; 650s # guint emits_changed_signal : 1; 650s # } _ExtendedGDBusPropertyInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusInterfaceInfo parent_struct; 650s # const gchar *hyphen_name; 650s # } _ExtendedGDBusInterfaceInfo; 650s # 650s # typedef struct 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # guint prop_id; 650s # GValue orig_value; /* the value before the change */ 650s # } ChangedProperty; 650s # 650s # static void 650s # _changed_property_free (ChangedProperty *data) 650s # { 650s # g_value_unset (&data->orig_value); 650s # g_free (data); 650s # } 650s # 650s # static gboolean 650s # _g_strv_equal0 (gchar **a, gchar **b) 650s # { 650s # gboolean ret = FALSE; 650s # guint n; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # if (g_strv_length (a) != g_strv_length (b)) 650s # goto out; 650s # for (n = 0; a[n] != NULL; n++) 650s # if (g_strcmp0 (a[n], b[n]) != 0) 650s # goto out; 650s # ret = TRUE; 650s # out: 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _g_variant_equal0 (GVariant *a, GVariant *b) 650s # { 650s # gboolean ret = FALSE; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # ret = g_variant_equal (a, b); 650s # out: 650s # return ret; 650s # } 650s # 650s # G_GNUC_UNUSED static gboolean 650s # _g_value_equal (const GValue *a, const GValue *b) 650s # { 650s # gboolean ret = FALSE; 650s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 650s # switch (G_VALUE_TYPE (a)) 650s # { 650s # case G_TYPE_BOOLEAN: 650s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 650s # break; 650s # case G_TYPE_UCHAR: 650s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 650s # break; 650s # case G_TYPE_INT: 650s # ret = (g_value_get_int (a) == g_value_get_int (b)); 650s # break; 650s # case G_TYPE_UINT: 650s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 650s # break; 650s # case G_TYPE_INT64: 650s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 650s # break; 650s # case G_TYPE_UINT64: 650s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 650s # break; 650s # case G_TYPE_DOUBLE: 650s # { 650s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 650s # gdouble da = g_value_get_double (a); 650s # gdouble db = g_value_get_double (b); 650s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 650s # } 650s # break; 650s # case G_TYPE_STRING: 650s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 650s # break; 650s # case G_TYPE_VARIANT: 650s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 650s # break; 650s # default: 650s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 650s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 650s # else 650s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 650s # break; 650s # } 650s # return ret; 650s # } 650s # 650s # /* ------------------------------------------------------------------------ 650s # * Code for interface org.project.SignalingIface 650s # * ------------------------------------------------------------------------ 650s # */ 650s # 650s # /** 650s # * SECTION:OrgProjectSignalingIface 650s # * @title: OrgProjectSignalingIface 650s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 650s # * 650s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 650s # */ 650s # 650s # enum 650s # { 650s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 650s # }; 650s # 650s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 650s # 650s # /* ---- Introspection data for org.project.SignalingIface ---- */ 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SimpleSignal", 650s # NULL, 650s # NULL 650s # }, 650s # "simple-signal" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 650s # { 650s # { 650s # -1, 650s # (gchar *) "arg_n", 650s # (gchar *) "n", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalN", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-n" 650s # }; 650s # 650s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 650s # { 650s # { 650s # -1, 650s # (gchar *) "org.project.SignalingIface", 650s # NULL, 650s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 650s # NULL, 650s # NULL 650s # }, 650s # "org-project-signaling-iface", 650s # }; 650s # 650s # 650s # /** 650s # * org_project_signaling_iface_interface_info: 650s # * 650s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 650s # * 650s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 650s # */ 650s # GDBusInterfaceInfo * 650s # org_project_signaling_iface_interface_info (void) 650s # { 650s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_override_properties: 650s # * @klass: The class structure for a #GObject derived class. 650s # * @property_id_begin: The property id to assign to the first overridden property. 650s # * 650s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 650s # * The properties are overridden in the order they are defined. 650s # * 650s # * Returns: The last property id. 650s # */ 650s # guint 650s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 650s # { 650s # return property_id_begin - 1; 650s # } 650s # 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_simple_signal ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__VOID (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__INT (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # 650s # /** 650s # * OrgProjectSignalingIface: 650s # * 650s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 650s # */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceIface: 650s # * @parent_iface: The parent interface. 650s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 650s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 650s # * 650s # * Virtual table for the D-Bus interface org.project.SignalingIface. 650s # */ 650s # 650s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 650s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 650s # 650s # static void 650s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 650s # { 650s # /* GObject signals for received D-Bus signals: */ 650s # /** 650s # * OrgProjectSignalingIface::simple-signal: 650s # * @object: A #OrgProjectSignalingIface. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 650s # g_signal_new ("simple-signal", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_simple_signal, 650s # G_TYPE_NONE, 650s # 0); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-n: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_arg_n: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 650s # g_signal_new ("single-arg-signal-n", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_INT); 650s # 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_simple_signal: 650s # * @object: A #OrgProjectSignalingIface. 650s # * 650s # * Emits the "SimpleSignal" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_simple_signal ( 650s # OrgProjectSignalingIface *object) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_n: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_arg_n: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalN" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_n ( 650s # OrgProjectSignalingIface *object, 650s # gint16 arg_arg_n) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 650s # } 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceProxy: 650s # * 650s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceProxyClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectSignalingIfaceProxy. 650s # */ 650s # 650s # struct _OrgProjectSignalingIfaceProxyPrivate 650s # { 650s # GData *qdata; 650s # }; 650s # 650s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_signaling_iface_proxy_finalize (GObject *object) 650s # { 650s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 650s # g_datalist_clear (&proxy->priv->qdata); 650s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # const GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 650s # const gchar *sender_name G_GNUC_UNUSED, 650s # const gchar *signal_name, 650s # GVariant *parameters) 650s # { 650s # _ExtendedGDBusSignalInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # gsize n; 650s # guint signal_id; 650s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 650s # if (info == NULL) 650s # return; 650s # num_params = g_variant_n_children (parameters); 650s # paramv = g_new0 (GValue, num_params + 1); 650s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_value_set_object (¶mv[0], proxy); 650s # g_variant_iter_init (&iter, parameters); 650s # n = 1; 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_signal_emitv (paramv, signal_id, 0, NULL); 650s # for (n = 0; n < num_params + 1; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 650s # GVariant *changed_properties, 650s # const gchar *const *invalidated_properties) 650s # { 650s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 650s # guint n; 650s # const gchar *key; 650s # GVariantIter *iter; 650s # _ExtendedGDBusPropertyInfo *info; 650s # g_variant_get (changed_properties, "a{sv}", &iter); 650s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 650s # g_datalist_remove_data (&proxy->priv->qdata, key); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # g_variant_iter_free (iter); 650s # for (n = 0; invalidated_properties[n] != NULL; n++) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 650s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 650s # #else 650s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 650s # #endif 650s # 650s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusProxyClass *proxy_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 650s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 650s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 650s # 650s # proxy_class = G_DBUS_PROXY_CLASS (klass); 650s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 650s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 650s # * 650s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_signaling_iface_proxy_new ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_sync: 650s # * @connection: A #GDBusConnection. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_sync ( 650s # GDBusConnection *connection, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_for_bus: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 650s # * @user_data: User data to pass to @callback. 650s # * 650s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 650s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 650s # * 650s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 650s # */ 650s # void 650s # org_project_signaling_iface_proxy_new_for_bus ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GAsyncReadyCallback callback, 650s # gpointer user_data) 650s # { 650s # 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); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_for_bus_finish: 650s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 650s # * @error: Return location for error or %NULL 650s # * 650s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_for_bus_finish ( 650s # GAsyncResult *res, 650s # GError **error) 650s # { 650s # GObject *ret; 650s # GObject *source_object; 650s # source_object = g_async_result_get_source_object (res); 650s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 650s # g_object_unref (source_object); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_proxy_new_for_bus_sync: 650s # * @bus_type: A #GBusType. 650s # * @flags: Flags from the #GDBusProxyFlags enumeration. 650s # * @name: A bus name (well-known or unique). 650s # * @object_path: An object path. 650s # * @cancellable: (nullable): A #GCancellable or %NULL. 650s # * @error: Return location for error or %NULL 650s # * 650s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 650s # * 650s # * The calling thread is blocked until a reply is received. 650s # * 650s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_proxy_new_for_bus_sync ( 650s # GBusType bus_type, 650s # GDBusProxyFlags flags, 650s # const gchar *name, 650s # const gchar *object_path, 650s # GCancellable *cancellable, 650s # GError **error) 650s # { 650s # GInitable *ret; 650s # 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); 650s # if (ret != NULL) 650s # return ORG_PROJECT_SIGNALING_IFACE (ret); 650s # else 650s # return NULL; 650s # } 650s # 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceSkeleton: 650s # * 650s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceSkeletonClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 650s # */ 650s # 650s # struct _OrgProjectSignalingIfaceSkeletonPrivate 650s # { 650s # GValue *properties; 650s # GList *changed_properties; 650s # GSource *changed_properties_idle_source; 650s # GMainContext *context; 650s # GMutex lock; 650s # }; 650s # 650s # static void 650s # _org_project_signaling_iface_skeleton_handle_method_call ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name, 650s # const gchar *method_name, 650s # GVariant *parameters, 650s # GDBusMethodInvocation *invocation, 650s # gpointer user_data) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 650s # _ExtendedGDBusMethodInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # guint num_extra; 650s # gsize n; 650s # guint signal_id; 650s # GValue return_value = G_VALUE_INIT; 650s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 650s # g_assert (info != NULL); 650s # num_params = g_variant_n_children (parameters); 650s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 650s # n = 0; 650s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_value_set_object (¶mv[n++], skeleton); 650s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 650s # g_value_set_object (¶mv[n++], invocation); 650s # if (info->pass_fdlist) 650s # { 650s # #ifdef G_OS_UNIX 650s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 650s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 650s # #else 650s # g_assert_not_reached (); 650s # #endif 650s # } 650s # g_variant_iter_init (&iter, parameters); 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_value_init (&return_value, G_TYPE_BOOLEAN); 650s # g_signal_emitv (paramv, signal_id, 0, &return_value); 650s # if (!g_value_get_boolean (&return_value)) 650s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 650s # g_value_unset (&return_value); 650s # for (n = 0; n < num_params + num_extra; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static GVariant * 650s # _org_project_signaling_iface_skeleton_handle_get_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # GVariant *ret; 650s # ret = NULL; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # g_value_init (&value, pspec->value_type); 650s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 650s # g_value_unset (&value); 650s # } 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _org_project_signaling_iface_skeleton_handle_set_property ( 650s # GDBusConnection *connection G_GNUC_UNUSED, 650s # const gchar *sender G_GNUC_UNUSED, 650s # const gchar *object_path G_GNUC_UNUSED, 650s # const gchar *interface_name G_GNUC_UNUSED, 650s # const gchar *property_name, 650s # GVariant *variant, 650s # GError **error, 650s # gpointer user_data) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 650s # GValue value = G_VALUE_INIT; 650s # GParamSpec *pspec; 650s # _ExtendedGDBusPropertyInfo *info; 650s # gboolean ret; 650s # ret = FALSE; 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 650s # g_assert (info != NULL); 650s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 650s # if (pspec == NULL) 650s # { 650s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 650s # } 650s # else 650s # { 650s # if (info->use_gvariant) 650s # g_value_set_variant (&value, variant); 650s # else 650s # g_dbus_gvariant_to_gvalue (variant, &value); 650s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 650s # g_value_unset (&value); 650s # ret = TRUE; 650s # } 650s # return ret; 650s # } 650s # 650s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 650s # { 650s # _org_project_signaling_iface_skeleton_handle_method_call, 650s # _org_project_signaling_iface_skeleton_handle_get_property, 650s # _org_project_signaling_iface_skeleton_handle_set_property, 650s # {NULL} 650s # }; 650s # 650s # static GDBusInterfaceInfo * 650s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return org_project_signaling_iface_interface_info (); 650s # } 650s # 650s # static GDBusInterfaceVTable * 650s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 650s # { 650s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 650s # } 650s # 650s # static GVariant * 650s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 650s # 650s # GVariantBuilder builder; 650s # guint n; 650s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 650s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 650s # goto out; 650s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 650s # { 650s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 650s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 650s # { 650s # GVariant *value; 650s # 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); 650s # if (value != NULL) 650s # { 650s # g_variant_take_ref (value); 650s # g_variant_builder_add (&builder, "{sv}", info->name, value); 650s # g_variant_unref (value); 650s # } 650s # } 650s # } 650s # out: 650s # return g_variant_builder_end (&builder); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_simple_signal ( 650s # OrgProjectSignalingIface *object) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void 650s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 650s # OrgProjectSignalingIface *object, 650s # gint16 arg_arg_n) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # 650s # GList *connections, *l; 650s # GVariant *signal_variant; 650s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 650s # 650s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 650s # arg_arg_n)); 650s # for (l = connections; l != NULL; l = l->next) 650s # { 650s # GDBusConnection *connection = l->data; 650s # g_dbus_connection_emit_signal (connection, 650s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 650s # signal_variant, NULL); 650s # } 650s # g_variant_unref (signal_variant); 650s # g_list_free_full (connections, g_object_unref); 650s # } 650s # 650s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_signaling_iface_skeleton_finalize (GObject *object) 650s # { 650s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 650s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 650s # if (skeleton->priv->changed_properties_idle_source != NULL) 650s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 650s # g_main_context_unref (skeleton->priv->context); 650s # g_mutex_clear (&skeleton->priv->lock); 650s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 650s # #else 650s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 650s # #endif 650s # 650s # g_mutex_init (&skeleton->priv->lock); 650s # skeleton->priv->context = g_main_context_ref_thread_default (); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusInterfaceSkeletonClass *skeleton_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 650s # 650s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 650s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 650s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 650s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 650s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 650s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 650s # #endif 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 650s # { 650s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 650s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_skeleton_new: 650s # * 650s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 650s # * 650s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 650s # */ 650s # OrgProjectSignalingIface * 650s # org_project_signaling_iface_skeleton_new (void) 650s # { 650s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 650s # } 650s # /tmp/tmp58nqb10t/tmpx1je7070.xml: 650s # 650s # 650s # 650s # 650s # 650s # 650s # 650s # 650s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp58nqb10t/tmpx1je7070.xml', '--output', '-', '--body'] 650s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 650s # Output: /* 650s # * This file is generated by gdbus-codegen, do not modify it. 650s # * 650s # * The license of this code is the same as for the D-Bus interface description 650s # * it was derived from. Note that it links to GLib, so must comply with the 650s # * LGPL linking clauses. 650s # */ 650s # 650s # #ifdef HAVE_CONFIG_H 650s # # include "config.h" 650s # #endif 650s # 650s # #include 650s # #ifdef G_OS_UNIX 650s # # include 650s # #endif 650s # 650s # #ifdef G_ENABLE_DEBUG 650s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 650s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 650s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 650s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 650s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 650s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 650s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 650s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 650s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 650s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 650s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 650s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 650s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 650s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 650s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 650s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 650s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 650s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 650s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 650s # #else /* !G_ENABLE_DEBUG */ 650s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 650s # * Do not access GValues directly in your code. Instead, use the 650s # * g_value_get_*() functions 650s # */ 650s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 650s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 650s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 650s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 650s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 650s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 650s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 650s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 650s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 650s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 650s # #endif /* !G_ENABLE_DEBUG */ 650s # 650s # typedef struct 650s # { 650s # GDBusArgInfo parent_struct; 650s # gboolean use_gvariant; 650s # } _ExtendedGDBusArgInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusMethodInfo parent_struct; 650s # const gchar *signal_name; 650s # gboolean pass_fdlist; 650s # } _ExtendedGDBusMethodInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusSignalInfo parent_struct; 650s # const gchar *signal_name; 650s # } _ExtendedGDBusSignalInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusPropertyInfo parent_struct; 650s # const gchar *hyphen_name; 650s # guint use_gvariant : 1; 650s # guint emits_changed_signal : 1; 650s # } _ExtendedGDBusPropertyInfo; 650s # 650s # typedef struct 650s # { 650s # GDBusInterfaceInfo parent_struct; 650s # const gchar *hyphen_name; 650s # } _ExtendedGDBusInterfaceInfo; 650s # 650s # typedef struct 650s # { 650s # const _ExtendedGDBusPropertyInfo *info; 650s # guint prop_id; 650s # GValue orig_value; /* the value before the change */ 650s # } ChangedProperty; 650s # 650s # static void 650s # _changed_property_free (ChangedProperty *data) 650s # { 650s # g_value_unset (&data->orig_value); 650s # g_free (data); 650s # } 650s # 650s # static gboolean 650s # _g_strv_equal0 (gchar **a, gchar **b) 650s # { 650s # gboolean ret = FALSE; 650s # guint n; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # if (g_strv_length (a) != g_strv_length (b)) 650s # goto out; 650s # for (n = 0; a[n] != NULL; n++) 650s # if (g_strcmp0 (a[n], b[n]) != 0) 650s # goto out; 650s # ret = TRUE; 650s # out: 650s # return ret; 650s # } 650s # 650s # static gboolean 650s # _g_variant_equal0 (GVariant *a, GVariant *b) 650s # { 650s # gboolean ret = FALSE; 650s # if (a == NULL && b == NULL) 650s # { 650s # ret = TRUE; 650s # goto out; 650s # } 650s # if (a == NULL || b == NULL) 650s # goto out; 650s # ret = g_variant_equal (a, b); 650s # out: 650s # return ret; 650s # } 650s # 650s # G_GNUC_UNUSED static gboolean 650s # _g_value_equal (const GValue *a, const GValue *b) 650s # { 650s # gboolean ret = FALSE; 650s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 650s # switch (G_VALUE_TYPE (a)) 650s # { 650s # case G_TYPE_BOOLEAN: 650s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 650s # break; 650s # case G_TYPE_UCHAR: 650s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 650s # break; 650s # case G_TYPE_INT: 650s # ret = (g_value_get_int (a) == g_value_get_int (b)); 650s # break; 650s # case G_TYPE_UINT: 650s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 650s # break; 650s # case G_TYPE_INT64: 650s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 650s # break; 650s # case G_TYPE_UINT64: 650s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 650s # break; 650s # case G_TYPE_DOUBLE: 650s # { 650s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 650s # gdouble da = g_value_get_double (a); 650s # gdouble db = g_value_get_double (b); 650s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 650s # } 650s # break; 650s # case G_TYPE_STRING: 650s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 650s # break; 650s # case G_TYPE_VARIANT: 650s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 650s # break; 650s # default: 650s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 650s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 650s # else 650s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 650s # break; 650s # } 650s # return ret; 650s # } 650s # 650s # /* ------------------------------------------------------------------------ 650s # * Code for interface org.project.SignalingIface 650s # * ------------------------------------------------------------------------ 650s # */ 650s # 650s # /** 650s # * SECTION:OrgProjectSignalingIface 650s # * @title: OrgProjectSignalingIface 650s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 650s # * 650s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 650s # */ 650s # 650s # enum 650s # { 650s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 650s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 650s # }; 650s # 650s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 650s # 650s # /* ---- Introspection data for org.project.SignalingIface ---- */ 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SimpleSignal", 650s # NULL, 650s # NULL 650s # }, 650s # "simple-signal" 650s # }; 650s # 650s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 650s # { 650s # { 650s # -1, 650s # (gchar *) "arg_q", 650s # (gchar *) "q", 650s # NULL 650s # }, 650s # FALSE 650s # }; 650s # 650s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 650s # { 650s # { 650s # -1, 650s # (gchar *) "SingleArgSignalQ", 650s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 650s # NULL 650s # }, 650s # "single-arg-signal-q" 650s # }; 650s # 650s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 650s # { 650s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 650s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 650s # NULL 650s # }; 650s # 650s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 650s # { 650s # { 650s # -1, 650s # (gchar *) "org.project.SignalingIface", 650s # NULL, 650s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 650s # NULL, 650s # NULL 650s # }, 650s # "org-project-signaling-iface", 650s # }; 650s # 650s # 650s # /** 650s # * org_project_signaling_iface_interface_info: 650s # * 650s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 650s # * 650s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 650s # */ 650s # GDBusInterfaceInfo * 650s # org_project_signaling_iface_interface_info (void) 650s # { 650s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_override_properties: 650s # * @klass: The class structure for a #GObject derived class. 650s # * @property_id_begin: The property id to assign to the first overridden property. 650s # * 650s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 650s # * The properties are overridden in the order they are defined. 650s # * 650s # * Returns: The last property id. 650s # */ 650s # guint 650s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 650s # { 650s # return property_id_begin - 1; 650s # } 650s # 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_simple_signal ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__VOID (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # inline static void 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 650s # GClosure *closure, 650s # GValue *return_value, 650s # unsigned int n_param_values, 650s # const GValue *param_values, 650s # void *invocation_hint, 650s # void *marshal_data) 650s # { 650s # g_cclosure_marshal_VOID__UINT (closure, 650s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 650s # } 650s # 650s # 650s # /** 650s # * OrgProjectSignalingIface: 650s # * 650s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 650s # */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceIface: 650s # * @parent_iface: The parent interface. 650s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 650s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 650s # * 650s # * Virtual table for the D-Bus interface org.project.SignalingIface. 650s # */ 650s # 650s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 650s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 650s # 650s # static void 650s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 650s # { 650s # /* GObject signals for received D-Bus signals: */ 650s # /** 650s # * OrgProjectSignalingIface::simple-signal: 650s # * @object: A #OrgProjectSignalingIface. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 650s # g_signal_new ("simple-signal", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_simple_signal, 650s # G_TYPE_NONE, 650s # 0); 650s # 650s # /** 650s # * OrgProjectSignalingIface::single-arg-signal-q: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_arg_q: Argument. 650s # * 650s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 650s # * 650s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 650s # */ 650s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 650s # g_signal_new ("single-arg-signal-q", 650s # G_TYPE_FROM_INTERFACE (iface), 650s # G_SIGNAL_RUN_LAST, 650s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 650s # NULL, 650s # NULL, 650s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 650s # G_TYPE_NONE, 650s # 1, G_TYPE_UINT); 650s # 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_simple_signal: 650s # * @object: A #OrgProjectSignalingIface. 650s # * 650s # * Emits the "SimpleSignal" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_simple_signal ( 650s # OrgProjectSignalingIface *object) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 650s # } 650s # 650s # /** 650s # * org_project_signaling_iface_emit_single_arg_signal_q: 650s # * @object: A #OrgProjectSignalingIface. 650s # * @arg_arg_q: Argument to pass with the signal. 650s # * 650s # * Emits the "SingleArgSignalQ" D-Bus signal. 650s # */ 650s # void 650s # org_project_signaling_iface_emit_single_arg_signal_q ( 650s # OrgProjectSignalingIface *object, 650s # guint16 arg_arg_q) 650s # { 650s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 650s # } 650s # 650s # /* ------------------------------------------------------------------------ */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceProxy: 650s # * 650s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 650s # */ 650s # 650s # /** 650s # * OrgProjectSignalingIfaceProxyClass: 650s # * @parent_class: The parent class. 650s # * 650s # * Class structure for #OrgProjectSignalingIfaceProxy. 650s # */ 650s # 650s # struct _OrgProjectSignalingIfaceProxyPrivate 650s # { 650s # GData *qdata; 650s # }; 650s # 650s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 650s # 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 650s # 650s # #else 650s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 650s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 650s # 650s # #endif 650s # static void 650s # org_project_signaling_iface_proxy_finalize (GObject *object) 650s # { 650s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 650s # g_datalist_clear (&proxy->priv->qdata); 650s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 650s # guint prop_id G_GNUC_UNUSED, 650s # const GValue *value G_GNUC_UNUSED, 650s # GParamSpec *pspec G_GNUC_UNUSED) 650s # { 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 650s # const gchar *sender_name G_GNUC_UNUSED, 650s # const gchar *signal_name, 650s # GVariant *parameters) 650s # { 650s # _ExtendedGDBusSignalInfo *info; 650s # GVariantIter iter; 650s # GVariant *child; 650s # GValue *paramv; 650s # gsize num_params; 650s # gsize n; 650s # guint signal_id; 650s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 650s # if (info == NULL) 650s # return; 650s # num_params = g_variant_n_children (parameters); 650s # paramv = g_new0 (GValue, num_params + 1); 650s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_value_set_object (¶mv[0], proxy); 650s # g_variant_iter_init (&iter, parameters); 650s # n = 1; 650s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 650s # { 650s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 650s # if (arg_info->use_gvariant) 650s # { 650s # g_value_init (¶mv[n], G_TYPE_VARIANT); 650s # g_value_set_variant (¶mv[n], child); 650s # n++; 650s # } 650s # else 650s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 650s # g_variant_unref (child); 650s # } 650s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 650s # g_signal_emitv (paramv, signal_id, 0, NULL); 650s # for (n = 0; n < num_params + 1; n++) 650s # g_value_unset (¶mv[n]); 650s # g_free (paramv); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 650s # GVariant *changed_properties, 650s # const gchar *const *invalidated_properties) 650s # { 650s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 650s # guint n; 650s # const gchar *key; 650s # GVariantIter *iter; 650s # _ExtendedGDBusPropertyInfo *info; 650s # g_variant_get (changed_properties, "a{sv}", &iter); 650s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 650s # g_datalist_remove_data (&proxy->priv->qdata, key); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # g_variant_iter_free (iter); 650s # for (n = 0; invalidated_properties[n] != NULL; n++) 650s # { 650s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 650s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 650s # if (info != NULL) 650s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 650s # } 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 650s # { 650s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 650s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 650s # #else 650s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 650s # #endif 650s # 650s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 650s # } 650s # 650s # static void 650s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 650s # { 650s # GObjectClass *gobject_class; 650s # GDBusProxyClass *proxy_class; 650s # 650s # gobject_class = G_OBJECT_CLASS (klass); 650s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 650s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 650s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 650s # 650s # proxy_class = G_DBUS_PROXY_CLASS (klass); 650s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeleton: 651s # * 651s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_signaling_iface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_signaling_iface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_signaling_iface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 651s # { 651s # _org_project_signaling_iface_skeleton_handle_method_call, 651s # _org_project_signaling_iface_skeleton_handle_get_property, 651s # _org_project_signaling_iface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_signaling_iface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 651s # OrgProjectSignalingIface *object, 651s # guint16 arg_arg_q) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 651s # arg_arg_q)); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 651s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 651s # } 651s # /tmp/tmp58nqb10t/tmpapwdg77y.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp58nqb10t/tmpapwdg77y.xml', '--output', '-', '--body'] 651s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 651s # Output: /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.SignalingIface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectSignalingIface 651s # * @title: OrgProjectSignalingIface 651s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 651s # */ 651s # 651s # enum 651s # { 651s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 651s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 651s # }; 651s # 651s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 651s # 651s # /* ---- Introspection data for org.project.SignalingIface ---- */ 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SimpleSignal", 651s # NULL, 651s # NULL 651s # }, 651s # "simple-signal" 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_i", 651s # (gchar *) "i", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgSignalI", 651s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 651s # NULL 651s # }, 651s # "single-arg-signal-i" 651s # }; 651s # 651s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.SignalingIface", 651s # NULL, 651s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-signaling-iface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_signaling_iface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_simple_signal ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__VOID (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__INT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectSignalingIface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 651s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # /* GObject signals for received D-Bus signals: */ 651s # /** 651s # * OrgProjectSignalingIface::simple-signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 651s # g_signal_new ("simple-signal", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_simple_signal, 651s # G_TYPE_NONE, 651s # 0); 651s # 651s # /** 651s # * OrgProjectSignalingIface::single-arg-signal-i: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_i: Argument. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 651s # g_signal_new ("single-arg-signal-i", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 651s # G_TYPE_NONE, 651s # 1, G_TYPE_INT); 651s # 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_simple_signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * Emits the "SimpleSignal" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_single_arg_signal_i: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_i: Argument to pass with the signal. 651s # * 651s # * Emits the "SingleArgSignalI" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_single_arg_signal_i ( 651s # OrgProjectSignalingIface *object, 651s # gint arg_arg_i) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxy: 651s # * 651s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 651s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 651s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeleton: 651s # * 651s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_signaling_iface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_signaling_iface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_signaling_iface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 651s # { 651s # _org_project_signaling_iface_skeleton_handle_method_call, 651s # _org_project_signaling_iface_skeleton_handle_get_property, 651s # _org_project_signaling_iface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_signaling_iface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 651s # OrgProjectSignalingIface *object, 651s # gint arg_arg_i) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 651s # arg_arg_i)); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 651s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 651s # } 651s # /tmp/tmp58nqb10t/tmpop31ukso.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp58nqb10t/tmpop31ukso.xml', '--output', '-', '--body'] 651s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 651s # Output: /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.SignalingIface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectSignalingIface 651s # * @title: OrgProjectSignalingIface 651s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 651s # */ 651s # 651s # enum 651s # { 651s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 651s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 651s # }; 651s # 651s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 651s # 651s # /* ---- Introspection data for org.project.SignalingIface ---- */ 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SimpleSignal", 651s # NULL, 651s # NULL 651s # }, 651s # "simple-signal" 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_u", 651s # (gchar *) "u", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgSignalU", 651s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 651s # NULL 651s # }, 651s # "single-arg-signal-u" 651s # }; 651s # 651s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.SignalingIface", 651s # NULL, 651s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-signaling-iface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_signaling_iface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_simple_signal ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__VOID (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__UINT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectSignalingIface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 651s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # /* GObject signals for received D-Bus signals: */ 651s # /** 651s # * OrgProjectSignalingIface::simple-signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 651s # g_signal_new ("simple-signal", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_simple_signal, 651s # G_TYPE_NONE, 651s # 0); 651s # 651s # /** 651s # * OrgProjectSignalingIface::single-arg-signal-u: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_u: Argument. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 651s # g_signal_new ("single-arg-signal-u", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 651s # G_TYPE_NONE, 651s # 1, G_TYPE_UINT); 651s # 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_simple_signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * Emits the "SimpleSignal" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_single_arg_signal_u: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_u: Argument to pass with the signal. 651s # * 651s # * Emits the "SingleArgSignalU" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_single_arg_signal_u ( 651s # OrgProjectSignalingIface *object, 651s # guint arg_arg_u) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxy: 651s # * 651s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 651s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 651s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeleton: 651s # * 651s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_signaling_iface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_signaling_iface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_signaling_iface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 651s # { 651s # _org_project_signaling_iface_skeleton_handle_method_call, 651s # _org_project_signaling_iface_skeleton_handle_get_property, 651s # _org_project_signaling_iface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_signaling_iface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 651s # OrgProjectSignalingIface *object, 651s # guint arg_arg_u) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 651s # arg_arg_u)); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 651s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 651s # } 651s # /tmp/tmp58nqb10t/tmp_e0xg3rl.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp58nqb10t/tmp_e0xg3rl.xml', '--output', '-', '--body'] 651s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 651s # Output: /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_VOID__INT64 ( 651s # GClosure *closure, 651s # GValue *return_value G_GNUC_UNUSED, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 651s # (void *data1, 651s # gint64 arg_arg_x, 651s # void *data2); 651s # _GDbusCodegenMarshalVoid_Int64Func callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # callback (data1, 651s # g_marshal_value_peek_int64 (param_values + 1), 651s # data2); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.SignalingIface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectSignalingIface 651s # * @title: OrgProjectSignalingIface 651s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 651s # */ 651s # 651s # enum 651s # { 651s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 651s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 651s # }; 651s # 651s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 651s # 651s # /* ---- Introspection data for org.project.SignalingIface ---- */ 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SimpleSignal", 651s # NULL, 651s # NULL 651s # }, 651s # "simple-signal" 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_x", 651s # (gchar *) "x", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgSignalX", 651s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 651s # NULL 651s # }, 651s # "single-arg-signal-x" 651s # }; 651s # 651s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.SignalingIface", 651s # NULL, 651s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-signaling-iface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_signaling_iface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_simple_signal ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__VOID (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectSignalingIface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 651s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # /* GObject signals for received D-Bus signals: */ 651s # /** 651s # * OrgProjectSignalingIface::simple-signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 651s # g_signal_new ("simple-signal", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_simple_signal, 651s # G_TYPE_NONE, 651s # 0); 651s # 651s # /** 651s # * OrgProjectSignalingIface::single-arg-signal-x: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_x: Argument. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 651s # g_signal_new ("single-arg-signal-x", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 651s # G_TYPE_NONE, 651s # 1, G_TYPE_INT64); 651s # 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_simple_signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * Emits the "SimpleSignal" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_single_arg_signal_x: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_x: Argument to pass with the signal. 651s # * 651s # * Emits the "SingleArgSignalX" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_single_arg_signal_x ( 651s # OrgProjectSignalingIface *object, 651s # gint64 arg_arg_x) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxy: 651s # * 651s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 651s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 651s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeleton: 651s # * 651s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_signaling_iface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_signaling_iface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_signaling_iface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 651s # { 651s # _org_project_signaling_iface_skeleton_handle_method_call, 651s # _org_project_signaling_iface_skeleton_handle_get_property, 651s # _org_project_signaling_iface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_signaling_iface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 651s # OrgProjectSignalingIface *object, 651s # gint64 arg_arg_x) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 651s # arg_arg_x)); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 651s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 651s # } 651s # /tmp/tmp58nqb10t/tmp24yw1jxz.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp58nqb10t/tmp24yw1jxz.xml', '--output', '-', '--body'] 651s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 651s # Output: /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # static void 651s # _g_dbus_codegen_marshal_VOID__UINT64 ( 651s # GClosure *closure, 651s # GValue *return_value G_GNUC_UNUSED, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint G_GNUC_UNUSED, 651s # void *marshal_data) 651s # { 651s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 651s # (void *data1, 651s # guint64 arg_arg_t, 651s # void *data2); 651s # _GDbusCodegenMarshalVoid_Uint64Func callback; 651s # GCClosure *cc = (GCClosure*) closure; 651s # void *data1, *data2; 651s # 651s # g_return_if_fail (n_param_values == 2); 651s # 651s # if (G_CCLOSURE_SWAP_DATA (closure)) 651s # { 651s # data1 = closure->data; 651s # data2 = g_value_peek_pointer (param_values + 0); 651s # } 651s # else 651s # { 651s # data1 = g_value_peek_pointer (param_values + 0); 651s # data2 = closure->data; 651s # } 651s # 651s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 651s # (marshal_data ? marshal_data : cc->callback); 651s # 651s # callback (data1, 651s # g_marshal_value_peek_uint64 (param_values + 1), 651s # data2); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.SignalingIface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectSignalingIface 651s # * @title: OrgProjectSignalingIface 651s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 651s # */ 651s # 651s # enum 651s # { 651s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 651s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 651s # }; 651s # 651s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 651s # 651s # /* ---- Introspection data for org.project.SignalingIface ---- */ 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SimpleSignal", 651s # NULL, 651s # NULL 651s # }, 651s # "simple-signal" 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_t", 651s # (gchar *) "t", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgSignalT", 651s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 651s # NULL 651s # }, 651s # "single-arg-signal-t" 651s # }; 651s # 651s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.SignalingIface", 651s # NULL, 651s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-signaling-iface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_signaling_iface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_simple_signal ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__VOID (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectSignalingIface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 651s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # /* GObject signals for received D-Bus signals: */ 651s # /** 651s # * OrgProjectSignalingIface::simple-signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 651s # g_signal_new ("simple-signal", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_simple_signal, 651s # G_TYPE_NONE, 651s # 0); 651s # 651s # /** 651s # * OrgProjectSignalingIface::single-arg-signal-t: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_t: Argument. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 651s # g_signal_new ("single-arg-signal-t", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 651s # G_TYPE_NONE, 651s # 1, G_TYPE_UINT64); 651s # 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_simple_signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * Emits the "SimpleSignal" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_single_arg_signal_t: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_t: Argument to pass with the signal. 651s # * 651s # * Emits the "SingleArgSignalT" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_single_arg_signal_t ( 651s # OrgProjectSignalingIface *object, 651s # guint64 arg_arg_t) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxy: 651s # * 651s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 651s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 651s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeleton: 651s # * 651s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_signaling_iface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_signaling_iface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_signaling_iface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 651s # { 651s # _org_project_signaling_iface_skeleton_handle_method_call, 651s # _org_project_signaling_iface_skeleton_handle_get_property, 651s # _org_project_signaling_iface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_signaling_iface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 651s # OrgProjectSignalingIface *object, 651s # guint64 arg_arg_t) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 651s # arg_arg_t)); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 651s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 651s # } 651s # /tmp/tmp58nqb10t/tmpr9cd2_ok.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp58nqb10t/tmpr9cd2_ok.xml', '--output', '-', '--body'] 651s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 651s # Output: /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.SignalingIface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectSignalingIface 651s # * @title: OrgProjectSignalingIface 651s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 651s # */ 651s # 651s # enum 651s # { 651s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 651s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 651s # }; 651s # 651s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 651s # 651s # /* ---- Introspection data for org.project.SignalingIface ---- */ 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SimpleSignal", 651s # NULL, 651s # NULL 651s # }, 651s # "simple-signal" 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_d", 651s # (gchar *) "d", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgSignalD", 651s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 651s # NULL 651s # }, 651s # "single-arg-signal-d" 651s # }; 651s # 651s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.SignalingIface", 651s # NULL, 651s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-signaling-iface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_signaling_iface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_simple_signal ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__VOID (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__DOUBLE (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectSignalingIface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 651s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # /* GObject signals for received D-Bus signals: */ 651s # /** 651s # * OrgProjectSignalingIface::simple-signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 651s # g_signal_new ("simple-signal", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_simple_signal, 651s # G_TYPE_NONE, 651s # 0); 651s # 651s # /** 651s # * OrgProjectSignalingIface::single-arg-signal-d: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_d: Argument. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 651s # g_signal_new ("single-arg-signal-d", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 651s # G_TYPE_NONE, 651s # 1, G_TYPE_DOUBLE); 651s # 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_simple_signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * Emits the "SimpleSignal" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_single_arg_signal_d: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_d: Argument to pass with the signal. 651s # * 651s # * Emits the "SingleArgSignalD" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_single_arg_signal_d ( 651s # OrgProjectSignalingIface *object, 651s # gdouble arg_arg_d) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxy: 651s # * 651s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 651s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 651s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeleton: 651s # * 651s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_signaling_iface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_signaling_iface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_signaling_iface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 651s # { 651s # _org_project_signaling_iface_skeleton_handle_method_call, 651s # _org_project_signaling_iface_skeleton_handle_get_property, 651s # _org_project_signaling_iface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_signaling_iface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 651s # OrgProjectSignalingIface *object, 651s # gdouble arg_arg_d) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 651s # arg_arg_d)); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 651s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 651s # } 651s # /tmp/tmp58nqb10t/tmp2l60wmgz.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp58nqb10t/tmp2l60wmgz.xml', '--output', '-', '--body'] 651s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 651s # Output: /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.SignalingIface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectSignalingIface 651s # * @title: OrgProjectSignalingIface 651s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 651s # */ 651s # 651s # enum 651s # { 651s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 651s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 651s # }; 651s # 651s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 651s # 651s # /* ---- Introspection data for org.project.SignalingIface ---- */ 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SimpleSignal", 651s # NULL, 651s # NULL 651s # }, 651s # "simple-signal" 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_s", 651s # (gchar *) "s", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgSignalS", 651s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 651s # NULL 651s # }, 651s # "single-arg-signal-s" 651s # }; 651s # 651s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.SignalingIface", 651s # NULL, 651s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-signaling-iface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_signaling_iface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_simple_signal ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__VOID (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__STRING (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectSignalingIface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 651s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # /* GObject signals for received D-Bus signals: */ 651s # /** 651s # * OrgProjectSignalingIface::simple-signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 651s # g_signal_new ("simple-signal", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_simple_signal, 651s # G_TYPE_NONE, 651s # 0); 651s # 651s # /** 651s # * OrgProjectSignalingIface::single-arg-signal-s: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_s: Argument. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 651s # g_signal_new ("single-arg-signal-s", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 651s # G_TYPE_NONE, 651s # 1, G_TYPE_STRING); 651s # 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_simple_signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * Emits the "SimpleSignal" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_single_arg_signal_s: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_s: Argument to pass with the signal. 651s # * 651s # * Emits the "SingleArgSignalS" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_single_arg_signal_s ( 651s # OrgProjectSignalingIface *object, 651s # const gchar *arg_arg_s) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxy: 651s # * 651s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 651s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 651s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeleton: 651s # * 651s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_signaling_iface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_signaling_iface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_signaling_iface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 651s # { 651s # _org_project_signaling_iface_skeleton_handle_method_call, 651s # _org_project_signaling_iface_skeleton_handle_get_property, 651s # _org_project_signaling_iface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_signaling_iface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 651s # OrgProjectSignalingIface *object, 651s # const gchar *arg_arg_s) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 651s # arg_arg_s)); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 651s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 651s # } 651s # /tmp/tmp58nqb10t/tmpf_8c40yc.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp58nqb10t/tmpf_8c40yc.xml', '--output', '-', '--body'] 651s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 651s # Output: /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.SignalingIface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectSignalingIface 651s # * @title: OrgProjectSignalingIface 651s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 651s # */ 651s # 651s # enum 651s # { 651s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 651s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 651s # }; 651s # 651s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 651s # 651s # /* ---- Introspection data for org.project.SignalingIface ---- */ 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SimpleSignal", 651s # NULL, 651s # NULL 651s # }, 651s # "simple-signal" 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_o", 651s # (gchar *) "o", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgSignalO", 651s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 651s # NULL 651s # }, 651s # "single-arg-signal-o" 651s # }; 651s # 651s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.SignalingIface", 651s # NULL, 651s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-signaling-iface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_signaling_iface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_simple_signal ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__VOID (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__STRING (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectSignalingIface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 651s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # /* GObject signals for received D-Bus signals: */ 651s # /** 651s # * OrgProjectSignalingIface::simple-signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 651s # g_signal_new ("simple-signal", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_simple_signal, 651s # G_TYPE_NONE, 651s # 0); 651s # 651s # /** 651s # * OrgProjectSignalingIface::single-arg-signal-o: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_o: Argument. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 651s # g_signal_new ("single-arg-signal-o", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 651s # G_TYPE_NONE, 651s # 1, G_TYPE_STRING); 651s # 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_simple_signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * Emits the "SimpleSignal" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_single_arg_signal_o: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_o: Argument to pass with the signal. 651s # * 651s # * Emits the "SingleArgSignalO" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_single_arg_signal_o ( 651s # OrgProjectSignalingIface *object, 651s # const gchar *arg_arg_o) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxy: 651s # * 651s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 651s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 651s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeleton: 651s # * 651s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_signaling_iface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_signaling_iface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_signaling_iface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 651s # { 651s # _org_project_signaling_iface_skeleton_handle_method_call, 651s # _org_project_signaling_iface_skeleton_handle_get_property, 651s # _org_project_signaling_iface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_signaling_iface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 651s # OrgProjectSignalingIface *object, 651s # const gchar *arg_arg_o) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 651s # arg_arg_o)); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 651s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 651s # } 651s # /tmp/tmp58nqb10t/tmph7hw22mt.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp58nqb10t/tmph7hw22mt.xml', '--output', '-', '--body'] 651s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 651s # Output: /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.SignalingIface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectSignalingIface 651s # * @title: OrgProjectSignalingIface 651s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 651s # */ 651s # 651s # enum 651s # { 651s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 651s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 651s # }; 651s # 651s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 651s # 651s # /* ---- Introspection data for org.project.SignalingIface ---- */ 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SimpleSignal", 651s # NULL, 651s # NULL 651s # }, 651s # "simple-signal" 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_g", 651s # (gchar *) "g", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgSignalG", 651s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 651s # NULL 651s # }, 651s # "single-arg-signal-g" 651s # }; 651s # 651s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.SignalingIface", 651s # NULL, 651s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-signaling-iface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_signaling_iface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_simple_signal ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__VOID (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__STRING (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectSignalingIface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 651s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # /* GObject signals for received D-Bus signals: */ 651s # /** 651s # * OrgProjectSignalingIface::simple-signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 651s # g_signal_new ("simple-signal", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_simple_signal, 651s # G_TYPE_NONE, 651s # 0); 651s # 651s # /** 651s # * OrgProjectSignalingIface::single-arg-signal-g: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_g: Argument. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 651s # g_signal_new ("single-arg-signal-g", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 651s # G_TYPE_NONE, 651s # 1, G_TYPE_STRING); 651s # 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_simple_signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * Emits the "SimpleSignal" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_single_arg_signal_g: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_g: Argument to pass with the signal. 651s # * 651s # * Emits the "SingleArgSignalG" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_single_arg_signal_g ( 651s # OrgProjectSignalingIface *object, 651s # const gchar *arg_arg_g) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxy: 651s # * 651s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 651s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 651s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeleton: 651s # * 651s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_signaling_iface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_signaling_iface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_signaling_iface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 651s # { 651s # _org_project_signaling_iface_skeleton_handle_method_call, 651s # _org_project_signaling_iface_skeleton_handle_get_property, 651s # _org_project_signaling_iface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_signaling_iface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 651s # OrgProjectSignalingIface *object, 651s # const gchar *arg_arg_g) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 651s # arg_arg_g)); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 651s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 651s # } 651s # /tmp/tmp58nqb10t/tmp2fa3m8no.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp58nqb10t/tmp2fa3m8no.xml', '--output', '-', '--body'] 651s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 651s # Output: /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.SignalingIface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectSignalingIface 651s # * @title: OrgProjectSignalingIface 651s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 651s # */ 651s # 651s # enum 651s # { 651s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 651s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 651s # }; 651s # 651s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 651s # 651s # /* ---- Introspection data for org.project.SignalingIface ---- */ 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SimpleSignal", 651s # NULL, 651s # NULL 651s # }, 651s # "simple-signal" 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_h", 651s # (gchar *) "h", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgSignalH", 651s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 651s # NULL 651s # }, 651s # "single-arg-signal-h" 651s # }; 651s # 651s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.SignalingIface", 651s # NULL, 651s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-signaling-iface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_signaling_iface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_simple_signal ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__VOID (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__VARIANT (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectSignalingIface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 651s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # /* GObject signals for received D-Bus signals: */ 651s # /** 651s # * OrgProjectSignalingIface::simple-signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 651s # g_signal_new ("simple-signal", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_simple_signal, 651s # G_TYPE_NONE, 651s # 0); 651s # 651s # /** 651s # * OrgProjectSignalingIface::single-arg-signal-h: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_h: Argument. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 651s # g_signal_new ("single-arg-signal-h", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 651s # G_TYPE_NONE, 651s # 1, G_TYPE_VARIANT); 651s # 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_simple_signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * Emits the "SimpleSignal" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_single_arg_signal_h: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_h: Argument to pass with the signal. 651s # * 651s # * Emits the "SingleArgSignalH" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_single_arg_signal_h ( 651s # OrgProjectSignalingIface *object, 651s # GVariant *arg_arg_h) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxy: 651s # * 651s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 651s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 651s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeleton: 651s # * 651s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_signaling_iface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_signaling_iface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_signaling_iface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 651s # { 651s # _org_project_signaling_iface_skeleton_handle_method_call, 651s # _org_project_signaling_iface_skeleton_handle_get_property, 651s # _org_project_signaling_iface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_signaling_iface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 651s # OrgProjectSignalingIface *object, 651s # GVariant *arg_arg_h) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 651s # arg_arg_h)); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 651s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 651s # } 651s # /tmp/tmp58nqb10t/tmp9sfksivq.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp58nqb10t/tmp9sfksivq.xml', '--output', '-', '--body'] 651s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 651s # Output: /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.SignalingIface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectSignalingIface 651s # * @title: OrgProjectSignalingIface 651s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 651s # */ 651s # 651s # enum 651s # { 651s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 651s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 651s # }; 651s # 651s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 651s # 651s # /* ---- Introspection data for org.project.SignalingIface ---- */ 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SimpleSignal", 651s # NULL, 651s # NULL 651s # }, 651s # "simple-signal" 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_ay", 651s # (gchar *) "ay", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgSignalAy", 651s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 651s # NULL 651s # }, 651s # "single-arg-signal-ay" 651s # }; 651s # 651s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.SignalingIface", 651s # NULL, 651s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-signaling-iface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_signaling_iface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_simple_signal ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__VOID (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__STRING (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectSignalingIface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 651s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # /* GObject signals for received D-Bus signals: */ 651s # /** 651s # * OrgProjectSignalingIface::simple-signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 651s # g_signal_new ("simple-signal", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_simple_signal, 651s # G_TYPE_NONE, 651s # 0); 651s # 651s # /** 651s # * OrgProjectSignalingIface::single-arg-signal-ay: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_ay: Argument. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 651s # g_signal_new ("single-arg-signal-ay", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 651s # G_TYPE_NONE, 651s # 1, G_TYPE_STRING); 651s # 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_simple_signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * Emits the "SimpleSignal" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_single_arg_signal_ay: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_ay: Argument to pass with the signal. 651s # * 651s # * Emits the "SingleArgSignalAy" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_single_arg_signal_ay ( 651s # OrgProjectSignalingIface *object, 651s # const gchar *arg_arg_ay) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxy: 651s # * 651s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 651s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 651s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeleton: 651s # * 651s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_signaling_iface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_signaling_iface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_signaling_iface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 651s # { 651s # _org_project_signaling_iface_skeleton_handle_method_call, 651s # _org_project_signaling_iface_skeleton_handle_get_property, 651s # _org_project_signaling_iface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return org_project_signaling_iface_interface_info (); 651s # } 651s # 651s # static GDBusInterfaceVTable * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 651s # { 651s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 651s # } 651s # 651s # static GVariant * 651s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 651s # 651s # GVariantBuilder builder; 651s # guint n; 651s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 651s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 651s # goto out; 651s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 651s # { 651s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 651s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 651s # { 651s # GVariant *value; 651s # 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); 651s # if (value != NULL) 651s # { 651s # g_variant_take_ref (value); 651s # g_variant_builder_add (&builder, "{sv}", info->name, value); 651s # g_variant_unref (value); 651s # } 651s # } 651s # } 651s # out: 651s # return g_variant_builder_end (&builder); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void 651s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 651s # OrgProjectSignalingIface *object, 651s # const gchar *arg_arg_ay) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # 651s # GList *connections, *l; 651s # GVariant *signal_variant; 651s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 651s # 651s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 651s # arg_arg_ay)); 651s # for (l = connections; l != NULL; l = l->next) 651s # { 651s # GDBusConnection *connection = l->data; 651s # g_dbus_connection_emit_signal (connection, 651s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 651s # signal_variant, NULL); 651s # } 651s # g_variant_unref (signal_variant); 651s # g_list_free_full (connections, g_object_unref); 651s # } 651s # 651s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_skeleton_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 651s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 651s # if (skeleton->priv->changed_properties_idle_source != NULL) 651s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 651s # g_main_context_unref (skeleton->priv->context); 651s # g_mutex_clear (&skeleton->priv->lock); 651s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 651s # #else 651s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 651s # #endif 651s # 651s # g_mutex_init (&skeleton->priv->lock); 651s # skeleton->priv->context = g_main_context_ref_thread_default (); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusInterfaceSkeletonClass *skeleton_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 651s # 651s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 651s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 651s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 651s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 651s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 651s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_skeleton_new: 651s # * 651s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_skeleton_new (void) 651s # { 651s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 651s # } 651s # /tmp/tmp58nqb10t/tmpfrhm17o7.xml: 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # 651s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp58nqb10t/tmpfrhm17o7.xml', '--output', '-', '--body'] 651s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 651s # Output: /* 651s # * This file is generated by gdbus-codegen, do not modify it. 651s # * 651s # * The license of this code is the same as for the D-Bus interface description 651s # * it was derived from. Note that it links to GLib, so must comply with the 651s # * LGPL linking clauses. 651s # */ 651s # 651s # #ifdef HAVE_CONFIG_H 651s # # include "config.h" 651s # #endif 651s # 651s # #include 651s # #ifdef G_OS_UNIX 651s # # include 651s # #endif 651s # 651s # #ifdef G_ENABLE_DEBUG 651s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 651s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 651s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 651s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 651s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 651s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 651s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 651s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 651s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 651s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 651s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 651s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 651s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 651s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 651s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 651s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 651s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 651s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 651s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 651s # #else /* !G_ENABLE_DEBUG */ 651s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 651s # * Do not access GValues directly in your code. Instead, use the 651s # * g_value_get_*() functions 651s # */ 651s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 651s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 651s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 651s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 651s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 651s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 651s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 651s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 651s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 651s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 651s # #endif /* !G_ENABLE_DEBUG */ 651s # 651s # typedef struct 651s # { 651s # GDBusArgInfo parent_struct; 651s # gboolean use_gvariant; 651s # } _ExtendedGDBusArgInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusMethodInfo parent_struct; 651s # const gchar *signal_name; 651s # gboolean pass_fdlist; 651s # } _ExtendedGDBusMethodInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusSignalInfo parent_struct; 651s # const gchar *signal_name; 651s # } _ExtendedGDBusSignalInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusPropertyInfo parent_struct; 651s # const gchar *hyphen_name; 651s # guint use_gvariant : 1; 651s # guint emits_changed_signal : 1; 651s # } _ExtendedGDBusPropertyInfo; 651s # 651s # typedef struct 651s # { 651s # GDBusInterfaceInfo parent_struct; 651s # const gchar *hyphen_name; 651s # } _ExtendedGDBusInterfaceInfo; 651s # 651s # typedef struct 651s # { 651s # const _ExtendedGDBusPropertyInfo *info; 651s # guint prop_id; 651s # GValue orig_value; /* the value before the change */ 651s # } ChangedProperty; 651s # 651s # static void 651s # _changed_property_free (ChangedProperty *data) 651s # { 651s # g_value_unset (&data->orig_value); 651s # g_free (data); 651s # } 651s # 651s # static gboolean 651s # _g_strv_equal0 (gchar **a, gchar **b) 651s # { 651s # gboolean ret = FALSE; 651s # guint n; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # if (g_strv_length (a) != g_strv_length (b)) 651s # goto out; 651s # for (n = 0; a[n] != NULL; n++) 651s # if (g_strcmp0 (a[n], b[n]) != 0) 651s # goto out; 651s # ret = TRUE; 651s # out: 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _g_variant_equal0 (GVariant *a, GVariant *b) 651s # { 651s # gboolean ret = FALSE; 651s # if (a == NULL && b == NULL) 651s # { 651s # ret = TRUE; 651s # goto out; 651s # } 651s # if (a == NULL || b == NULL) 651s # goto out; 651s # ret = g_variant_equal (a, b); 651s # out: 651s # return ret; 651s # } 651s # 651s # G_GNUC_UNUSED static gboolean 651s # _g_value_equal (const GValue *a, const GValue *b) 651s # { 651s # gboolean ret = FALSE; 651s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 651s # switch (G_VALUE_TYPE (a)) 651s # { 651s # case G_TYPE_BOOLEAN: 651s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 651s # break; 651s # case G_TYPE_UCHAR: 651s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 651s # break; 651s # case G_TYPE_INT: 651s # ret = (g_value_get_int (a) == g_value_get_int (b)); 651s # break; 651s # case G_TYPE_UINT: 651s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 651s # break; 651s # case G_TYPE_INT64: 651s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 651s # break; 651s # case G_TYPE_UINT64: 651s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 651s # break; 651s # case G_TYPE_DOUBLE: 651s # { 651s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 651s # gdouble da = g_value_get_double (a); 651s # gdouble db = g_value_get_double (b); 651s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 651s # } 651s # break; 651s # case G_TYPE_STRING: 651s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 651s # break; 651s # case G_TYPE_VARIANT: 651s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 651s # break; 651s # default: 651s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 651s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 651s # else 651s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 651s # break; 651s # } 651s # return ret; 651s # } 651s # 651s # /* ------------------------------------------------------------------------ 651s # * Code for interface org.project.SignalingIface 651s # * ------------------------------------------------------------------------ 651s # */ 651s # 651s # /** 651s # * SECTION:OrgProjectSignalingIface 651s # * @title: OrgProjectSignalingIface 651s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 651s # * 651s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 651s # */ 651s # 651s # enum 651s # { 651s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 651s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 651s # }; 651s # 651s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 651s # 651s # /* ---- Introspection data for org.project.SignalingIface ---- */ 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SimpleSignal", 651s # NULL, 651s # NULL 651s # }, 651s # "simple-signal" 651s # }; 651s # 651s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 651s # { 651s # { 651s # -1, 651s # (gchar *) "arg_as", 651s # (gchar *) "as", 651s # NULL 651s # }, 651s # FALSE 651s # }; 651s # 651s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 651s # { 651s # { 651s # -1, 651s # (gchar *) "SingleArgSignalAs", 651s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 651s # NULL 651s # }, 651s # "single-arg-signal-as" 651s # }; 651s # 651s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 651s # { 651s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 651s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 651s # NULL 651s # }; 651s # 651s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 651s # { 651s # { 651s # -1, 651s # (gchar *) "org.project.SignalingIface", 651s # NULL, 651s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 651s # NULL, 651s # NULL 651s # }, 651s # "org-project-signaling-iface", 651s # }; 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_interface_info: 651s # * 651s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 651s # * 651s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 651s # */ 651s # GDBusInterfaceInfo * 651s # org_project_signaling_iface_interface_info (void) 651s # { 651s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_override_properties: 651s # * @klass: The class structure for a #GObject derived class. 651s # * @property_id_begin: The property id to assign to the first overridden property. 651s # * 651s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 651s # * The properties are overridden in the order they are defined. 651s # * 651s # * Returns: The last property id. 651s # */ 651s # guint 651s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 651s # { 651s # return property_id_begin - 1; 651s # } 651s # 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_simple_signal ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__VOID (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # inline static void 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 651s # GClosure *closure, 651s # GValue *return_value, 651s # unsigned int n_param_values, 651s # const GValue *param_values, 651s # void *invocation_hint, 651s # void *marshal_data) 651s # { 651s # g_cclosure_marshal_VOID__BOXED (closure, 651s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 651s # } 651s # 651s # 651s # /** 651s # * OrgProjectSignalingIface: 651s # * 651s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceIface: 651s # * @parent_iface: The parent interface. 651s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 651s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 651s # * 651s # * Virtual table for the D-Bus interface org.project.SignalingIface. 651s # */ 651s # 651s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 651s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 651s # 651s # static void 651s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 651s # { 651s # /* GObject signals for received D-Bus signals: */ 651s # /** 651s # * OrgProjectSignalingIface::simple-signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 651s # g_signal_new ("simple-signal", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_simple_signal, 651s # G_TYPE_NONE, 651s # 0); 651s # 651s # /** 651s # * OrgProjectSignalingIface::single-arg-signal-as: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_as: Argument. 651s # * 651s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 651s # * 651s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 651s # */ 651s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 651s # g_signal_new ("single-arg-signal-as", 651s # G_TYPE_FROM_INTERFACE (iface), 651s # G_SIGNAL_RUN_LAST, 651s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 651s # NULL, 651s # NULL, 651s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 651s # G_TYPE_NONE, 651s # 1, G_TYPE_STRV); 651s # 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_simple_signal: 651s # * @object: A #OrgProjectSignalingIface. 651s # * 651s # * Emits the "SimpleSignal" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_simple_signal ( 651s # OrgProjectSignalingIface *object) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_emit_single_arg_signal_as: 651s # * @object: A #OrgProjectSignalingIface. 651s # * @arg_arg_as: Argument to pass with the signal. 651s # * 651s # * Emits the "SingleArgSignalAs" D-Bus signal. 651s # */ 651s # void 651s # org_project_signaling_iface_emit_single_arg_signal_as ( 651s # OrgProjectSignalingIface *object, 651s # const gchar *const *arg_arg_as) 651s # { 651s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 651s # } 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxy: 651s # * 651s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceProxyClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceProxy. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceProxyPrivate 651s # { 651s # GData *qdata; 651s # }; 651s # 651s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #else 651s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 651s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 651s # 651s # #endif 651s # static void 651s # org_project_signaling_iface_proxy_finalize (GObject *object) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 651s # g_datalist_clear (&proxy->priv->qdata); 651s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 651s # guint prop_id G_GNUC_UNUSED, 651s # const GValue *value G_GNUC_UNUSED, 651s # GParamSpec *pspec G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 651s # const gchar *sender_name G_GNUC_UNUSED, 651s # const gchar *signal_name, 651s # GVariant *parameters) 651s # { 651s # _ExtendedGDBusSignalInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # gsize n; 651s # guint signal_id; 651s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 651s # if (info == NULL) 651s # return; 651s # num_params = g_variant_n_children (parameters); 651s # paramv = g_new0 (GValue, num_params + 1); 651s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[0], proxy); 651s # g_variant_iter_init (&iter, parameters); 651s # n = 1; 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_signal_emitv (paramv, signal_id, 0, NULL); 651s # for (n = 0; n < num_params + 1; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 651s # GVariant *changed_properties, 651s # const gchar *const *invalidated_properties) 651s # { 651s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 651s # guint n; 651s # const gchar *key; 651s # GVariantIter *iter; 651s # _ExtendedGDBusPropertyInfo *info; 651s # g_variant_get (changed_properties, "a{sv}", &iter); 651s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 651s # g_datalist_remove_data (&proxy->priv->qdata, key); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # g_variant_iter_free (iter); 651s # for (n = 0; invalidated_properties[n] != NULL; n++) 651s # { 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 651s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 651s # if (info != NULL) 651s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 651s # } 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 651s # { 651s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 651s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 651s # #else 651s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 651s # #endif 651s # 651s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 651s # { 651s # GObjectClass *gobject_class; 651s # GDBusProxyClass *proxy_class; 651s # 651s # gobject_class = G_OBJECT_CLASS (klass); 651s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 651s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 651s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 651s # 651s # proxy_class = G_DBUS_PROXY_CLASS (klass); 651s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 651s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 651s # 651s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 651s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 651s # #endif 651s # } 651s # 651s # static void 651s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 651s # { 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_sync: 651s # * @connection: A #GDBusConnection. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_sync ( 651s # GDBusConnection *connection, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 651s # * @user_data: User data to pass to @callback. 651s # * 651s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 651s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 651s # */ 651s # void 651s # org_project_signaling_iface_proxy_new_for_bus ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GAsyncReadyCallback callback, 651s # gpointer user_data) 651s # { 651s # 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); 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_finish: 651s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 651s # * @error: Return location for error or %NULL 651s # * 651s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_finish ( 651s # GAsyncResult *res, 651s # GError **error) 651s # { 651s # GObject *ret; 651s # GObject *source_object; 651s # source_object = g_async_result_get_source_object (res); 651s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 651s # g_object_unref (source_object); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # /** 651s # * org_project_signaling_iface_proxy_new_for_bus_sync: 651s # * @bus_type: A #GBusType. 651s # * @flags: Flags from the #GDBusProxyFlags enumeration. 651s # * @name: A bus name (well-known or unique). 651s # * @object_path: An object path. 651s # * @cancellable: (nullable): A #GCancellable or %NULL. 651s # * @error: Return location for error or %NULL 651s # * 651s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 651s # * 651s # * The calling thread is blocked until a reply is received. 651s # * 651s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 651s # * 651s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 651s # */ 651s # OrgProjectSignalingIface * 651s # org_project_signaling_iface_proxy_new_for_bus_sync ( 651s # GBusType bus_type, 651s # GDBusProxyFlags flags, 651s # const gchar *name, 651s # const gchar *object_path, 651s # GCancellable *cancellable, 651s # GError **error) 651s # { 651s # GInitable *ret; 651s # 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); 651s # if (ret != NULL) 651s # return ORG_PROJECT_SIGNALING_IFACE (ret); 651s # else 651s # return NULL; 651s # } 651s # 651s # 651s # /* ------------------------------------------------------------------------ */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeleton: 651s # * 651s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 651s # */ 651s # 651s # /** 651s # * OrgProjectSignalingIfaceSkeletonClass: 651s # * @parent_class: The parent class. 651s # * 651s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 651s # */ 651s # 651s # struct _OrgProjectSignalingIfaceSkeletonPrivate 651s # { 651s # GValue *properties; 651s # GList *changed_properties; 651s # GSource *changed_properties_idle_source; 651s # GMainContext *context; 651s # GMutex lock; 651s # }; 651s # 651s # static void 651s # _org_project_signaling_iface_skeleton_handle_method_call ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name, 651s # const gchar *method_name, 651s # GVariant *parameters, 651s # GDBusMethodInvocation *invocation, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # _ExtendedGDBusMethodInfo *info; 651s # GVariantIter iter; 651s # GVariant *child; 651s # GValue *paramv; 651s # gsize num_params; 651s # guint num_extra; 651s # gsize n; 651s # guint signal_id; 651s # GValue return_value = G_VALUE_INIT; 651s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 651s # g_assert (info != NULL); 651s # num_params = g_variant_n_children (parameters); 651s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 651s # n = 0; 651s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_set_object (¶mv[n++], skeleton); 651s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 651s # g_value_set_object (¶mv[n++], invocation); 651s # if (info->pass_fdlist) 651s # { 651s # #ifdef G_OS_UNIX 651s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 651s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 651s # #else 651s # g_assert_not_reached (); 651s # #endif 651s # } 651s # g_variant_iter_init (&iter, parameters); 651s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 651s # { 651s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 651s # if (arg_info->use_gvariant) 651s # { 651s # g_value_init (¶mv[n], G_TYPE_VARIANT); 651s # g_value_set_variant (¶mv[n], child); 651s # n++; 651s # } 651s # else 651s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 651s # g_variant_unref (child); 651s # } 651s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 651s # g_value_init (&return_value, G_TYPE_BOOLEAN); 651s # g_signal_emitv (paramv, signal_id, 0, &return_value); 651s # if (!g_value_get_boolean (&return_value)) 651s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 651s # g_value_unset (&return_value); 651s # for (n = 0; n < num_params + num_extra; n++) 651s # g_value_unset (¶mv[n]); 651s # g_free (paramv); 651s # } 651s # 651s # static GVariant * 651s # _org_project_signaling_iface_skeleton_handle_get_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # GVariant *ret; 651s # ret = NULL; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # g_value_init (&value, pspec->value_type); 651s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 651s # g_value_unset (&value); 651s # } 651s # return ret; 651s # } 651s # 651s # static gboolean 651s # _org_project_signaling_iface_skeleton_handle_set_property ( 651s # GDBusConnection *connection G_GNUC_UNUSED, 651s # const gchar *sender G_GNUC_UNUSED, 651s # const gchar *object_path G_GNUC_UNUSED, 651s # const gchar *interface_name G_GNUC_UNUSED, 651s # const gchar *property_name, 651s # GVariant *variant, 651s # GError **error, 651s # gpointer user_data) 651s # { 651s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 651s # GValue value = G_VALUE_INIT; 651s # GParamSpec *pspec; 651s # _ExtendedGDBusPropertyInfo *info; 651s # gboolean ret; 651s # ret = FALSE; 651s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 651s # g_assert (info != NULL); 651s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 651s # if (pspec == NULL) 651s # { 651s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 651s # } 651s # else 651s # { 651s # if (info->use_gvariant) 651s # g_value_set_variant (&value, variant); 651s # else 651s # g_dbus_gvariant_to_gvalue (variant, &value); 651s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 651s # g_value_unset (&value); 651s # ret = TRUE; 651s # } 651s # return ret; 651s # } 651s # 651s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 651s # { 651s # _org_project_signaling_iface_skeleton_handle_method_call, 651s # _org_project_signaling_iface_skeleton_handle_get_property, 651s # _org_project_signaling_iface_skeleton_handle_set_property, 651s # {NULL} 651s # }; 651s # 651s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *const *arg_arg_as) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 652s # arg_arg_as)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # /tmp/tmp58nqb10t/tmpducng54l.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp58nqb10t/tmpducng54l.xml', '--output', '-', '--body'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_ao", 652s # (gchar *) "ao", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalAo", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-ao" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__BOXED (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-ao: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_ao: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 652s # g_signal_new ("single-arg-signal-ao", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_STRV); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_ao: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_ao: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalAo" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_ao ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *const *arg_arg_ao) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *const *arg_arg_ao) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 652s # arg_arg_ao)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # /tmp/tmp58nqb10t/tmpajjq5mlr.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp58nqb10t/tmpajjq5mlr.xml', '--output', '-', '--body'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_aay", 652s # (gchar *) "aay", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalAay", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-aay" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__BOXED (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-aay: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_aay: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 652s # g_signal_new ("single-arg-signal-aay", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_STRV); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_aay: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_aay: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalAay" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_aay ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *const *arg_arg_aay) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 652s # OrgProjectSignalingIface *object, 652s # const gchar *const *arg_arg_aay) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 652s # arg_arg_aay)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s # /tmp/tmp58nqb10t/tmp_cgjq1nd.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp58nqb10t/tmp_cgjq1nd.xml', '--output', '-', '--body'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 652s # { 652s # { 652s # -1, 652s # (gchar *) "arg_asv", 652s # (gchar *) "a{sv}", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SingleArgSignalAsv", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 652s # NULL 652s # }, 652s # "single-arg-signal-asv" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VARIANT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::single-arg-signal-asv: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_asv: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 652s # g_signal_new ("single-arg-signal-asv", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 652s # G_TYPE_NONE, 652s # 1, G_TYPE_VARIANT); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_single_arg_signal_asv: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_arg_asv: Argument to pass with the signal. 652s # * 652s # * Emits the "SingleArgSignalAsv" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_single_arg_signal_asv ( 652s # OrgProjectSignalingIface *object, 652s # GVariant *arg_arg_asv) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 652s # OrgProjectSignalingIface *object, 652s # GVariant *arg_arg_asv) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 652s # arg_arg_asv)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 652s # tmpdir: /tmp/tmpjgntl8c3 652s # codegen: /usr/bin/gdbus-codegen 652s # /tmp/tmpjgntl8c3/tmp8vb94ncp.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjgntl8c3/tmp8vb94ncp.xml', '--output', '-', '--body'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # static void 652s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 652s # GClosure *closure, 652s # GValue *return_value G_GNUC_UNUSED, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint G_GNUC_UNUSED, 652s # void *marshal_data) 652s # { 652s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 652s # (void *data1, 652s # gboolean arg_an_b, 652s # guchar arg_an_y, 652s # gint16 arg_an_n, 652s # guint16 arg_an_q, 652s # gint arg_an_i, 652s # guint arg_an_u, 652s # gint64 arg_an_x, 652s # guint64 arg_an_t, 652s # gdouble arg_an_d, 652s # const gchar *arg_an_s, 652s # const gchar *arg_an_o, 652s # const gchar *arg_an_g, 652s # GVariant *arg_an_h, 652s # const gchar *arg_an_ay, 652s # const gchar *const *arg_an_as, 652s # const gchar *const *arg_an_ao, 652s # const gchar *const *arg_an_aay, 652s # GVariant *arg_an_asv, 652s # void *data2); 652s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 652s # GCClosure *cc = (GCClosure*) closure; 652s # void *data1, *data2; 652s # 652s # g_return_if_fail (n_param_values == 19); 652s # 652s # if (G_CCLOSURE_SWAP_DATA (closure)) 652s # { 652s # data1 = closure->data; 652s # data2 = g_value_peek_pointer (param_values + 0); 652s # } 652s # else 652s # { 652s # data1 = g_value_peek_pointer (param_values + 0); 652s # data2 = closure->data; 652s # } 652s # 652s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 652s # (marshal_data ? marshal_data : cc->callback); 652s # 652s # callback (data1, 652s # g_marshal_value_peek_boolean (param_values + 1), 652s # g_marshal_value_peek_uchar (param_values + 2), 652s # g_marshal_value_peek_int (param_values + 3), 652s # g_marshal_value_peek_uint (param_values + 4), 652s # g_marshal_value_peek_int (param_values + 5), 652s # g_marshal_value_peek_uint (param_values + 6), 652s # g_marshal_value_peek_int64 (param_values + 7), 652s # g_marshal_value_peek_uint64 (param_values + 8), 652s # g_marshal_value_peek_double (param_values + 9), 652s # g_marshal_value_peek_string (param_values + 10), 652s # g_marshal_value_peek_string (param_values + 11), 652s # g_marshal_value_peek_string (param_values + 12), 652s # g_marshal_value_peek_variant (param_values + 13), 652s # g_marshal_value_peek_string (param_values + 14), 652s # g_marshal_value_peek_boxed (param_values + 15), 652s # g_marshal_value_peek_boxed (param_values + 16), 652s # g_marshal_value_peek_boxed (param_values + 17), 652s # g_marshal_value_peek_variant (param_values + 18), 652s # data2); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.SignalingIface 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectSignalingIface 652s # * @title: OrgProjectSignalingIface 652s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 652s # }; 652s # 652s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 652s # 652s # /* ---- Introspection data for org.project.SignalingIface ---- */ 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SimpleSignal", 652s # NULL, 652s # NULL 652s # }, 652s # "simple-signal" 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_b", 652s # (gchar *) "b", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_y", 652s # (gchar *) "y", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_n", 652s # (gchar *) "n", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_q", 652s # (gchar *) "q", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_i", 652s # (gchar *) "i", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_u", 652s # (gchar *) "u", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_x", 652s # (gchar *) "x", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_t", 652s # (gchar *) "t", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_d", 652s # (gchar *) "d", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_s", 652s # (gchar *) "s", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_o", 652s # (gchar *) "o", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_g", 652s # (gchar *) "g", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_h", 652s # (gchar *) "h", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_ay", 652s # (gchar *) "ay", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_as", 652s # (gchar *) "as", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_ao", 652s # (gchar *) "ao", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_aay", 652s # (gchar *) "aay", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 652s # { 652s # { 652s # -1, 652s # (gchar *) "an_asv", 652s # (gchar *) "a{sv}", 652s # NULL 652s # }, 652s # FALSE 652s # }; 652s # 652s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 652s # { 652s # { 652s # -1, 652s # (gchar *) "SignalWithManyArgs", 652s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 652s # NULL 652s # }, 652s # "signal-with-many-args" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 652s # { 652s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 652s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.SignalingIface", 652s # NULL, 652s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-signaling-iface", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_signaling_iface_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_simple_signal ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectSignalingIface: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceIface: 652s # * @parent_iface: The parent interface. 652s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 652s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.SignalingIface. 652s # */ 652s # 652s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 652s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * OrgProjectSignalingIface::simple-signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 652s # g_signal_new ("simple-signal", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_simple_signal, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /** 652s # * OrgProjectSignalingIface::signal-with-many-args: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_b: Argument. 652s # * @arg_an_y: Argument. 652s # * @arg_an_n: Argument. 652s # * @arg_an_q: Argument. 652s # * @arg_an_i: Argument. 652s # * @arg_an_u: Argument. 652s # * @arg_an_x: Argument. 652s # * @arg_an_t: Argument. 652s # * @arg_an_d: Argument. 652s # * @arg_an_s: Argument. 652s # * @arg_an_o: Argument. 652s # * @arg_an_g: Argument. 652s # * @arg_an_h: Argument. 652s # * @arg_an_ay: Argument. 652s # * @arg_an_as: Argument. 652s # * @arg_an_ao: Argument. 652s # * @arg_an_aay: Argument. 652s # * @arg_an_asv: Argument. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 652s # g_signal_new ("signal-with-many-args", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 652s # NULL, 652s # NULL, 652s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 652s # G_TYPE_NONE, 652s # 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); 652s # 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_simple_signal: 652s # * @object: A #OrgProjectSignalingIface. 652s # * 652s # * Emits the "SimpleSignal" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_emit_signal_with_many_args: 652s # * @object: A #OrgProjectSignalingIface. 652s # * @arg_an_b: Argument to pass with the signal. 652s # * @arg_an_y: Argument to pass with the signal. 652s # * @arg_an_n: Argument to pass with the signal. 652s # * @arg_an_q: Argument to pass with the signal. 652s # * @arg_an_i: Argument to pass with the signal. 652s # * @arg_an_u: Argument to pass with the signal. 652s # * @arg_an_x: Argument to pass with the signal. 652s # * @arg_an_t: Argument to pass with the signal. 652s # * @arg_an_d: Argument to pass with the signal. 652s # * @arg_an_s: Argument to pass with the signal. 652s # * @arg_an_o: Argument to pass with the signal. 652s # * @arg_an_g: Argument to pass with the signal. 652s # * @arg_an_h: Argument to pass with the signal. 652s # * @arg_an_ay: Argument to pass with the signal. 652s # * @arg_an_as: Argument to pass with the signal. 652s # * @arg_an_ao: Argument to pass with the signal. 652s # * @arg_an_aay: Argument to pass with the signal. 652s # * @arg_an_asv: Argument to pass with the signal. 652s # * 652s # * Emits the "SignalWithManyArgs" D-Bus signal. 652s # */ 652s # void 652s # org_project_signaling_iface_emit_signal_with_many_args ( 652s # OrgProjectSignalingIface *object, 652s # gboolean arg_an_b, 652s # guchar arg_an_y, 652s # gint16 arg_an_n, 652s # guint16 arg_an_q, 652s # gint arg_an_i, 652s # guint arg_an_u, 652s # gint64 arg_an_x, 652s # guint64 arg_an_t, 652s # gdouble arg_an_d, 652s # const gchar *arg_an_s, 652s # const gchar *arg_an_o, 652s # const gchar *arg_an_g, 652s # GVariant *arg_an_h, 652s # const gchar *arg_an_ay, 652s # const gchar *const *arg_an_as, 652s # const gchar *const *arg_an_ao, 652s # const gchar *const *arg_an_aay, 652s # GVariant *arg_an_asv) 652s # { 652s # 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); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxy: 652s # * 652s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceProxy. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 652s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 652s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_signaling_iface_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_SIGNALING_IFACE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeleton: 652s # * 652s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectSignalingIfaceSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 652s # */ 652s # 652s # struct _OrgProjectSignalingIfaceSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_signaling_iface_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_signaling_iface_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_signaling_iface_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 652s # { 652s # _org_project_signaling_iface_skeleton_handle_method_call, 652s # _org_project_signaling_iface_skeleton_handle_get_property, 652s # _org_project_signaling_iface_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_signaling_iface_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_simple_signal ( 652s # OrgProjectSignalingIface *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void 652s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 652s # OrgProjectSignalingIface *object, 652s # gboolean arg_an_b, 652s # guchar arg_an_y, 652s # gint16 arg_an_n, 652s # guint16 arg_an_q, 652s # gint arg_an_i, 652s # guint arg_an_u, 652s # gint64 arg_an_x, 652s # guint64 arg_an_t, 652s # gdouble arg_an_d, 652s # const gchar *arg_an_s, 652s # const gchar *arg_an_o, 652s # const gchar *arg_an_g, 652s # GVariant *arg_an_h, 652s # const gchar *arg_an_ay, 652s # const gchar *const *arg_an_as, 652s # const gchar *const *arg_an_ao, 652s # const gchar *const *arg_an_aay, 652s # GVariant *arg_an_asv) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 652s # arg_an_b, 652s # arg_an_y, 652s # arg_an_n, 652s # arg_an_q, 652s # arg_an_i, 652s # arg_an_u, 652s # arg_an_x, 652s # arg_an_t, 652s # arg_an_d, 652s # arg_an_s, 652s # arg_an_o, 652s # arg_an_g, 652s # arg_an_h, 652s # arg_an_ay, 652s # arg_an_as, 652s # arg_an_ao, 652s # arg_an_aay, 652s # arg_an_asv)); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_signaling_iface_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 652s # { 652s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 652s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 652s # } 652s # 652s # /** 652s # * org_project_signaling_iface_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 652s # * 652s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 652s # */ 652s # OrgProjectSignalingIface * 652s # org_project_signaling_iface_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 652s # } 652s ok 25 __main__.TestCodegen.test_generate_valid_docbook 652s # tmpdir: /tmp/tmpcaz5n2hl 652s # codegen: /usr/bin/gdbus-codegen 652s # /tmp/tmpcaz5n2hl/tmp7z5cwqtm.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcaz5n2hl/tmp7z5cwqtm.xml', '--generate-docbook', 'test'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: 652s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 652s # tmpdir: /tmp/tmpelwn62b6 652s # codegen: /usr/bin/gdbus-codegen 652s # /tmp/tmpelwn62b6/tmphp4sy1hj.xml: 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpelwn62b6/tmphp4sy1hj.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 652s # tmpdir: /tmp/tmpz6n35c7t 652s # codegen: /usr/bin/gdbus-codegen 652s # /tmp/tmpz6n35c7t/tmpe9tdnpbr.xml: 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz6n35c7t/tmpe9tdnpbr.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 652s # tmpdir: /tmp/tmp85l0luuq 652s # codegen: /usr/bin/gdbus-codegen 652s # /tmp/tmp85l0luuq/tmpn_du4j77.xml: 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp85l0luuq/tmpn_du4j77.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 652s # tmpdir: /tmp/tmp1lvvcpli 652s # codegen: /usr/bin/gdbus-codegen 652s # /tmp/tmp1lvvcpli/tmp4h6oq7l2.xml: 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1lvvcpli/tmp4h6oq7l2.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 652s # tmpdir: /tmp/tmpo7rzf5bh 652s # codegen: /usr/bin/gdbus-codegen 652s # /tmp/tmpo7rzf5bh/tmpjc56rouk.xml: 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo7rzf5bh/tmpjc56rouk.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 652s # tmpdir: /tmp/tmpx93pzpl1 652s # codegen: /usr/bin/gdbus-codegen 652s # /tmp/tmpx93pzpl1/tmpqao08nuv.xml: 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx93pzpl1/tmpqao08nuv.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 652s # tmpdir: /tmp/tmpw0tved6b 652s # codegen: /usr/bin/gdbus-codegen 652s # /tmp/tmpw0tved6b/tmpnbtmubks.xml: 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw0tved6b/tmpnbtmubks.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 652s # tmpdir: /tmp/tmpd1ahfa8i 652s # codegen: /usr/bin/gdbus-codegen 652s # /tmp/tmpd1ahfa8i/tmply9whjhm.xml: 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd1ahfa8i/tmply9whjhm.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 652s # tmpdir: /tmp/tmp60d47d1q 652s # codegen: /usr/bin/gdbus-codegen 652s # /tmp/tmp60d47d1q/tmpze_ezirs.xml: 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp60d47d1q/tmpze_ezirs.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s ok 35 __main__.TestCodegen.test_help 652s # tmpdir: /tmp/tmpwyxztn7h 652s # codegen: /usr/bin/gdbus-codegen 652s # Running: ['/usr/bin/gdbus-codegen', '--help'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 652s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 652s # [--c-generate-autocleanup {none,objects,all}] 652s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 652s # [--generate-rst OUTFILES] [--pragma-once] 652s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 652s # [--glib-min-required VERSION] 652s # [--glib-max-allowed VERSION] 652s # [--symbol-decorator SYMBOL_DECORATOR] 652s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 652s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 652s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 652s # [--output FILE | --output-directory OUTDIR] 652s # FILE [FILE ...] 652s # 652s # D-Bus code and documentation generator 652s # 652s # positional arguments: 652s # FILE D-Bus introspection XML file 652s # 652s # options: 652s # -h, --help show this help message and exit 652s # --interface-prefix PREFIX 652s # String to strip from D-Bus interface names for code 652s # and docs 652s # --c-namespace NAMESPACE 652s # The namespace to use for generated C code 652s # --c-generate-object-manager 652s # Generate a GDBusObjectManagerClient subclass when 652s # generating C code 652s # --c-generate-autocleanup {none,objects,all} 652s # Generate autocleanup support 652s # --generate-docbook OUTFILES 652s # Generate Docbook in OUTFILES-org.Project.IFace.xml 652s # --generate-md OUTFILES 652s # Generate Markdown in OUTFILES-org.Project.IFace.md 652s # --generate-rst OUTFILES 652s # Generate reStructuredText in OUTFILES- 652s # org.Project.IFace.rst 652s # --pragma-once Use "pragma once" as the inclusion guard 652s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 652s # Add annotation (may be used several times) 652s # --glib-min-required VERSION 652s # Minimum version of GLib to be supported by the 652s # outputted code (default: 2.30) 652s # --glib-max-allowed VERSION 652s # Maximum version of GLib to be used by the outputted 652s # code (default: current GLib version) 652s # --symbol-decorator SYMBOL_DECORATOR 652s # Macro used to decorate a symbol in the outputted 652s # header, possibly to export symbols 652s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 652s # Additional header required for decorator specified by 652s # --symbol-decorator 652s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 652s # Additional define required for decorator specified by 652s # --symbol-decorator 652s # --generate-c-code OUTFILES 652s # Generate C code in OUTFILES.[ch] 652s # --header Generate C headers 652s # --body Generate C code 652s # --interface-info-header 652s # Generate GDBusInterfaceInfo C header 652s # --interface-info-body 652s # Generate GDBusInterfaceInfo C code 652s # --output FILE Write output into the specified file 652s # --output-directory OUTDIR 652s # Location to output generated files 652s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 652s # tmpdir: /tmp/tmpkt8gg4zj 652s # codegen: /usr/bin/gdbus-codegen 652s # /tmp/tmpkt8gg4zj/tmphrs4rj02.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8gg4zj/tmphrs4rj02.xml', '--generate-rst', 'test'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: 652s # /tmp/tmpkt8gg4zj/tmpui6xjqh9.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8gg4zj/tmpui6xjqh9.xml', '--generate-md', 'test'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: 652s # /tmp/tmpkt8gg4zj/tmpz3oiuffu.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkt8gg4zj/tmpz3oiuffu.xml', '--generate-docbook', 'test'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: 652s ok 37 __main__.TestCodegen.test_no_args 652s # tmpdir: /tmp/tmpe7tnadzo 652s # codegen: /usr/bin/gdbus-codegen 652s # Running: ['/usr/bin/gdbus-codegen'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s ok 38 __main__.TestCodegen.test_reproducible 652s # tmpdir: /tmp/tmpyaw1vbzp 652s # codegen: /usr/bin/gdbus-codegen 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyaw1vbzp/tmpxnokh9e31.xml', '/tmp/tmpyaw1vbzp/tmprkk4rv622.xml', '--output', '-', '--header'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # /* Declarations for org.project.Bar.Frobnicator */ 652s # 652s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 652s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 652s # 652s # struct _OrgProjectBarFrobnicator; 652s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 652s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 652s # 652s # struct _OrgProjectBarFrobnicatorIface 652s # { 652s # GTypeInterface parent_iface; 652s # 652s # gboolean (*handle_random_method) ( 652s # OrgProjectBarFrobnicator *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # }; 652s # 652s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 652s # 652s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 652s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 652s # 652s # 652s # /* D-Bus method call completion functions: */ 652s # void org_project_bar_frobnicator_complete_random_method ( 652s # OrgProjectBarFrobnicator *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # 652s # 652s # /* D-Bus method calls: */ 652s # void org_project_bar_frobnicator_call_random_method ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 652s # 652s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 652s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 652s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 652s # 652s # struct _OrgProjectBarFrobnicatorProxy 652s # { 652s # /*< private >*/ 652s # GDBusProxy parent_instance; 652s # OrgProjectBarFrobnicatorProxyPrivate *priv; 652s # }; 652s # 652s # struct _OrgProjectBarFrobnicatorProxyClass 652s # { 652s # GDBusProxyClass parent_class; 652s # }; 652s # 652s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 652s # #endif 652s # 652s # void org_project_bar_frobnicator_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void org_project_bar_frobnicator_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 652s # 652s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 652s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 652s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 652s # 652s # struct _OrgProjectBarFrobnicatorSkeleton 652s # { 652s # /*< private >*/ 652s # GDBusInterfaceSkeleton parent_instance; 652s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 652s # }; 652s # 652s # struct _OrgProjectBarFrobnicatorSkeletonClass 652s # { 652s # GDBusInterfaceSkeletonClass parent_class; 652s # }; 652s # 652s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 652s # #endif 652s # 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # /* Declarations for com.acme.Coyote */ 652s # 652s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 652s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 652s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 652s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 652s # 652s # struct _ComAcmeCoyote; 652s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 652s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 652s # 652s # struct _ComAcmeCoyoteIface 652s # { 652s # GTypeInterface parent_iface; 652s # 652s # 652s # 652s # gboolean (*handle_attack) ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # gboolean (*handle_run) ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # gboolean (*handle_sleep) ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # const gchar * (*get_mood) (ComAcmeCoyote *object); 652s # 652s # void (*surprised) ( 652s # ComAcmeCoyote *object); 652s # 652s # }; 652s # 652s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 652s # 652s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 652s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 652s # 652s # 652s # /* D-Bus method call completion functions: */ 652s # void com_acme_coyote_complete_run ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # void com_acme_coyote_complete_sleep ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # void com_acme_coyote_complete_attack ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # 652s # 652s # /* D-Bus signal emissions functions: */ 652s # void com_acme_coyote_emit_surprised ( 652s # ComAcmeCoyote *object); 652s # 652s # 652s # 652s # /* D-Bus method calls: */ 652s # void com_acme_coyote_call_run ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean com_acme_coyote_call_run_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean com_acme_coyote_call_run_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void com_acme_coyote_call_sleep ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean com_acme_coyote_call_sleep_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean com_acme_coyote_call_sleep_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void com_acme_coyote_call_attack ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean com_acme_coyote_call_attack_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean com_acme_coyote_call_attack_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # 652s # /* D-Bus property accessors: */ 652s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 652s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 652s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 652s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 652s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 652s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 652s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 652s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 652s # 652s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 652s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 652s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 652s # 652s # struct _ComAcmeCoyoteProxy 652s # { 652s # /*< private >*/ 652s # GDBusProxy parent_instance; 652s # ComAcmeCoyoteProxyPrivate *priv; 652s # }; 652s # 652s # struct _ComAcmeCoyoteProxyClass 652s # { 652s # GDBusProxyClass parent_class; 652s # }; 652s # 652s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 652s # #endif 652s # 652s # void com_acme_coyote_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void com_acme_coyote_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 652s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 652s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 652s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 652s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 652s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 652s # 652s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 652s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 652s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 652s # 652s # struct _ComAcmeCoyoteSkeleton 652s # { 652s # /*< private >*/ 652s # GDBusInterfaceSkeleton parent_instance; 652s # ComAcmeCoyoteSkeletonPrivate *priv; 652s # }; 652s # 652s # struct _ComAcmeCoyoteSkeletonClass 652s # { 652s # GDBusInterfaceSkeletonClass parent_class; 652s # }; 652s # 652s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 652s # #endif 652s # 652s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyaw1vbzp/tmprkk4rv622.xml', '/tmp/tmpyaw1vbzp/tmpxnokh9e31.xml', '--output', '-', '--header'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # /* Declarations for org.project.Bar.Frobnicator */ 652s # 652s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 652s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 652s # 652s # struct _OrgProjectBarFrobnicator; 652s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 652s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 652s # 652s # struct _OrgProjectBarFrobnicatorIface 652s # { 652s # GTypeInterface parent_iface; 652s # 652s # gboolean (*handle_random_method) ( 652s # OrgProjectBarFrobnicator *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # }; 652s # 652s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 652s # 652s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 652s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 652s # 652s # 652s # /* D-Bus method call completion functions: */ 652s # void org_project_bar_frobnicator_complete_random_method ( 652s # OrgProjectBarFrobnicator *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # 652s # 652s # /* D-Bus method calls: */ 652s # void org_project_bar_frobnicator_call_random_method ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 652s # 652s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 652s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 652s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 652s # 652s # struct _OrgProjectBarFrobnicatorProxy 652s # { 652s # /*< private >*/ 652s # GDBusProxy parent_instance; 652s # OrgProjectBarFrobnicatorProxyPrivate *priv; 652s # }; 652s # 652s # struct _OrgProjectBarFrobnicatorProxyClass 652s # { 652s # GDBusProxyClass parent_class; 652s # }; 652s # 652s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 652s # #endif 652s # 652s # void org_project_bar_frobnicator_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void org_project_bar_frobnicator_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 652s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 652s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 652s # 652s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 652s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 652s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 652s # 652s # struct _OrgProjectBarFrobnicatorSkeleton 652s # { 652s # /*< private >*/ 652s # GDBusInterfaceSkeleton parent_instance; 652s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 652s # }; 652s # 652s # struct _OrgProjectBarFrobnicatorSkeletonClass 652s # { 652s # GDBusInterfaceSkeletonClass parent_class; 652s # }; 652s # 652s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 652s # #endif 652s # 652s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # /* Declarations for com.acme.Coyote */ 652s # 652s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 652s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 652s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 652s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 652s # 652s # struct _ComAcmeCoyote; 652s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 652s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 652s # 652s # struct _ComAcmeCoyoteIface 652s # { 652s # GTypeInterface parent_iface; 652s # 652s # 652s # 652s # gboolean (*handle_attack) ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # gboolean (*handle_run) ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # gboolean (*handle_sleep) ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # const gchar * (*get_mood) (ComAcmeCoyote *object); 652s # 652s # void (*surprised) ( 652s # ComAcmeCoyote *object); 652s # 652s # }; 652s # 652s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 652s # 652s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 652s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 652s # 652s # 652s # /* D-Bus method call completion functions: */ 652s # void com_acme_coyote_complete_run ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # void com_acme_coyote_complete_sleep ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # void com_acme_coyote_complete_attack ( 652s # ComAcmeCoyote *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # 652s # 652s # /* D-Bus signal emissions functions: */ 652s # void com_acme_coyote_emit_surprised ( 652s # ComAcmeCoyote *object); 652s # 652s # 652s # 652s # /* D-Bus method calls: */ 652s # void com_acme_coyote_call_run ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean com_acme_coyote_call_run_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean com_acme_coyote_call_run_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void com_acme_coyote_call_sleep ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean com_acme_coyote_call_sleep_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean com_acme_coyote_call_sleep_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void com_acme_coyote_call_attack ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean com_acme_coyote_call_attack_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean com_acme_coyote_call_attack_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # 652s # /* D-Bus property accessors: */ 652s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 652s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 652s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 652s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 652s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 652s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 652s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 652s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 652s # 652s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 652s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 652s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 652s # 652s # struct _ComAcmeCoyoteProxy 652s # { 652s # /*< private >*/ 652s # GDBusProxy parent_instance; 652s # ComAcmeCoyoteProxyPrivate *priv; 652s # }; 652s # 652s # struct _ComAcmeCoyoteProxyClass 652s # { 652s # GDBusProxyClass parent_class; 652s # }; 652s # 652s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 652s # #endif 652s # 652s # void com_acme_coyote_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void com_acme_coyote_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 652s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 652s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 652s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 652s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 652s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 652s # 652s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 652s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 652s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 652s # 652s # struct _ComAcmeCoyoteSkeleton 652s # { 652s # /*< private >*/ 652s # GDBusInterfaceSkeleton parent_instance; 652s # ComAcmeCoyoteSkeletonPrivate *priv; 652s # }; 652s # 652s # struct _ComAcmeCoyoteSkeletonClass 652s # { 652s # GDBusInterfaceSkeletonClass parent_class; 652s # }; 652s # 652s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 652s # #endif 652s # 652s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyaw1vbzp/tmpxnokh9e31.xml', '/tmp/tmpyaw1vbzp/tmprkk4rv622.xml', '--output', '-', '--body'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # static void 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint G_GNUC_UNUSED, 652s # void *marshal_data) 652s # { 652s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 652s # (void *data1, 652s # GDBusMethodInvocation *arg_method_invocation, 652s # void *data2); 652s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 652s # GCClosure *cc = (GCClosure*) closure; 652s # void *data1, *data2; 652s # gboolean v_return; 652s # 652s # g_return_if_fail (return_value != NULL); 652s # g_return_if_fail (n_param_values == 2); 652s # 652s # if (G_CCLOSURE_SWAP_DATA (closure)) 652s # { 652s # data1 = closure->data; 652s # data2 = g_value_peek_pointer (param_values + 0); 652s # } 652s # else 652s # { 652s # data1 = g_value_peek_pointer (param_values + 0); 652s # data2 = closure->data; 652s # } 652s # 652s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 652s # (marshal_data ? marshal_data : cc->callback); 652s # 652s # v_return = 652s # callback (data1, 652s # g_marshal_value_peek_object (param_values + 1), 652s # data2); 652s # 652s # g_value_set_boolean (return_value, v_return); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.Bar.Frobnicator 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectBarFrobnicator 652s # * @title: OrgProjectBarFrobnicator 652s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 652s # */ 652s # 652s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 652s # 652s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 652s # { 652s # { 652s # -1, 652s # (gchar *) "RandomMethod", 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "handle-random-method", 652s # FALSE 652s # }; 652s # 652s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 652s # { 652s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.Bar.Frobnicator", 652s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-bar-frobnicator", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_bar_frobnicator_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_bar_frobnicator_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_bar_frobnicator_method_marshal_random_method ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectBarFrobnicator: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 652s # */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorIface: 652s # * @parent_iface: The parent interface. 652s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 652s # */ 652s # 652s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 652s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 652s # { 652s # /* GObject signals for incoming D-Bus method calls: */ 652s # /** 652s # * OrgProjectBarFrobnicator::handle-random-method: 652s # * @object: A #OrgProjectBarFrobnicator. 652s # * @invocation: A #GDBusMethodInvocation. 652s # * 652s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # g_signal_new ("handle-random-method", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 652s # g_signal_accumulator_true_handled, 652s # NULL, 652s # org_project_bar_frobnicator_method_marshal_random_method, 652s # G_TYPE_BOOLEAN, 652s # 1, 652s # G_TYPE_DBUS_METHOD_INVOCATION); 652s # 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_call_random_method: 652s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 652s # * 652s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 652s # */ 652s # void 652s # org_project_bar_frobnicator_call_random_method ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 652s # "RandomMethod", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # callback, 652s # user_data); 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_call_random_method_finish: 652s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # org_project_bar_frobnicator_call_random_method_finish ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_call_random_method_sync: 652s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # org_project_bar_frobnicator_call_random_method_sync ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 652s # "RandomMethod", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_complete_random_method: 652s # * @object: A #OrgProjectBarFrobnicator. 652s # * @invocation: (transfer full): A #GDBusMethodInvocation. 652s # * 652s # * 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. 652s # * 652s # * This method will free @invocation, you cannot use it afterwards. 652s # */ 652s # void 652s # org_project_bar_frobnicator_complete_random_method ( 652s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 652s # GDBusMethodInvocation *invocation) 652s # { 652s # g_dbus_method_invocation_return_value (invocation, 652s # g_variant_new ("()")); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorProxy: 652s # * 652s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectBarFrobnicatorProxy. 652s # */ 652s # 652s # struct _OrgProjectBarFrobnicatorProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 652s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 652s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_bar_frobnicator_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_bar_frobnicator_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorSkeleton: 652s # * 652s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 652s # */ 652s # 652s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 652s # { 652s # _org_project_bar_frobnicator_skeleton_handle_method_call, 652s # _org_project_bar_frobnicator_skeleton_handle_get_property, 652s # _org_project_bar_frobnicator_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_bar_frobnicator_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface com.acme.Coyote 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:ComAcmeCoyote 652s # * @title: ComAcmeCoyote 652s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 652s # * 652s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _COM_ACME_COYOTE_SURPRISED, 652s # }; 652s # 652s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 652s # 652s # /* ---- Introspection data for com.acme.Coyote ---- */ 652s # 652s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Run", 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "handle-run", 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Sleep", 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "handle-sleep", 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Attack", 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "handle-attack", 652s # FALSE 652s # }; 652s # 652s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 652s # { 652s # &_com_acme_coyote_method_info_run.parent_struct, 652s # &_com_acme_coyote_method_info_sleep.parent_struct, 652s # &_com_acme_coyote_method_info_attack.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Surprised", 652s # NULL, 652s # NULL 652s # }, 652s # "surprised" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 652s # { 652s # &_com_acme_coyote_signal_info_surprised.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Mood", 652s # (gchar *) "s", 652s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 652s # NULL 652s # }, 652s # "mood", 652s # FALSE, 652s # TRUE 652s # }; 652s # 652s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 652s # { 652s # &_com_acme_coyote_property_info_mood.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "com.acme.Coyote", 652s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 652s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 652s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 652s # NULL 652s # }, 652s # "com-acme-coyote", 652s # }; 652s # 652s # 652s # /** 652s # * com_acme_coyote_interface_info: 652s # * 652s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # com_acme_coyote_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 652s # { 652s # g_object_class_override_property (klass, property_id_begin++, "mood"); 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # com_acme_coyote_signal_marshal_surprised ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # com_acme_coyote_method_marshal_run ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # com_acme_coyote_method_marshal_sleep ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # com_acme_coyote_method_marshal_attack ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * ComAcmeCoyote: 652s # * 652s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 652s # */ 652s # 652s # /** 652s # * ComAcmeCoyoteIface: 652s # * @parent_iface: The parent interface. 652s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 652s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 652s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 652s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 652s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 652s # * 652s # * Virtual table for the D-Bus interface com.acme.Coyote. 652s # */ 652s # 652s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 652s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 652s # 652s # static void 652s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 652s # { 652s # /* GObject signals for incoming D-Bus method calls: */ 652s # /** 652s # * ComAcmeCoyote::handle-run: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: A #GDBusMethodInvocation. 652s # * 652s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # g_signal_new ("handle-run", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 652s # g_signal_accumulator_true_handled, 652s # NULL, 652s # com_acme_coyote_method_marshal_run, 652s # G_TYPE_BOOLEAN, 652s # 1, 652s # G_TYPE_DBUS_METHOD_INVOCATION); 652s # 652s # /** 652s # * ComAcmeCoyote::handle-sleep: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: A #GDBusMethodInvocation. 652s # * 652s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # g_signal_new ("handle-sleep", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 652s # g_signal_accumulator_true_handled, 652s # NULL, 652s # com_acme_coyote_method_marshal_sleep, 652s # G_TYPE_BOOLEAN, 652s # 1, 652s # G_TYPE_DBUS_METHOD_INVOCATION); 652s # 652s # /** 652s # * ComAcmeCoyote::handle-attack: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: A #GDBusMethodInvocation. 652s # * 652s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # g_signal_new ("handle-attack", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 652s # g_signal_accumulator_true_handled, 652s # NULL, 652s # com_acme_coyote_method_marshal_attack, 652s # G_TYPE_BOOLEAN, 652s # 1, 652s # G_TYPE_DBUS_METHOD_INVOCATION); 652s # 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * ComAcmeCoyote::surprised: 652s # * @object: A #ComAcmeCoyote. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 652s # g_signal_new ("surprised", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 652s # NULL, 652s # NULL, 652s # com_acme_coyote_signal_marshal_surprised, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /* GObject properties for D-Bus properties: */ 652s # /** 652s # * ComAcmeCoyote:mood: 652s # * 652s # * Represents the D-Bus property "Mood". 652s # * 652s # * 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. 652s # */ 652s # g_object_interface_install_property (iface, 652s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_get_mood: (skip) 652s # * @object: A #ComAcmeCoyote. 652s # * 652s # * Gets the value of the "Mood" D-Bus property. 652s # * 652s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # const gchar * 652s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 652s # { 652s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 652s # 652s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_dup_mood: (skip) 652s # * @object: A #ComAcmeCoyote. 652s # * 652s # * Gets a copy of the "Mood" D-Bus property. 652s # * 652s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 652s # * 652s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 652s # */ 652s # gchar * 652s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 652s # { 652s # gchar *value; 652s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 652s # return value; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_set_mood: (skip) 652s # * @object: A #ComAcmeCoyote. 652s # * @value: The value to set. 652s # * 652s # * Sets the "Mood" D-Bus property to @value. 652s # * 652s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 652s # */ 652s # void 652s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 652s # { 652s # g_object_set (G_OBJECT (object), "mood", value, NULL); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_emit_surprised: 652s # * @object: A #ComAcmeCoyote. 652s # * 652s # * Emits the "Surprised" D-Bus signal. 652s # */ 652s # void 652s # com_acme_coyote_emit_surprised ( 652s # ComAcmeCoyote *object) 652s # { 652s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_run: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously invokes the Run() D-Bus method on @proxy. 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 652s # */ 652s # void 652s # com_acme_coyote_call_run ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 652s # "Run", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # callback, 652s # user_data); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_run_finish: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Finishes an operation started with com_acme_coyote_call_run(). 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_run_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_run_sync: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_run_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 652s # "Run", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_sleep: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 652s # */ 652s # void 652s # com_acme_coyote_call_sleep ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 652s # "Sleep", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # callback, 652s # user_data); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_sleep_finish: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Finishes an operation started with com_acme_coyote_call_sleep(). 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_sleep_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_sleep_sync: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_sleep_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 652s # "Sleep", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_attack: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 652s # */ 652s # void 652s # com_acme_coyote_call_attack ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 652s # "Attack", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # callback, 652s # user_data); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_attack_finish: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Finishes an operation started with com_acme_coyote_call_attack(). 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_attack_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_attack_sync: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_attack_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 652s # "Attack", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_complete_run: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: (transfer full): A #GDBusMethodInvocation. 652s # * 652s # * 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. 652s # * 652s # * This method will free @invocation, you cannot use it afterwards. 652s # */ 652s # void 652s # com_acme_coyote_complete_run ( 652s # ComAcmeCoyote *object G_GNUC_UNUSED, 652s # GDBusMethodInvocation *invocation) 652s # { 652s # g_dbus_method_invocation_return_value (invocation, 652s # g_variant_new ("()")); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_complete_sleep: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: (transfer full): A #GDBusMethodInvocation. 652s # * 652s # * 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. 652s # * 652s # * This method will free @invocation, you cannot use it afterwards. 652s # */ 652s # void 652s # com_acme_coyote_complete_sleep ( 652s # ComAcmeCoyote *object G_GNUC_UNUSED, 652s # GDBusMethodInvocation *invocation) 652s # { 652s # g_dbus_method_invocation_return_value (invocation, 652s # g_variant_new ("()")); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_complete_attack: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: (transfer full): A #GDBusMethodInvocation. 652s # * 652s # * 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. 652s # * 652s # * This method will free @invocation, you cannot use it afterwards. 652s # */ 652s # void 652s # com_acme_coyote_complete_attack ( 652s # ComAcmeCoyote *object G_GNUC_UNUSED, 652s # GDBusMethodInvocation *invocation) 652s # { 652s # g_dbus_method_invocation_return_value (invocation, 652s # g_variant_new ("()")); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * ComAcmeCoyoteProxy: 652s # * 652s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * ComAcmeCoyoteProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #ComAcmeCoyoteProxy. 652s # */ 652s # 652s # struct _ComAcmeCoyoteProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # com_acme_coyote_proxy_finalize (GObject *object) 652s # { 652s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_get_property (GObject *object, 652s # guint prop_id, 652s # GValue *value, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # GVariant *variant; 652s # g_assert (prop_id != 0 && prop_id - 1 < 1); 652s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 652s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 652s # if (info->use_gvariant) 652s # { 652s # g_value_set_variant (value, variant); 652s # } 652s # else 652s # { 652s # if (variant != NULL) 652s # g_dbus_gvariant_to_gvalue (variant, value); 652s # } 652s # if (variant != NULL) 652s # g_variant_unref (variant); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 652s # GAsyncResult *res, 652s # gpointer user_data) 652s # { 652s # const _ExtendedGDBusPropertyInfo *info = user_data; 652s # GError *error; 652s # GVariant *_ret; 652s # error = NULL; 652s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 652s # if (!_ret) 652s # { 652s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 652s # info->parent_struct.name, 652s # error->message, g_quark_to_string (error->domain), error->code); 652s # g_error_free (error); 652s # } 652s # else 652s # { 652s # g_variant_unref (_ret); 652s # } 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_set_property (GObject *object, 652s # guint prop_id, 652s # const GValue *value, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # GVariant *variant; 652s # g_assert (prop_id != 0 && prop_id - 1 < 1); 652s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 652s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_dbus_proxy_call (G_DBUS_PROXY (object), 652s # "org.freedesktop.DBus.Properties.Set", 652s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 652s # g_variant_unref (variant); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static const gchar * 652s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 652s # { 652s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 652s # GVariant *variant; 652s # const gchar *value = NULL; 652s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 652s # if (variant != NULL) 652s # { 652s # value = g_variant_get_string (variant, NULL); 652s # g_variant_unref (variant); 652s # } 652s # return value; 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 652s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 652s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 652s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 652s # 652s # com_acme_coyote_override_properties (gobject_class, 1); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 652s # { 652s # iface->get_mood = com_acme_coyote_proxy_get_mood; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # com_acme_coyote_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with com_acme_coyote_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return COM_ACME_COYOTE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return COM_ACME_COYOTE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # com_acme_coyote_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return COM_ACME_COYOTE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return COM_ACME_COYOTE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * ComAcmeCoyoteSkeleton: 652s # * 652s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * ComAcmeCoyoteSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #ComAcmeCoyoteSkeleton. 652s # */ 652s # 652s # struct _ComAcmeCoyoteSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _com_acme_coyote_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _com_acme_coyote_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _com_acme_coyote_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 652s # { 652s # _com_acme_coyote_skeleton_handle_method_call, 652s # _com_acme_coyote_skeleton_handle_get_property, 652s # _com_acme_coyote_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return com_acme_coyote_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 652s # 652s # static void 652s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 652s # gboolean emit_changed = FALSE; 652s # 652s # g_mutex_lock (&skeleton->priv->lock); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # { 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # skeleton->priv->changed_properties_idle_source = NULL; 652s # emit_changed = TRUE; 652s # } 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # 652s # if (emit_changed) 652s # _com_acme_coyote_emit_changed (skeleton); 652s # } 652s # 652s # static void 652s # _com_acme_coyote_on_signal_surprised ( 652s # ComAcmeCoyote *object) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # com_acme_coyote_skeleton_finalize (GObject *object) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # guint n; 652s # for (n = 0; n < 1; n++) 652s # g_value_unset (&skeleton->priv->properties[n]); 652s # g_free (skeleton->priv->properties); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_get_property (GObject *object, 652s # guint prop_id, 652s # GValue *value, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # g_assert (prop_id != 0 && prop_id - 1 < 1); 652s # g_mutex_lock (&skeleton->priv->lock); 652s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # } 652s # 652s # static gboolean 652s # _com_acme_coyote_emit_changed (gpointer user_data) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 652s # GList *l; 652s # GVariantBuilder builder; 652s # GVariantBuilder invalidated_builder; 652s # guint num_changes; 652s # 652s # g_mutex_lock (&skeleton->priv->lock); 652s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 652s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 652s # { 652s # ChangedProperty *cp = l->data; 652s # GVariant *variant; 652s # const GValue *cur_value; 652s # 652s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 652s # if (!_g_value_equal (cur_value, &cp->orig_value)) 652s # { 652s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 652s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 652s # g_variant_unref (variant); 652s # num_changes++; 652s # } 652s # } 652s # if (num_changes > 0) 652s # { 652s # GList *connections, *ll; 652s # GVariant *signal_variant; 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 652s # &builder, &invalidated_builder)); 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # for (ll = connections; ll != NULL; ll = ll->next) 652s # { 652s # GDBusConnection *connection = ll->data; 652s # 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 652s # "org.freedesktop.DBus.Properties", 652s # "PropertiesChanged", 652s # signal_variant, 652s # NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # else 652s # { 652s # g_variant_builder_clear (&builder); 652s # g_variant_builder_clear (&invalidated_builder); 652s # } 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # skeleton->priv->changed_properties = NULL; 652s # skeleton->priv->changed_properties_idle_source = NULL; 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # return FALSE; 652s # } 652s # 652s # static void 652s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 652s # { 652s # ChangedProperty *cp; 652s # GList *l; 652s # cp = NULL; 652s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 652s # { 652s # ChangedProperty *i_cp = l->data; 652s # if (i_cp->info == info) 652s # { 652s # cp = i_cp; 652s # break; 652s # } 652s # } 652s # if (cp == NULL) 652s # { 652s # cp = g_new0 (ChangedProperty, 1); 652s # cp->prop_id = prop_id; 652s # cp->info = info; 652s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 652s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 652s # g_value_copy (orig_value, &cp->orig_value); 652s # } 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_notify (GObject *object, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # g_mutex_lock (&skeleton->priv->lock); 652s # if (skeleton->priv->changed_properties != NULL && 652s # skeleton->priv->changed_properties_idle_source == NULL) 652s # { 652s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 652s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 652s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 652s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 652s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 652s # g_source_unref (skeleton->priv->changed_properties_idle_source); 652s # } 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_set_property (GObject *object, 652s # guint prop_id, 652s # const GValue *value, 652s # GParamSpec *pspec) 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # g_assert (prop_id != 0 && prop_id - 1 < 1); 652s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 652s # g_mutex_lock (&skeleton->priv->lock); 652s # g_object_freeze_notify (object); 652s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 652s # { 652s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 652s # info->emits_changed_signal) 652s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 652s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 652s # g_object_notify_by_pspec (object, pspec); 652s # } 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # g_object_thaw_notify (object); 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # skeleton->priv->properties = g_new0 (GValue, 1); 652s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 652s # } 652s # 652s # static const gchar * 652s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # const gchar *value; 652s # g_mutex_lock (&skeleton->priv->lock); 652s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # return value; 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 652s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 652s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 652s # gobject_class->notify = com_acme_coyote_skeleton_notify; 652s # 652s # 652s # com_acme_coyote_override_properties (gobject_class, 1); 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 652s # { 652s # iface->surprised = _com_acme_coyote_on_signal_surprised; 652s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_skeleton_new (void) 652s # { 652s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 652s # } 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyaw1vbzp/tmprkk4rv622.xml', '/tmp/tmpyaw1vbzp/tmpxnokh9e31.xml', '--output', '-', '--body'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifdef HAVE_CONFIG_H 652s # # include "config.h" 652s # #endif 652s # 652s # #include 652s # #ifdef G_OS_UNIX 652s # # include 652s # #endif 652s # 652s # #ifdef G_ENABLE_DEBUG 652s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 652s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 652s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 652s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 652s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 652s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 652s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 652s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 652s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 652s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 652s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 652s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 652s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 652s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 652s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 652s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 652s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 652s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 652s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 652s # #else /* !G_ENABLE_DEBUG */ 652s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 652s # * Do not access GValues directly in your code. Instead, use the 652s # * g_value_get_*() functions 652s # */ 652s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 652s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 652s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 652s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 652s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 652s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 652s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 652s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 652s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 652s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 652s # #endif /* !G_ENABLE_DEBUG */ 652s # 652s # typedef struct 652s # { 652s # GDBusArgInfo parent_struct; 652s # gboolean use_gvariant; 652s # } _ExtendedGDBusArgInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusMethodInfo parent_struct; 652s # const gchar *signal_name; 652s # gboolean pass_fdlist; 652s # } _ExtendedGDBusMethodInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusSignalInfo parent_struct; 652s # const gchar *signal_name; 652s # } _ExtendedGDBusSignalInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusPropertyInfo parent_struct; 652s # const gchar *hyphen_name; 652s # guint use_gvariant : 1; 652s # guint emits_changed_signal : 1; 652s # } _ExtendedGDBusPropertyInfo; 652s # 652s # typedef struct 652s # { 652s # GDBusInterfaceInfo parent_struct; 652s # const gchar *hyphen_name; 652s # } _ExtendedGDBusInterfaceInfo; 652s # 652s # typedef struct 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # guint prop_id; 652s # GValue orig_value; /* the value before the change */ 652s # } ChangedProperty; 652s # 652s # static void 652s # _changed_property_free (ChangedProperty *data) 652s # { 652s # g_value_unset (&data->orig_value); 652s # g_free (data); 652s # } 652s # 652s # static gboolean 652s # _g_strv_equal0 (gchar **a, gchar **b) 652s # { 652s # gboolean ret = FALSE; 652s # guint n; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # if (g_strv_length (a) != g_strv_length (b)) 652s # goto out; 652s # for (n = 0; a[n] != NULL; n++) 652s # if (g_strcmp0 (a[n], b[n]) != 0) 652s # goto out; 652s # ret = TRUE; 652s # out: 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _g_variant_equal0 (GVariant *a, GVariant *b) 652s # { 652s # gboolean ret = FALSE; 652s # if (a == NULL && b == NULL) 652s # { 652s # ret = TRUE; 652s # goto out; 652s # } 652s # if (a == NULL || b == NULL) 652s # goto out; 652s # ret = g_variant_equal (a, b); 652s # out: 652s # return ret; 652s # } 652s # 652s # G_GNUC_UNUSED static gboolean 652s # _g_value_equal (const GValue *a, const GValue *b) 652s # { 652s # gboolean ret = FALSE; 652s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 652s # switch (G_VALUE_TYPE (a)) 652s # { 652s # case G_TYPE_BOOLEAN: 652s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 652s # break; 652s # case G_TYPE_UCHAR: 652s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 652s # break; 652s # case G_TYPE_INT: 652s # ret = (g_value_get_int (a) == g_value_get_int (b)); 652s # break; 652s # case G_TYPE_UINT: 652s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 652s # break; 652s # case G_TYPE_INT64: 652s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 652s # break; 652s # case G_TYPE_UINT64: 652s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 652s # break; 652s # case G_TYPE_DOUBLE: 652s # { 652s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 652s # gdouble da = g_value_get_double (a); 652s # gdouble db = g_value_get_double (b); 652s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 652s # } 652s # break; 652s # case G_TYPE_STRING: 652s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 652s # break; 652s # case G_TYPE_VARIANT: 652s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 652s # break; 652s # default: 652s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 652s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 652s # else 652s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 652s # break; 652s # } 652s # return ret; 652s # } 652s # 652s # static void 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint G_GNUC_UNUSED, 652s # void *marshal_data) 652s # { 652s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 652s # (void *data1, 652s # GDBusMethodInvocation *arg_method_invocation, 652s # void *data2); 652s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 652s # GCClosure *cc = (GCClosure*) closure; 652s # void *data1, *data2; 652s # gboolean v_return; 652s # 652s # g_return_if_fail (return_value != NULL); 652s # g_return_if_fail (n_param_values == 2); 652s # 652s # if (G_CCLOSURE_SWAP_DATA (closure)) 652s # { 652s # data1 = closure->data; 652s # data2 = g_value_peek_pointer (param_values + 0); 652s # } 652s # else 652s # { 652s # data1 = g_value_peek_pointer (param_values + 0); 652s # data2 = closure->data; 652s # } 652s # 652s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 652s # (marshal_data ? marshal_data : cc->callback); 652s # 652s # v_return = 652s # callback (data1, 652s # g_marshal_value_peek_object (param_values + 1), 652s # data2); 652s # 652s # g_value_set_boolean (return_value, v_return); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface org.project.Bar.Frobnicator 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:OrgProjectBarFrobnicator 652s # * @title: OrgProjectBarFrobnicator 652s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 652s # * 652s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 652s # */ 652s # 652s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 652s # 652s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 652s # { 652s # { 652s # -1, 652s # (gchar *) "RandomMethod", 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "handle-random-method", 652s # FALSE 652s # }; 652s # 652s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 652s # { 652s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "org.project.Bar.Frobnicator", 652s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "org-project-bar-frobnicator", 652s # }; 652s # 652s # 652s # /** 652s # * org_project_bar_frobnicator_interface_info: 652s # * 652s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # org_project_bar_frobnicator_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 652s # { 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # org_project_bar_frobnicator_method_marshal_random_method ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * OrgProjectBarFrobnicator: 652s # * 652s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 652s # */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorIface: 652s # * @parent_iface: The parent interface. 652s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 652s # * 652s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 652s # */ 652s # 652s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 652s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 652s # 652s # static void 652s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 652s # { 652s # /* GObject signals for incoming D-Bus method calls: */ 652s # /** 652s # * OrgProjectBarFrobnicator::handle-random-method: 652s # * @object: A #OrgProjectBarFrobnicator. 652s # * @invocation: A #GDBusMethodInvocation. 652s # * 652s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # g_signal_new ("handle-random-method", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 652s # g_signal_accumulator_true_handled, 652s # NULL, 652s # org_project_bar_frobnicator_method_marshal_random_method, 652s # G_TYPE_BOOLEAN, 652s # 1, 652s # G_TYPE_DBUS_METHOD_INVOCATION); 652s # 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_call_random_method: 652s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 652s # * 652s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 652s # */ 652s # void 652s # org_project_bar_frobnicator_call_random_method ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 652s # "RandomMethod", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # callback, 652s # user_data); 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_call_random_method_finish: 652s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # org_project_bar_frobnicator_call_random_method_finish ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_call_random_method_sync: 652s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # org_project_bar_frobnicator_call_random_method_sync ( 652s # OrgProjectBarFrobnicator *proxy, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 652s # "RandomMethod", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_complete_random_method: 652s # * @object: A #OrgProjectBarFrobnicator. 652s # * @invocation: (transfer full): A #GDBusMethodInvocation. 652s # * 652s # * 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. 652s # * 652s # * This method will free @invocation, you cannot use it afterwards. 652s # */ 652s # void 652s # org_project_bar_frobnicator_complete_random_method ( 652s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 652s # GDBusMethodInvocation *invocation) 652s # { 652s # g_dbus_method_invocation_return_value (invocation, 652s # g_variant_new ("()")); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorProxy: 652s # * 652s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectBarFrobnicatorProxy. 652s # */ 652s # 652s # struct _OrgProjectBarFrobnicatorProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 652s # { 652s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 652s # guint prop_id G_GNUC_UNUSED, 652s # const GValue *value G_GNUC_UNUSED, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 652s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 652s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 652s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_bar_frobnicator_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # org_project_bar_frobnicator_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorSkeleton: 652s # * 652s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * OrgProjectBarFrobnicatorSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 652s # */ 652s # 652s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 652s # { 652s # _org_project_bar_frobnicator_skeleton_handle_method_call, 652s # _org_project_bar_frobnicator_skeleton_handle_get_property, 652s # _org_project_bar_frobnicator_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return org_project_bar_frobnicator_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 652s # { 652s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 652s # { 652s # } 652s # 652s # /** 652s # * org_project_bar_frobnicator_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 652s # * 652s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 652s # */ 652s # OrgProjectBarFrobnicator * 652s # org_project_bar_frobnicator_skeleton_new (void) 652s # { 652s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ 652s # * Code for interface com.acme.Coyote 652s # * ------------------------------------------------------------------------ 652s # */ 652s # 652s # /** 652s # * SECTION:ComAcmeCoyote 652s # * @title: ComAcmeCoyote 652s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 652s # * 652s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 652s # */ 652s # 652s # enum 652s # { 652s # _COM_ACME_COYOTE_SURPRISED, 652s # }; 652s # 652s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 652s # 652s # /* ---- Introspection data for com.acme.Coyote ---- */ 652s # 652s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Run", 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "handle-run", 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Sleep", 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "handle-sleep", 652s # FALSE 652s # }; 652s # 652s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Attack", 652s # NULL, 652s # NULL, 652s # NULL 652s # }, 652s # "handle-attack", 652s # FALSE 652s # }; 652s # 652s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 652s # { 652s # &_com_acme_coyote_method_info_run.parent_struct, 652s # &_com_acme_coyote_method_info_sleep.parent_struct, 652s # &_com_acme_coyote_method_info_attack.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Surprised", 652s # NULL, 652s # NULL 652s # }, 652s # "surprised" 652s # }; 652s # 652s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 652s # { 652s # &_com_acme_coyote_signal_info_surprised.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 652s # { 652s # { 652s # -1, 652s # (gchar *) "Mood", 652s # (gchar *) "s", 652s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 652s # NULL 652s # }, 652s # "mood", 652s # FALSE, 652s # TRUE 652s # }; 652s # 652s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 652s # { 652s # &_com_acme_coyote_property_info_mood.parent_struct, 652s # NULL 652s # }; 652s # 652s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 652s # { 652s # { 652s # -1, 652s # (gchar *) "com.acme.Coyote", 652s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 652s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 652s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 652s # NULL 652s # }, 652s # "com-acme-coyote", 652s # }; 652s # 652s # 652s # /** 652s # * com_acme_coyote_interface_info: 652s # * 652s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 652s # * 652s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 652s # */ 652s # GDBusInterfaceInfo * 652s # com_acme_coyote_interface_info (void) 652s # { 652s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_override_properties: 652s # * @klass: The class structure for a #GObject derived class. 652s # * @property_id_begin: The property id to assign to the first overridden property. 652s # * 652s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 652s # * The properties are overridden in the order they are defined. 652s # * 652s # * Returns: The last property id. 652s # */ 652s # guint 652s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 652s # { 652s # g_object_class_override_property (klass, property_id_begin++, "mood"); 652s # return property_id_begin - 1; 652s # } 652s # 652s # 652s # inline static void 652s # com_acme_coyote_signal_marshal_surprised ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # g_cclosure_marshal_VOID__VOID (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # com_acme_coyote_method_marshal_run ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # com_acme_coyote_method_marshal_sleep ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # inline static void 652s # com_acme_coyote_method_marshal_attack ( 652s # GClosure *closure, 652s # GValue *return_value, 652s # unsigned int n_param_values, 652s # const GValue *param_values, 652s # void *invocation_hint, 652s # void *marshal_data) 652s # { 652s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 652s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 652s # } 652s # 652s # 652s # /** 652s # * ComAcmeCoyote: 652s # * 652s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 652s # */ 652s # 652s # /** 652s # * ComAcmeCoyoteIface: 652s # * @parent_iface: The parent interface. 652s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 652s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 652s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 652s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 652s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 652s # * 652s # * Virtual table for the D-Bus interface com.acme.Coyote. 652s # */ 652s # 652s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 652s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 652s # 652s # static void 652s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 652s # { 652s # /* GObject signals for incoming D-Bus method calls: */ 652s # /** 652s # * ComAcmeCoyote::handle-run: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: A #GDBusMethodInvocation. 652s # * 652s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # g_signal_new ("handle-run", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 652s # g_signal_accumulator_true_handled, 652s # NULL, 652s # com_acme_coyote_method_marshal_run, 652s # G_TYPE_BOOLEAN, 652s # 1, 652s # G_TYPE_DBUS_METHOD_INVOCATION); 652s # 652s # /** 652s # * ComAcmeCoyote::handle-sleep: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: A #GDBusMethodInvocation. 652s # * 652s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # g_signal_new ("handle-sleep", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 652s # g_signal_accumulator_true_handled, 652s # NULL, 652s # com_acme_coyote_method_marshal_sleep, 652s # G_TYPE_BOOLEAN, 652s # 1, 652s # G_TYPE_DBUS_METHOD_INVOCATION); 652s # 652s # /** 652s # * ComAcmeCoyote::handle-attack: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: A #GDBusMethodInvocation. 652s # * 652s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # g_signal_new ("handle-attack", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 652s # g_signal_accumulator_true_handled, 652s # NULL, 652s # com_acme_coyote_method_marshal_attack, 652s # G_TYPE_BOOLEAN, 652s # 1, 652s # G_TYPE_DBUS_METHOD_INVOCATION); 652s # 652s # /* GObject signals for received D-Bus signals: */ 652s # /** 652s # * ComAcmeCoyote::surprised: 652s # * @object: A #ComAcmeCoyote. 652s # * 652s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 652s # * 652s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 652s # */ 652s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 652s # g_signal_new ("surprised", 652s # G_TYPE_FROM_INTERFACE (iface), 652s # G_SIGNAL_RUN_LAST, 652s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 652s # NULL, 652s # NULL, 652s # com_acme_coyote_signal_marshal_surprised, 652s # G_TYPE_NONE, 652s # 0); 652s # 652s # /* GObject properties for D-Bus properties: */ 652s # /** 652s # * ComAcmeCoyote:mood: 652s # * 652s # * Represents the D-Bus property "Mood". 652s # * 652s # * 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. 652s # */ 652s # g_object_interface_install_property (iface, 652s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_get_mood: (skip) 652s # * @object: A #ComAcmeCoyote. 652s # * 652s # * Gets the value of the "Mood" D-Bus property. 652s # * 652s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 652s # * 652s # * 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. 652s # * 652s # * 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. 652s # */ 652s # const gchar * 652s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 652s # { 652s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 652s # 652s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_dup_mood: (skip) 652s # * @object: A #ComAcmeCoyote. 652s # * 652s # * Gets a copy of the "Mood" D-Bus property. 652s # * 652s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 652s # * 652s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 652s # */ 652s # gchar * 652s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 652s # { 652s # gchar *value; 652s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 652s # return value; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_set_mood: (skip) 652s # * @object: A #ComAcmeCoyote. 652s # * @value: The value to set. 652s # * 652s # * Sets the "Mood" D-Bus property to @value. 652s # * 652s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 652s # */ 652s # void 652s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 652s # { 652s # g_object_set (G_OBJECT (object), "mood", value, NULL); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_emit_surprised: 652s # * @object: A #ComAcmeCoyote. 652s # * 652s # * Emits the "Surprised" D-Bus signal. 652s # */ 652s # void 652s # com_acme_coyote_emit_surprised ( 652s # ComAcmeCoyote *object) 652s # { 652s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_run: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously invokes the Run() D-Bus method on @proxy. 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 652s # */ 652s # void 652s # com_acme_coyote_call_run ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 652s # "Run", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # callback, 652s # user_data); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_run_finish: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Finishes an operation started with com_acme_coyote_call_run(). 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_run_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_run_sync: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_run_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 652s # "Run", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_sleep: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 652s # */ 652s # void 652s # com_acme_coyote_call_sleep ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 652s # "Sleep", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # callback, 652s # user_data); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_sleep_finish: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Finishes an operation started with com_acme_coyote_call_sleep(). 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_sleep_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_sleep_sync: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_sleep_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 652s # "Sleep", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_attack: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 652s # */ 652s # void 652s # com_acme_coyote_call_attack ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 652s # "Attack", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # callback, 652s # user_data); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_attack_finish: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Finishes an operation started with com_acme_coyote_call_attack(). 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_attack_finish ( 652s # ComAcmeCoyote *proxy, 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_call_attack_sync: 652s # * @proxy: A #ComAcmeCoyoteProxy. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL. 652s # * 652s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 652s # * 652s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 652s # */ 652s # gboolean 652s # com_acme_coyote_call_attack_sync ( 652s # ComAcmeCoyote *proxy, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GVariant *_ret; 652s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 652s # "Attack", 652s # g_variant_new ("()"), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # cancellable, 652s # error); 652s # if (_ret == NULL) 652s # goto _out; 652s # g_variant_get (_ret, 652s # "()"); 652s # g_variant_unref (_ret); 652s # _out: 652s # return _ret != NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_complete_run: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: (transfer full): A #GDBusMethodInvocation. 652s # * 652s # * 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. 652s # * 652s # * This method will free @invocation, you cannot use it afterwards. 652s # */ 652s # void 652s # com_acme_coyote_complete_run ( 652s # ComAcmeCoyote *object G_GNUC_UNUSED, 652s # GDBusMethodInvocation *invocation) 652s # { 652s # g_dbus_method_invocation_return_value (invocation, 652s # g_variant_new ("()")); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_complete_sleep: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: (transfer full): A #GDBusMethodInvocation. 652s # * 652s # * 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. 652s # * 652s # * This method will free @invocation, you cannot use it afterwards. 652s # */ 652s # void 652s # com_acme_coyote_complete_sleep ( 652s # ComAcmeCoyote *object G_GNUC_UNUSED, 652s # GDBusMethodInvocation *invocation) 652s # { 652s # g_dbus_method_invocation_return_value (invocation, 652s # g_variant_new ("()")); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_complete_attack: 652s # * @object: A #ComAcmeCoyote. 652s # * @invocation: (transfer full): A #GDBusMethodInvocation. 652s # * 652s # * 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. 652s # * 652s # * This method will free @invocation, you cannot use it afterwards. 652s # */ 652s # void 652s # com_acme_coyote_complete_attack ( 652s # ComAcmeCoyote *object G_GNUC_UNUSED, 652s # GDBusMethodInvocation *invocation) 652s # { 652s # g_dbus_method_invocation_return_value (invocation, 652s # g_variant_new ("()")); 652s # } 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * ComAcmeCoyoteProxy: 652s # * 652s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * ComAcmeCoyoteProxyClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #ComAcmeCoyoteProxy. 652s # */ 652s # 652s # struct _ComAcmeCoyoteProxyPrivate 652s # { 652s # GData *qdata; 652s # }; 652s # 652s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 652s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 652s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 652s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 652s # 652s # #endif 652s # static void 652s # com_acme_coyote_proxy_finalize (GObject *object) 652s # { 652s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 652s # g_datalist_clear (&proxy->priv->qdata); 652s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_get_property (GObject *object, 652s # guint prop_id, 652s # GValue *value, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # GVariant *variant; 652s # g_assert (prop_id != 0 && prop_id - 1 < 1); 652s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 652s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 652s # if (info->use_gvariant) 652s # { 652s # g_value_set_variant (value, variant); 652s # } 652s # else 652s # { 652s # if (variant != NULL) 652s # g_dbus_gvariant_to_gvalue (variant, value); 652s # } 652s # if (variant != NULL) 652s # g_variant_unref (variant); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 652s # GAsyncResult *res, 652s # gpointer user_data) 652s # { 652s # const _ExtendedGDBusPropertyInfo *info = user_data; 652s # GError *error; 652s # GVariant *_ret; 652s # error = NULL; 652s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 652s # if (!_ret) 652s # { 652s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 652s # info->parent_struct.name, 652s # error->message, g_quark_to_string (error->domain), error->code); 652s # g_error_free (error); 652s # } 652s # else 652s # { 652s # g_variant_unref (_ret); 652s # } 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_set_property (GObject *object, 652s # guint prop_id, 652s # const GValue *value, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # GVariant *variant; 652s # g_assert (prop_id != 0 && prop_id - 1 < 1); 652s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 652s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_dbus_proxy_call (G_DBUS_PROXY (object), 652s # "org.freedesktop.DBus.Properties.Set", 652s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 652s # G_DBUS_CALL_FLAGS_NONE, 652s # -1, 652s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 652s # g_variant_unref (variant); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 652s # const gchar *sender_name G_GNUC_UNUSED, 652s # const gchar *signal_name, 652s # GVariant *parameters) 652s # { 652s # _ExtendedGDBusSignalInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # gsize n; 652s # guint signal_id; 652s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 652s # if (info == NULL) 652s # return; 652s # num_params = g_variant_n_children (parameters); 652s # paramv = g_new0 (GValue, num_params + 1); 652s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 652s # g_value_set_object (¶mv[0], proxy); 652s # g_variant_iter_init (&iter, parameters); 652s # n = 1; 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 652s # g_signal_emitv (paramv, signal_id, 0, NULL); 652s # for (n = 0; n < num_params + 1; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 652s # GVariant *changed_properties, 652s # const gchar *const *invalidated_properties) 652s # { 652s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 652s # guint n; 652s # const gchar *key; 652s # GVariantIter *iter; 652s # _ExtendedGDBusPropertyInfo *info; 652s # g_variant_get (changed_properties, "a{sv}", &iter); 652s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 652s # g_datalist_remove_data (&proxy->priv->qdata, key); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # g_variant_iter_free (iter); 652s # for (n = 0; invalidated_properties[n] != NULL; n++) 652s # { 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 652s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 652s # if (info != NULL) 652s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 652s # } 652s # } 652s # 652s # static const gchar * 652s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 652s # { 652s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 652s # GVariant *variant; 652s # const gchar *value = NULL; 652s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 652s # if (variant != NULL) 652s # { 652s # value = g_variant_get_string (variant, NULL); 652s # g_variant_unref (variant); 652s # } 652s # return value; 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 652s # #else 652s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 652s # #endif 652s # 652s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusProxyClass *proxy_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 652s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 652s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 652s # 652s # proxy_class = G_DBUS_PROXY_CLASS (klass); 652s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 652s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 652s # 652s # com_acme_coyote_override_properties (gobject_class, 1); 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 652s # { 652s # iface->get_mood = com_acme_coyote_proxy_get_mood; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # com_acme_coyote_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with com_acme_coyote_proxy_new(). 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return COM_ACME_COYOTE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_sync: 652s # * @connection: A #GDBusConnection. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return COM_ACME_COYOTE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_for_bus: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 652s # * @user_data: User data to pass to @callback. 652s # * 652s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 652s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 652s # * 652s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 652s # */ 652s # void 652s # com_acme_coyote_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data) 652s # { 652s # 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); 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_for_bus_finish: 652s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 652s # * @error: Return location for error or %NULL 652s # * 652s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error) 652s # { 652s # GObject *ret; 652s # GObject *source_object; 652s # source_object = g_async_result_get_source_object (res); 652s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 652s # g_object_unref (source_object); 652s # if (ret != NULL) 652s # return COM_ACME_COYOTE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_proxy_new_for_bus_sync: 652s # * @bus_type: A #GBusType. 652s # * @flags: Flags from the #GDBusProxyFlags enumeration. 652s # * @name: A bus name (well-known or unique). 652s # * @object_path: An object path. 652s # * @cancellable: (nullable): A #GCancellable or %NULL. 652s # * @error: Return location for error or %NULL 652s # * 652s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 652s # * 652s # * The calling thread is blocked until a reply is received. 652s # * 652s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error) 652s # { 652s # GInitable *ret; 652s # 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); 652s # if (ret != NULL) 652s # return COM_ACME_COYOTE (ret); 652s # else 652s # return NULL; 652s # } 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # 652s # /** 652s # * ComAcmeCoyoteSkeleton: 652s # * 652s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 652s # */ 652s # 652s # /** 652s # * ComAcmeCoyoteSkeletonClass: 652s # * @parent_class: The parent class. 652s # * 652s # * Class structure for #ComAcmeCoyoteSkeleton. 652s # */ 652s # 652s # struct _ComAcmeCoyoteSkeletonPrivate 652s # { 652s # GValue *properties; 652s # GList *changed_properties; 652s # GSource *changed_properties_idle_source; 652s # GMainContext *context; 652s # GMutex lock; 652s # }; 652s # 652s # static void 652s # _com_acme_coyote_skeleton_handle_method_call ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name, 652s # const gchar *method_name, 652s # GVariant *parameters, 652s # GDBusMethodInvocation *invocation, 652s # gpointer user_data) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 652s # _ExtendedGDBusMethodInfo *info; 652s # GVariantIter iter; 652s # GVariant *child; 652s # GValue *paramv; 652s # gsize num_params; 652s # guint num_extra; 652s # gsize n; 652s # guint signal_id; 652s # GValue return_value = G_VALUE_INIT; 652s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 652s # g_assert (info != NULL); 652s # num_params = g_variant_n_children (parameters); 652s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 652s # n = 0; 652s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 652s # g_value_set_object (¶mv[n++], skeleton); 652s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 652s # g_value_set_object (¶mv[n++], invocation); 652s # if (info->pass_fdlist) 652s # { 652s # #ifdef G_OS_UNIX 652s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 652s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 652s # #else 652s # g_assert_not_reached (); 652s # #endif 652s # } 652s # g_variant_iter_init (&iter, parameters); 652s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 652s # { 652s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 652s # if (arg_info->use_gvariant) 652s # { 652s # g_value_init (¶mv[n], G_TYPE_VARIANT); 652s # g_value_set_variant (¶mv[n], child); 652s # n++; 652s # } 652s # else 652s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 652s # g_variant_unref (child); 652s # } 652s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 652s # g_value_init (&return_value, G_TYPE_BOOLEAN); 652s # g_signal_emitv (paramv, signal_id, 0, &return_value); 652s # if (!g_value_get_boolean (&return_value)) 652s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 652s # g_value_unset (&return_value); 652s # for (n = 0; n < num_params + num_extra; n++) 652s # g_value_unset (¶mv[n]); 652s # g_free (paramv); 652s # } 652s # 652s # static GVariant * 652s # _com_acme_coyote_skeleton_handle_get_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # GVariant *ret; 652s # ret = NULL; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # g_value_init (&value, pspec->value_type); 652s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 652s # g_value_unset (&value); 652s # } 652s # return ret; 652s # } 652s # 652s # static gboolean 652s # _com_acme_coyote_skeleton_handle_set_property ( 652s # GDBusConnection *connection G_GNUC_UNUSED, 652s # const gchar *sender G_GNUC_UNUSED, 652s # const gchar *object_path G_GNUC_UNUSED, 652s # const gchar *interface_name G_GNUC_UNUSED, 652s # const gchar *property_name, 652s # GVariant *variant, 652s # GError **error, 652s # gpointer user_data) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 652s # GValue value = G_VALUE_INIT; 652s # GParamSpec *pspec; 652s # _ExtendedGDBusPropertyInfo *info; 652s # gboolean ret; 652s # ret = FALSE; 652s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 652s # g_assert (info != NULL); 652s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 652s # if (pspec == NULL) 652s # { 652s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 652s # } 652s # else 652s # { 652s # if (info->use_gvariant) 652s # g_value_set_variant (&value, variant); 652s # else 652s # g_dbus_gvariant_to_gvalue (variant, &value); 652s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 652s # g_value_unset (&value); 652s # ret = TRUE; 652s # } 652s # return ret; 652s # } 652s # 652s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 652s # { 652s # _com_acme_coyote_skeleton_handle_method_call, 652s # _com_acme_coyote_skeleton_handle_get_property, 652s # _com_acme_coyote_skeleton_handle_set_property, 652s # {NULL} 652s # }; 652s # 652s # static GDBusInterfaceInfo * 652s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return com_acme_coyote_interface_info (); 652s # } 652s # 652s # static GDBusInterfaceVTable * 652s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 652s # { 652s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 652s # } 652s # 652s # static GVariant * 652s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 652s # 652s # GVariantBuilder builder; 652s # guint n; 652s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 652s # goto out; 652s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 652s # { 652s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 652s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 652s # { 652s # GVariant *value; 652s # 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); 652s # if (value != NULL) 652s # { 652s # g_variant_take_ref (value); 652s # g_variant_builder_add (&builder, "{sv}", info->name, value); 652s # g_variant_unref (value); 652s # } 652s # } 652s # } 652s # out: 652s # return g_variant_builder_end (&builder); 652s # } 652s # 652s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 652s # 652s # static void 652s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 652s # gboolean emit_changed = FALSE; 652s # 652s # g_mutex_lock (&skeleton->priv->lock); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # { 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # skeleton->priv->changed_properties_idle_source = NULL; 652s # emit_changed = TRUE; 652s # } 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # 652s # if (emit_changed) 652s # _com_acme_coyote_emit_changed (skeleton); 652s # } 652s # 652s # static void 652s # _com_acme_coyote_on_signal_surprised ( 652s # ComAcmeCoyote *object) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # 652s # GList *connections, *l; 652s # GVariant *signal_variant; 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # 652s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 652s # for (l = connections; l != NULL; l = l->next) 652s # { 652s # GDBusConnection *connection = l->data; 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 652s # signal_variant, NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # 652s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 652s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 652s # 652s # #else 652s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 652s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 652s # 652s # #endif 652s # static void 652s # com_acme_coyote_skeleton_finalize (GObject *object) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # guint n; 652s # for (n = 0; n < 1; n++) 652s # g_value_unset (&skeleton->priv->properties[n]); 652s # g_free (skeleton->priv->properties); 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # if (skeleton->priv->changed_properties_idle_source != NULL) 652s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 652s # g_main_context_unref (skeleton->priv->context); 652s # g_mutex_clear (&skeleton->priv->lock); 652s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_get_property (GObject *object, 652s # guint prop_id, 652s # GValue *value, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # g_assert (prop_id != 0 && prop_id - 1 < 1); 652s # g_mutex_lock (&skeleton->priv->lock); 652s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # } 652s # 652s # static gboolean 652s # _com_acme_coyote_emit_changed (gpointer user_data) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 652s # GList *l; 652s # GVariantBuilder builder; 652s # GVariantBuilder invalidated_builder; 652s # guint num_changes; 652s # 652s # g_mutex_lock (&skeleton->priv->lock); 652s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 652s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 652s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 652s # { 652s # ChangedProperty *cp = l->data; 652s # GVariant *variant; 652s # const GValue *cur_value; 652s # 652s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 652s # if (!_g_value_equal (cur_value, &cp->orig_value)) 652s # { 652s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 652s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 652s # g_variant_unref (variant); 652s # num_changes++; 652s # } 652s # } 652s # if (num_changes > 0) 652s # { 652s # GList *connections, *ll; 652s # GVariant *signal_variant; 652s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 652s # &builder, &invalidated_builder)); 652s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 652s # for (ll = connections; ll != NULL; ll = ll->next) 652s # { 652s # GDBusConnection *connection = ll->data; 652s # 652s # g_dbus_connection_emit_signal (connection, 652s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 652s # "org.freedesktop.DBus.Properties", 652s # "PropertiesChanged", 652s # signal_variant, 652s # NULL); 652s # } 652s # g_variant_unref (signal_variant); 652s # g_list_free_full (connections, g_object_unref); 652s # } 652s # else 652s # { 652s # g_variant_builder_clear (&builder); 652s # g_variant_builder_clear (&invalidated_builder); 652s # } 652s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 652s # skeleton->priv->changed_properties = NULL; 652s # skeleton->priv->changed_properties_idle_source = NULL; 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # return FALSE; 652s # } 652s # 652s # static void 652s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 652s # { 652s # ChangedProperty *cp; 652s # GList *l; 652s # cp = NULL; 652s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 652s # { 652s # ChangedProperty *i_cp = l->data; 652s # if (i_cp->info == info) 652s # { 652s # cp = i_cp; 652s # break; 652s # } 652s # } 652s # if (cp == NULL) 652s # { 652s # cp = g_new0 (ChangedProperty, 1); 652s # cp->prop_id = prop_id; 652s # cp->info = info; 652s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 652s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 652s # g_value_copy (orig_value, &cp->orig_value); 652s # } 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_notify (GObject *object, 652s # GParamSpec *pspec G_GNUC_UNUSED) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # g_mutex_lock (&skeleton->priv->lock); 652s # if (skeleton->priv->changed_properties != NULL && 652s # skeleton->priv->changed_properties_idle_source == NULL) 652s # { 652s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 652s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 652s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 652s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 652s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 652s # g_source_unref (skeleton->priv->changed_properties_idle_source); 652s # } 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_set_property (GObject *object, 652s # guint prop_id, 652s # const GValue *value, 652s # GParamSpec *pspec) 652s # { 652s # const _ExtendedGDBusPropertyInfo *info; 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # g_assert (prop_id != 0 && prop_id - 1 < 1); 652s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 652s # g_mutex_lock (&skeleton->priv->lock); 652s # g_object_freeze_notify (object); 652s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 652s # { 652s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 652s # info->emits_changed_signal) 652s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 652s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 652s # g_object_notify_by_pspec (object, pspec); 652s # } 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # g_object_thaw_notify (object); 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 652s # { 652s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 652s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 652s # #else 652s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 652s # #endif 652s # 652s # g_mutex_init (&skeleton->priv->lock); 652s # skeleton->priv->context = g_main_context_ref_thread_default (); 652s # skeleton->priv->properties = g_new0 (GValue, 1); 652s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 652s # } 652s # 652s # static const gchar * 652s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 652s # { 652s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 652s # const gchar *value; 652s # g_mutex_lock (&skeleton->priv->lock); 652s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 652s # g_mutex_unlock (&skeleton->priv->lock); 652s # return value; 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 652s # { 652s # GObjectClass *gobject_class; 652s # GDBusInterfaceSkeletonClass *skeleton_class; 652s # 652s # gobject_class = G_OBJECT_CLASS (klass); 652s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 652s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 652s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 652s # gobject_class->notify = com_acme_coyote_skeleton_notify; 652s # 652s # 652s # com_acme_coyote_override_properties (gobject_class, 1); 652s # 652s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 652s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 652s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 652s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 652s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 652s # 652s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 652s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 652s # #endif 652s # } 652s # 652s # static void 652s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 652s # { 652s # iface->surprised = _com_acme_coyote_on_signal_surprised; 652s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 652s # } 652s # 652s # /** 652s # * com_acme_coyote_skeleton_new: 652s # * 652s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 652s # * 652s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 652s # */ 652s # ComAcmeCoyote * 652s # com_acme_coyote_skeleton_new (void) 652s # { 652s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 652s # } 652s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 652s # tmpdir: /tmp/tmp41gf71w4 652s # codegen: /usr/bin/gdbus-codegen 652s # /tmp/tmp41gf71w4/tmpuly33d8g.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp41gf71w4/tmpuly33d8g.xml', '--output', '-', '--header'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # /* Declarations for FDPassing */ 652s # 652s # #define TYPE_FDPASSING (fdpassing_get_type ()) 652s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 652s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 652s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 652s # 652s # struct _FDPassing; 652s # typedef struct _FDPassing FDPassing; 652s # typedef struct _FDPassingIface FDPassingIface; 652s # 652s # struct _FDPassingIface 652s # { 652s # GTypeInterface parent_iface; 652s # 652s # gboolean (*handle_hello_fd) ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list, 652s # const gchar *arg_greeting); 652s # 652s # gboolean (*handle_no_annotation) ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GVariant *arg_greeting, 652s # const gchar *arg_greeting_locale); 652s # 652s # gboolean (*handle_no_annotation_nested) ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GVariant *arg_files); 652s # 652s # }; 652s # 652s # GType fdpassing_get_type (void) G_GNUC_CONST; 652s # 652s # GDBusInterfaceInfo *fdpassing_interface_info (void); 652s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 652s # 652s # 652s # /* D-Bus method call completion functions: */ 652s # void fdpassing_complete_hello_fd ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list, 652s # const gchar *response); 652s # 652s # void fdpassing_complete_no_annotation ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GVariant *response, 652s # const gchar *response_locale); 652s # 652s # void fdpassing_complete_no_annotation_nested ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # 652s # 652s # /* D-Bus method calls: */ 652s # void fdpassing_call_hello_fd ( 652s # FDPassing *proxy, 652s # const gchar *arg_greeting, 652s # GUnixFDList *fd_list, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean fdpassing_call_hello_fd_finish ( 652s # FDPassing *proxy, 652s # gchar **out_response, 652s # GUnixFDList **out_fd_list, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean fdpassing_call_hello_fd_sync ( 652s # FDPassing *proxy, 652s # const gchar *arg_greeting, 652s # GUnixFDList *fd_list, 652s # gchar **out_response, 652s # GUnixFDList **out_fd_list, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void fdpassing_call_no_annotation ( 652s # FDPassing *proxy, 652s # GVariant *arg_greeting, 652s # const gchar *arg_greeting_locale, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean fdpassing_call_no_annotation_finish ( 652s # FDPassing *proxy, 652s # GVariant **out_response, 652s # gchar **out_response_locale, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean fdpassing_call_no_annotation_sync ( 652s # FDPassing *proxy, 652s # GVariant *arg_greeting, 652s # const gchar *arg_greeting_locale, 652s # GVariant **out_response, 652s # gchar **out_response_locale, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void fdpassing_call_no_annotation_nested ( 652s # FDPassing *proxy, 652s # GVariant *arg_files, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean fdpassing_call_no_annotation_nested_finish ( 652s # FDPassing *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean fdpassing_call_no_annotation_nested_sync ( 652s # FDPassing *proxy, 652s # GVariant *arg_files, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 652s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 652s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 652s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 652s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 652s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 652s # 652s # typedef struct _FDPassingProxy FDPassingProxy; 652s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 652s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 652s # 652s # struct _FDPassingProxy 652s # { 652s # /*< private >*/ 652s # GDBusProxy parent_instance; 652s # FDPassingProxyPrivate *priv; 652s # }; 652s # 652s # struct _FDPassingProxyClass 652s # { 652s # GDBusProxyClass parent_class; 652s # }; 652s # 652s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 652s # #endif 652s # 652s # void fdpassing_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # FDPassing *fdpassing_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # FDPassing *fdpassing_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void fdpassing_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 652s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 652s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 652s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 652s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 652s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 652s # 652s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 652s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 652s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 652s # 652s # struct _FDPassingSkeleton 652s # { 652s # /*< private >*/ 652s # GDBusInterfaceSkeleton parent_instance; 652s # FDPassingSkeletonPrivate *priv; 652s # }; 652s # 652s # struct _FDPassingSkeletonClass 652s # { 652s # GDBusInterfaceSkeletonClass parent_class; 652s # }; 652s # 652s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 652s # #endif 652s # 652s # FDPassing *fdpassing_skeleton_new (void); 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s # /tmp/tmp41gf71w4/tmpg0d67801.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp41gf71w4/tmpg0d67801.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # /* Declarations for FDPassing */ 652s # 652s # #define TYPE_FDPASSING (fdpassing_get_type ()) 652s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 652s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 652s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 652s # 652s # struct _FDPassing; 652s # typedef struct _FDPassing FDPassing; 652s # typedef struct _FDPassingIface FDPassingIface; 652s # 652s # struct _FDPassingIface 652s # { 652s # GTypeInterface parent_iface; 652s # 652s # gboolean (*handle_hello_fd) ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list, 652s # const gchar *arg_greeting); 652s # 652s # gboolean (*handle_no_annotation) ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GVariant *arg_greeting, 652s # const gchar *arg_greeting_locale); 652s # 652s # gboolean (*handle_no_annotation_nested) ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GVariant *arg_files); 652s # 652s # }; 652s # 652s # GType fdpassing_get_type (void) G_GNUC_CONST; 652s # 652s # GDBusInterfaceInfo *fdpassing_interface_info (void); 652s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 652s # 652s # 652s # /* D-Bus method call completion functions: */ 652s # void fdpassing_complete_hello_fd ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list, 652s # const gchar *response); 652s # 652s # void fdpassing_complete_no_annotation ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GVariant *response, 652s # const gchar *response_locale); 652s # 652s # void fdpassing_complete_no_annotation_nested ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation); 652s # 652s # 652s # 652s # /* D-Bus method calls: */ 652s # void fdpassing_call_hello_fd ( 652s # FDPassing *proxy, 652s # const gchar *arg_greeting, 652s # GUnixFDList *fd_list, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean fdpassing_call_hello_fd_finish ( 652s # FDPassing *proxy, 652s # gchar **out_response, 652s # GUnixFDList **out_fd_list, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean fdpassing_call_hello_fd_sync ( 652s # FDPassing *proxy, 652s # const gchar *arg_greeting, 652s # GUnixFDList *fd_list, 652s # gchar **out_response, 652s # GUnixFDList **out_fd_list, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void fdpassing_call_no_annotation ( 652s # FDPassing *proxy, 652s # GVariant *arg_greeting, 652s # const gchar *arg_greeting_locale, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean fdpassing_call_no_annotation_finish ( 652s # FDPassing *proxy, 652s # GVariant **out_response, 652s # gchar **out_response_locale, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean fdpassing_call_no_annotation_sync ( 652s # FDPassing *proxy, 652s # GVariant *arg_greeting, 652s # const gchar *arg_greeting_locale, 652s # GVariant **out_response, 652s # gchar **out_response_locale, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void fdpassing_call_no_annotation_nested ( 652s # FDPassing *proxy, 652s # GVariant *arg_files, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean fdpassing_call_no_annotation_nested_finish ( 652s # FDPassing *proxy, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean fdpassing_call_no_annotation_nested_sync ( 652s # FDPassing *proxy, 652s # GVariant *arg_files, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 652s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 652s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 652s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 652s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 652s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 652s # 652s # typedef struct _FDPassingProxy FDPassingProxy; 652s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 652s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 652s # 652s # struct _FDPassingProxy 652s # { 652s # /*< private >*/ 652s # GDBusProxy parent_instance; 652s # FDPassingProxyPrivate *priv; 652s # }; 652s # 652s # struct _FDPassingProxyClass 652s # { 652s # GDBusProxyClass parent_class; 652s # }; 652s # 652s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 652s # #endif 652s # 652s # void fdpassing_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # FDPassing *fdpassing_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # FDPassing *fdpassing_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void fdpassing_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 652s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 652s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 652s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 652s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 652s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 652s # 652s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 652s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 652s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 652s # 652s # struct _FDPassingSkeleton 652s # { 652s # /*< private >*/ 652s # GDBusInterfaceSkeleton parent_instance; 652s # FDPassingSkeletonPrivate *priv; 652s # }; 652s # 652s # struct _FDPassingSkeletonClass 652s # { 652s # GDBusInterfaceSkeletonClass parent_class; 652s # }; 652s # 652s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 652s # #endif 652s # 652s # FDPassing *fdpassing_skeleton_new (void); 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s # /tmp/tmp41gf71w4/tmp1gn9x79c.xml: 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # 652s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp41gf71w4/tmp1gn9x79c.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 652s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 652s # Output: /* 652s # * This file is generated by gdbus-codegen, do not modify it. 652s # * 652s # * The license of this code is the same as for the D-Bus interface description 652s # * it was derived from. Note that it links to GLib, so must comply with the 652s # * LGPL linking clauses. 652s # */ 652s # 652s # #ifndef __STDOUT__ 652s # #define __STDOUT__ 652s # 652s # #include 652s # 652s # G_BEGIN_DECLS 652s # 652s # 652s # /* ------------------------------------------------------------------------ */ 652s # /* Declarations for FDPassing */ 652s # 652s # #define TYPE_FDPASSING (fdpassing_get_type ()) 652s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 652s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 652s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 652s # 652s # struct _FDPassing; 652s # typedef struct _FDPassing FDPassing; 652s # typedef struct _FDPassingIface FDPassingIface; 652s # 652s # struct _FDPassingIface 652s # { 652s # GTypeInterface parent_iface; 652s # 652s # gboolean (*handle_hello_fd) ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list, 652s # const gchar *arg_greeting); 652s # 652s # gboolean (*handle_no_annotation) ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list, 652s # GVariant *arg_greeting, 652s # const gchar *arg_greeting_locale); 652s # 652s # gboolean (*handle_no_annotation_nested) ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list, 652s # GVariant *arg_files); 652s # 652s # }; 652s # 652s # GType fdpassing_get_type (void) G_GNUC_CONST; 652s # 652s # GDBusInterfaceInfo *fdpassing_interface_info (void); 652s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 652s # 652s # 652s # /* D-Bus method call completion functions: */ 652s # void fdpassing_complete_hello_fd ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list, 652s # const gchar *response); 652s # 652s # void fdpassing_complete_no_annotation ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list, 652s # GVariant *response, 652s # const gchar *response_locale); 652s # 652s # void fdpassing_complete_no_annotation_nested ( 652s # FDPassing *object, 652s # GDBusMethodInvocation *invocation, 652s # GUnixFDList *fd_list); 652s # 652s # 652s # 652s # /* D-Bus method calls: */ 652s # void fdpassing_call_hello_fd ( 652s # FDPassing *proxy, 652s # const gchar *arg_greeting, 652s # GDBusCallFlags call_flags, 652s # gint timeout_msec, 652s # GUnixFDList *fd_list, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean fdpassing_call_hello_fd_finish ( 652s # FDPassing *proxy, 652s # gchar **out_response, 652s # GUnixFDList **out_fd_list, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean fdpassing_call_hello_fd_sync ( 652s # FDPassing *proxy, 652s # const gchar *arg_greeting, 652s # GDBusCallFlags call_flags, 652s # gint timeout_msec, 652s # GUnixFDList *fd_list, 652s # gchar **out_response, 652s # GUnixFDList **out_fd_list, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void fdpassing_call_no_annotation ( 652s # FDPassing *proxy, 652s # GVariant *arg_greeting, 652s # const gchar *arg_greeting_locale, 652s # GDBusCallFlags call_flags, 652s # gint timeout_msec, 652s # GUnixFDList *fd_list, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean fdpassing_call_no_annotation_finish ( 652s # FDPassing *proxy, 652s # GVariant **out_response, 652s # gchar **out_response_locale, 652s # GUnixFDList **out_fd_list, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean fdpassing_call_no_annotation_sync ( 652s # FDPassing *proxy, 652s # GVariant *arg_greeting, 652s # const gchar *arg_greeting_locale, 652s # GDBusCallFlags call_flags, 652s # gint timeout_msec, 652s # GUnixFDList *fd_list, 652s # GVariant **out_response, 652s # gchar **out_response_locale, 652s # GUnixFDList **out_fd_list, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void fdpassing_call_no_annotation_nested ( 652s # FDPassing *proxy, 652s # GVariant *arg_files, 652s # GDBusCallFlags call_flags, 652s # gint timeout_msec, 652s # GUnixFDList *fd_list, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # 652s # gboolean fdpassing_call_no_annotation_nested_finish ( 652s # FDPassing *proxy, 652s # GUnixFDList **out_fd_list, 652s # GAsyncResult *res, 652s # GError **error); 652s # 652s # gboolean fdpassing_call_no_annotation_nested_sync ( 652s # FDPassing *proxy, 652s # GVariant *arg_files, 652s # GDBusCallFlags call_flags, 652s # gint timeout_msec, 652s # GUnixFDList *fd_list, 652s # GUnixFDList **out_fd_list, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 652s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 652s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 652s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 652s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 652s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 652s # 652s # typedef struct _FDPassingProxy FDPassingProxy; 652s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 652s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 652s # 652s # struct _FDPassingProxy 652s # { 652s # /*< private >*/ 652s # GDBusProxy parent_instance; 652s # FDPassingProxyPrivate *priv; 652s # }; 652s # 652s # struct _FDPassingProxyClass 652s # { 652s # GDBusProxyClass parent_class; 652s # }; 652s # 652s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 652s # #endif 652s # 652s # void fdpassing_proxy_new ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # FDPassing *fdpassing_proxy_new_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # FDPassing *fdpassing_proxy_new_sync ( 652s # GDBusConnection *connection, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # void fdpassing_proxy_new_for_bus ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GAsyncReadyCallback callback, 652s # gpointer user_data); 652s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 652s # GAsyncResult *res, 652s # GError **error); 652s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 652s # GBusType bus_type, 652s # GDBusProxyFlags flags, 652s # const gchar *name, 652s # const gchar *object_path, 652s # GCancellable *cancellable, 652s # GError **error); 652s # 652s # 652s # /* ---- */ 652s # 652s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 652s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 652s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 652s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 652s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 652s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 652s # 652s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 652s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 652s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 652s # 652s # struct _FDPassingSkeleton 652s # { 652s # /*< private >*/ 652s # GDBusInterfaceSkeleton parent_instance; 652s # FDPassingSkeletonPrivate *priv; 652s # }; 652s # 652s # struct _FDPassingSkeletonClass 652s # { 652s # GDBusInterfaceSkeletonClass parent_class; 652s # }; 652s # 652s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 652s # 652s # #if GLIB_CHECK_VERSION(2, 44, 0) 652s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 652s # #endif 652s # 652s # FDPassing *fdpassing_skeleton_new (void); 652s # 652s # 652s # G_END_DECLS 652s # 652s # #endif /* __STDOUT__ */ 652s 1..39 652s ok - glib/codegen.py.test 652s # Running test: glib/scannerapi.test 652s TAP version 13 652s # random seed: R02Sf763b588bc57f9a593b2a85c471f888d 652s 1..4 652s # Start of scanner tests 652s ok 1 /scanner/warn 652s ok 2 /scanner/error 652s ok 3 /scanner/symbols 652s ok 4 /scanner/tokens 652s # End of scanner tests 652s ok - glib/scannerapi.test 652s # Running test: glib/macros-c-99.test 652s TAP version 13 652s # random seed: R02S970ee7177b4a2a11b66abfe405e31edd 652s 1..4 652s # Start of C tests 652s ok 1 /C/standard-99 652s # End of C tests 652s # Start of alignof tests 652s ok 2 /alignof/fallback 652s # End of alignof tests 652s # Start of assert tests 652s ok 3 /assert/static 652s # End of assert tests 652s # Start of struct tests 652s ok 4 /struct/sizeof_member 652s # End of struct tests 652s ok - glib/macros-c-99.test 652s # Running test: glib/properties-refcount3.test 652s TAP version 13 652s # random seed: R02S809d637ce53911de7b299f6c803d228c 652s 1..1 652s # Start of gobject tests 652s # Start of refcount tests 652s # Executing: glib/properties-refcount3.test 654s # Executing: glib/properties-refcount3.test 659s # Executing: glib/properties-refcount3.test 664s # Executing: glib/properties-refcount3.test 669s # Executing: glib/properties-refcount3.test 674s # Executing: glib/properties-refcount3.test 679s # 679s # stopping 679s # 679s # stopped 679s # 679s # 17509660 1269303 679s # 679s ok 1 /gobject/refcount/properties-3 679s # slow test /gobject/refcount/properties-3 executed in 30.01 secs 679s # End of refcount tests 679s # End of gobject tests 679s ok - glib/properties-refcount3.test 679s # Running test: glib/string.test 679s TAP version 13 679s # random seed: R02S79221f94586522091047003f3e0a14bf 679s 1..23 679s # Start of string tests 679s ok 1 /string/test-string-chunks 679s ok 2 /string/test-string-chunk-insert 679s ok 3 /string/test-string-new 679s ok 4 /string/test-string-printf 679s ok 5 /string/test-string-assign 679s ok 6 /string/test-string-append-c 679s ok 7 /string/test-string-append 679s ok 8 /string/test-string-append-vprintf 679s ok 9 /string/test-string-prepend-c 679s ok 10 /string/test-string-prepend 679s ok 11 /string/test-string-insert 679s ok 12 /string/test-string-insert-unichar 679s ok 13 /string/test-string-equal 679s ok 14 /string/test-string-truncate 679s ok 15 /string/test-string-overwrite 679s ok 16 /string/test-string-nul-handling 679s ok 17 /string/test-string-up-down 679s ok 18 /string/test-string-set-size 679s ok 19 /string/test-string-to-bytes 679s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 679s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 679s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 679s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 679s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 679s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 679s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 679s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 679s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 679s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 679s # 5: Replacing "o" with "" (limit 0) in "food for foals" 679s # -> 4 replacements, "fd fr fals" 679s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 679s # -> 3 replacements, "aaaaaaaaa" 679s # 7: Replacing "a" with "" (limit 0) in "aaa" 679s # -> 3 replacements, "" 679s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 679s # -> 1 replacements, "bba" 679s # 9: Replacing "" with "bar" (limit 0) in "foo" 679s # -> 4 replacements, "barfbarobarobar" 679s # 10: Replacing "" with "x" (limit 0) in "" 679s # -> 1 replacements, "x" 679s # 11: Replacing "" with "" (limit 0) in "" 679s # -> 1 replacements, "" 679s ok 20 /string/test-string-replace 679s ok 21 /string/test-string-steal 679s ok 22 /string/test-string-new-take 679s # Start of test-string-new-take tests 679s ok 23 /string/test-string-new-take/null 679s # End of test-string-new-take tests 679s # End of string tests 679s ok - glib/string.test 679s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 679s TAP version 13 679s # random seed: R02S1bb0fc6d65b3924fe577e6119085780f 679s 1..8 679s # Start of gdbus tests 679s # Start of codegen tests 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/annotations/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/annotations/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/annotations/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/annotations/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/annotations/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/annotations/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/annotations/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/annotations/.dirs/runtime 679s ok 1 /gdbus/codegen/annotations 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/interface_stability/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/interface_stability/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/interface_stability/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/interface_stability/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/interface_stability/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/interface_stability/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/interface_stability/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/interface_stability/.dirs/runtime 679s ok 2 /gdbus/codegen/interface_stability 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/object-manager/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/object-manager/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/object-manager/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/object-manager/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/object-manager/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/object-manager/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/object-manager/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/object-manager/.dirs/runtime 679s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 679s ok 3 /gdbus/codegen/object-manager 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/property-naming/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/property-naming/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/property-naming/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/property-naming/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/property-naming/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/property-naming/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/property-naming/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/property-naming/.dirs/runtime 679s ok 4 /gdbus/codegen/property-naming 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/autocleanups/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/autocleanups/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/autocleanups/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/autocleanups/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/autocleanups/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/autocleanups/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/autocleanups/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/autocleanups/.dirs/runtime 679s ok 5 /gdbus/codegen/autocleanups 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/deprecations/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/deprecations/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/deprecations/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/deprecations/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/deprecations/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/deprecations/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/deprecations/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/deprecations/.dirs/runtime 679s ok 6 /gdbus/codegen/deprecations 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/standalone-interface-info/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/standalone-interface-info/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/standalone-interface-info/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/standalone-interface-info/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/standalone-interface-info/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 679s ok 7 /gdbus/codegen/standalone-interface-info 679s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/unix-fd-list/.dirs/home 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/unix-fd-list/.dirs/cache 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/unix-fd-list/.dirs/config 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/unix-fd-list/.dirs/data 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/unix-fd-list/.dirs/state 679s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_L4MWK2/gdbus/codegen/unix-fd-list/.dirs/runtime 679s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 679s ok 8 /gdbus/codegen/unix-fd-list 679s # End of codegen tests 679s # End of gdbus tests 679s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 679s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 679s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 679s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 679s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 679s ok - glib/gdbus-test-codegen-min-required-2-64.test 679s # Running test: glib/refstring.test 679s TAP version 13 679s # random seed: R02S6d5d00eb94479b144188d1bfbece577d 679s 1..5 679s # Start of refstring tests 679s # s = 'hello, world' (0x3d3f0368660) 679s ok 1 /refstring/base 679s ok 2 /refstring/length 679s ok 3 /refstring/length-auto 679s ok 4 /refstring/length-nuls 679s # s = 'hello, world' (0x3d3f0368660) 679s # p = s = 'hello, world' (0x3d3f0368660) 679s # releasing p[0x3d3f0368660] ('hello, world') 679s # p = 'goodbye, world' (0x3d3f03706c0) 679s # releasing p[0x3d3f03706c0] ('goodbye, world') 679s # releasing s[0x3d3f0368660] ('hello, world') 679s ok 5 /refstring/intern 679s # End of refstring tests 679s ok - glib/refstring.test 679s # Running test: glib/utils-c-99.test 679s TAP version 13 679s # random seed: R02S4e0d83c6a9ee0641fe2be72c833421bb 679s 1..40 679s # Start of utils tests 679s ok 1 /utils/language-names 679s ok 2 /utils/locale-variants 679s ok 3 /utils/version 679s ok 4 /utils/appname 679s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 679s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 679s ok 5 /utils/prgname-thread-safety 679s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 679s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 679s ok 6 /utils/tmpdir 679s ok 7 /utils/basic_bits 679s ok 8 /utils/bits 679s ok 9 /utils/swap 679s ok 10 /utils/find-program 679s ok 11 /utils/find-program-for-path 679s ok 12 /utils/debug 679s ok 13 /utils/codeset 679s ok 14 /utils/codeset2 679s ok 15 /utils/console-charset 679s ok 16 /utils/gettext 679s ok 17 /utils/username 679s ok 18 /utils/realname 679s ok 19 /utils/hostname 679s ok 20 /utils/xdgdirs 679s ok 21 /utils/specialdir 679s # NAME: Ubuntu 679s ok 22 /utils/os-info 679s ok 23 /utils/clear-pointer 679s ok 24 /utils/clear-pointer-cast 679s ok 25 /utils/take-pointer 679s ok 26 /utils/clear-source 679s ok 27 /utils/misc-mem 679s # /utils/aligned-mem summary: Aligned memory allocator 679s # Alignment must not be zero 679s # Alignment must be a power of two 679s # Alignment must be a multiple of sizeof(void*) 679s ok 28 /utils/aligned-mem 679s # /utils/free-sized summary: Check that g_free_sized() works 679s ok 29 /utils/free-sized 679s ok 30 /utils/nullify 679s ok 31 /utils/atexit 679s ok 32 /utils/check-setuid 679s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 679s ok 33 /utils/int-limits 679s ok 34 /utils/clear-list 679s ok 35 /utils/clear-slist 679s # Start of specialdir tests 679s ok 36 /utils/specialdir/desktop 679s # End of specialdir tests 679s # Start of clear-pointer tests 679s ok 37 /utils/clear-pointer/side-effects 679s # End of clear-pointer tests 679s # Start of aligned-mem tests 679s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 679s ok 38 /utils/aligned-mem/alignment 679s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 679s ok 39 /utils/aligned-mem/zeroed 679s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 679s ok 40 /utils/aligned-mem/free-sized 679s # Start of subprocess tests 679s # End of subprocess tests 679s # End of aligned-mem tests 679s # End of utils tests 679s ok - glib/utils-c-99.test 679s # Running test: glib/qdata.test 679s TAP version 13 679s # random seed: R02S45be75b47818610a2b350eb298193e58 679s 1..2 679s # Start of qdata tests 679s ok 1 /qdata/threaded 679s ok 2 /qdata/dup 679s # End of qdata tests 679s ok - glib/qdata.test 679s # Running test: glib/contexts.test 679s TAP version 13 679s # random seed: R02S5910378b323cb54c2691ddd85f087852 679s 1..5 679s # Start of gio tests 679s # Start of contexts tests 679s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 679s ok 1 /gio/contexts/thread-independence 679s ok 2 /gio/contexts/context-independence 679s # Start of context-specific tests 679s ok 3 /gio/contexts/context-specific/identity 679s ok 4 /gio/contexts/context-specific/emit 679s ok 5 /gio/contexts/context-specific/emit-and-unref 679s # End of context-specific tests 679s # End of contexts tests 679s # End of gio tests 679s ok - glib/contexts.test 679s # Running test: glib/overflow.test 679s TAP version 13 679s # random seed: R02Sfc2b6b74d61d997401f3d3d8c7bf5ca3 679s 1..6 679s # Start of glib tests 679s # Start of checked-math tests 679s ok 1 /glib/checked-math/guint-add 679s ok 2 /glib/checked-math/guint-mul 679s ok 3 /glib/checked-math/guint64-add 679s ok 4 /glib/checked-math/guint64-mul 679s ok 5 /glib/checked-math/gsize-add 679s ok 6 /glib/checked-math/gsize-mul 679s # End of checked-math tests 679s # End of glib tests 679s ok - glib/overflow.test 679s # Running test: glib/srvtarget.test 679s TAP version 13 679s # random seed: R02S2bd83d02fdbea52c34c9e020722a5e15 679s 1..1 679s # Start of srvtarget tests 679s # Executing: glib/srvtarget.test 680s ok 1 /srvtarget/srv-target-ordering 680s # slow test /srvtarget/srv-target-ordering executed in 0.93 secs 680s # End of srvtarget tests 680s ok - glib/srvtarget.test 680s # Running test: glib/power-profile-monitor.test 680s TAP version 13 680s # random seed: R02S0191085ee494890d6adfc86c2fe2541d 680s 1..1 680s # Start of power-profile-monitor tests 680s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 680s ok 1 /power-profile-monitor/default 680s # End of power-profile-monitor tests 680s ok - glib/power-profile-monitor.test 680s # Running test: glib/642026-ec.test 680s TAP version 13 680s # random seed: R02Scbbf53cb6e95510f80a4deaffdf3cb3e 680s 1..1 680s # Start of glib tests 680s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 680s ok 1 /glib/642026 680s # End of glib tests 680s ok - glib/642026-ec.test 680s # Running test: glib/markup-escape.test 680s TAP version 13 680s # random seed: R02Sbd9940a0d1db0503504a9a84940951dd 680s 1..41 680s # Start of markup tests 680s ok 1 /markup/format 680s # Start of escape-text tests 680s ok 2 /markup/escape-text/0 680s ok 3 /markup/escape-text/1 680s ok 4 /markup/escape-text/2 680s ok 5 /markup/escape-text/3 680s ok 6 /markup/escape-text/4 680s ok 7 /markup/escape-text/5 680s ok 8 /markup/escape-text/6 680s ok 9 /markup/escape-text/7 680s ok 10 /markup/escape-text/8 680s ok 11 /markup/escape-text/9 680s ok 12 /markup/escape-text/10 680s ok 13 /markup/escape-text/11 680s ok 14 /markup/escape-text/12 680s ok 15 /markup/escape-text/13 680s ok 16 /markup/escape-text/14 680s ok 17 /markup/escape-text/15 680s ok 18 /markup/escape-text/16 680s ok 19 /markup/escape-text/17 680s ok 20 /markup/escape-text/18 680s ok 21 /markup/escape-text/19 680s ok 22 /markup/escape-text/20 680s ok 23 /markup/escape-text/21 680s ok 24 /markup/escape-text/22 680s # End of escape-text tests 680s # Start of escape-unichar tests 680s ok 25 /markup/escape-unichar/0 680s ok 26 /markup/escape-unichar/1 680s ok 27 /markup/escape-unichar/2 680s ok 28 /markup/escape-unichar/3 680s ok 29 /markup/escape-unichar/4 680s ok 30 /markup/escape-unichar/5 680s ok 31 /markup/escape-unichar/6 680s ok 32 /markup/escape-unichar/7 680s ok 33 /markup/escape-unichar/8 680s ok 34 /markup/escape-unichar/9 680s ok 35 /markup/escape-unichar/10 680s ok 36 /markup/escape-unichar/11 680s ok 37 /markup/escape-unichar/12 680s ok 38 /markup/escape-unichar/13 680s ok 39 /markup/escape-unichar/14 680s ok 40 /markup/escape-unichar/15 680s ok 41 /markup/escape-unichar/16 680s # End of escape-unichar tests 680s # End of markup tests 680s ok - glib/markup-escape.test 680s # Running test: glib/dataset.test 680s TAP version 13 680s # random seed: R02S16c60cb80f3ebd1c1aa0a73bac9e69c1 680s 1..14 680s # Start of quark tests 680s ok 1 /quark/basic 680s ok 2 /quark/string 680s # End of quark tests 680s # Start of dataset tests 680s ok 3 /dataset/basic 680s ok 4 /dataset/id 680s ok 5 /dataset/full 680s ok 6 /dataset/foreach 680s ok 7 /dataset/destroy 680s # End of dataset tests 680s # Start of datalist tests 680s ok 8 /datalist/basic 680s ok 9 /datalist/id 680s ok 10 /datalist/recursive-clear 680s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 680s ok 11 /datalist/id-remove-multiple 680s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 680s ok 12 /datalist/id-remove-multiple-destroy-order 680s ok 13 /datalist/update-atomic 680s # Start of id-remove-multiple tests 680s ok 14 /datalist/id-remove-multiple/resize 680s # End of id-remove-multiple tests 680s # End of datalist tests 680s ok - glib/dataset.test 680s # Running test: glib/giomodule.test 680s TAP version 13 680s # random seed: R02S277d04f5867297fef2d447955073caf8 680s 1..3 680s # Start of giomodule tests 680s ok 1 /giomodule/extension-point 680s ok 2 /giomodule/module-scan-all 680s ok 3 /giomodule/module-scan-all-with-scope 680s # End of giomodule tests 680s ok - glib/giomodule.test 680s # Running test: glib/assert-msg-test.py.test 680s TAP version 13 680s ok 1 __main__.TestAssertMessage.test_gassert 680s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 680s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 680s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 680s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 680s # Error: ** 680s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 680s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 680s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 680s 1..2 680s ok - glib/assert-msg-test.py.test 680s # Running test: glib/inet-address.test 680s TAP version 13 680s # random seed: R02S3ff6f9a0ea6402676b10f6f699539049 680s 1..11 680s # Start of inet-address tests 680s ok 1 /inet-address/parse 680s ok 2 /inet-address/any 680s ok 3 /inet-address/loopback 680s ok 4 /inet-address/bytes 680s ok 5 /inet-address/property 680s # End of inet-address tests 680s # Start of socket-address tests 680s ok 6 /socket-address/basic 680s ok 7 /socket-address/to-string 680s # End of socket-address tests 680s # Start of address-mask tests 680s ok 8 /address-mask/parse 680s ok 9 /address-mask/property 680s ok 10 /address-mask/equal 680s ok 11 /address-mask/match 680s # End of address-mask tests 680s ok - glib/inet-address.test 680s # Running test: glib/repository-search-paths.test 680s TAP version 13 680s # random seed: R02Sa22791b8776d9515aafe753d77962ae0 680s 1..4 680s # Start of repository tests 680s # Start of search-paths tests 680s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_FKWMK2/repository/search-paths/default/.dirs/home 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_FKWMK2/repository/search-paths/default/.dirs/cache 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_FKWMK2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_FKWMK2/repository/search-paths/default/.dirs/system-config2 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_FKWMK2/repository/search-paths/default/.dirs/config 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_FKWMK2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_FKWMK2/repository/search-paths/default/.dirs/system-data2 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_FKWMK2/repository/search-paths/default/.dirs/data 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_FKWMK2/repository/search-paths/default/.dirs/state 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_FKWMK2/repository/search-paths/default/.dirs/runtime 680s ok 1 /repository/search-paths/default 680s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_FKWMK2/repository/search-paths/prepend/.dirs/home 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_FKWMK2/repository/search-paths/prepend/.dirs/cache 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_FKWMK2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_FKWMK2/repository/search-paths/prepend/.dirs/system-config2 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_FKWMK2/repository/search-paths/prepend/.dirs/config 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_FKWMK2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_FKWMK2/repository/search-paths/prepend/.dirs/system-data2 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_FKWMK2/repository/search-paths/prepend/.dirs/data 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_FKWMK2/repository/search-paths/prepend/.dirs/state 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_FKWMK2/repository/search-paths/prepend/.dirs/runtime 680s ok 2 /repository/search-paths/prepend 680s # End of search-paths tests 680s # Start of library-paths tests 680s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_FKWMK2/repository/library-paths/default/.dirs/home 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_FKWMK2/repository/library-paths/default/.dirs/cache 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_FKWMK2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_FKWMK2/repository/library-paths/default/.dirs/system-config2 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_FKWMK2/repository/library-paths/default/.dirs/config 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_FKWMK2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_FKWMK2/repository/library-paths/default/.dirs/system-data2 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_FKWMK2/repository/library-paths/default/.dirs/data 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_FKWMK2/repository/library-paths/default/.dirs/state 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_FKWMK2/repository/library-paths/default/.dirs/runtime 680s ok 3 /repository/library-paths/default 680s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_FKWMK2/repository/library-paths/prepend/.dirs/home 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_FKWMK2/repository/library-paths/prepend/.dirs/cache 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_FKWMK2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_FKWMK2/repository/library-paths/prepend/.dirs/system-config2 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_FKWMK2/repository/library-paths/prepend/.dirs/config 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_FKWMK2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_FKWMK2/repository/library-paths/prepend/.dirs/system-data2 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_FKWMK2/repository/library-paths/prepend/.dirs/data 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_FKWMK2/repository/library-paths/prepend/.dirs/state 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_FKWMK2/repository/library-paths/prepend/.dirs/runtime 680s ok 4 /repository/library-paths/prepend 680s # End of library-paths tests 680s # End of repository tests 680s ok - glib/repository-search-paths.test 680s # Running test: glib/closure.test 680s TAP version 13 680s # random seed: R02S5fa62bb867f30b1e4ac34f43410c67af 680s 1..6 680s # Start of closure tests 680s ok 1 /closure/idle 680s ok 2 /closure/timeout 680s ok 3 /closure/iochannel 680s ok 4 /closure/child 680s ok 5 /closure/fd 680s ok 6 /closure/signal 680s # End of closure tests 680s ok - glib/closure.test 680s # Running test: glib/gdbus-proxy-well-known-name.test 680s TAP version 13 680s # random seed: R02S817551ddf92ca4fe07b12feb1d93b704 680s 1..1 680s # Start of gdbus tests 680s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_XIVNK2/gdbus/proxy-well-known-name/.dirs/home 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_XIVNK2/gdbus/proxy-well-known-name/.dirs/cache 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_XIVNK2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_XIVNK2/gdbus/proxy-well-known-name/.dirs/system-config2 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_XIVNK2/gdbus/proxy-well-known-name/.dirs/config 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_XIVNK2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_XIVNK2/gdbus/proxy-well-known-name/.dirs/system-data2 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_XIVNK2/gdbus/proxy-well-known-name/.dirs/data 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_XIVNK2/gdbus/proxy-well-known-name/.dirs/state 680s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_XIVNK2/gdbus/proxy-well-known-name/.dirs/runtime 680s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 680s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 680s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 680s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 680s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 680s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 680s ok 1 /gdbus/proxy-well-known-name 680s # End of gdbus tests 680s ok - glib/gdbus-proxy-well-known-name.test 680s # Running test: glib/mutex.test 680s TAP version 13 680s # random seed: R02Sc150b2affb8d2812c2dc234edb1fb733 680s 1..17 680s # Start of thread tests 680s ok 1 /thread/mutex1 680s ok 2 /thread/mutex2 680s ok 3 /thread/mutex3 680s ok 4 /thread/mutex4 684s # Executing: glib/mutex.test 689s # Executing: glib/mutex.test 690s ok 5 /thread/mutex5 690s # slow test /thread/mutex5 executed in 10.05 secs 690s # Start of mutex tests 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 690s # /thread/mutex/errno summary: Validates that errno is not touched upon return 690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 691s ok 6 /thread/mutex/errno 691s # slow test /thread/mutex/errno executed in 0.72 secs 691s # Start of perf tests 691s # max perf: inf mips 691s ok 7 /thread/mutex/perf/uncontended 691s # Start of contended tests 691s # max perf: inf mips 691s ok 8 /thread/mutex/perf/contended/1 691s # max perf: inf mips 691s ok 9 /thread/mutex/perf/contended/2 691s # max perf: 4.000000 mips 691s ok 10 /thread/mutex/perf/contended/3 691s # max perf: inf mips 691s ok 11 /thread/mutex/perf/contended/4 691s # max perf: inf mips 691s ok 12 /thread/mutex/perf/contended/5 691s # max perf: inf mips 691s ok 13 /thread/mutex/perf/contended/6 691s # max perf: 8.000000 mips 691s ok 14 /thread/mutex/perf/contended/7 691s # max perf: 9.000000 mips 691s ok 15 /thread/mutex/perf/contended/8 691s # max perf: 10.000000 mips 691s ok 16 /thread/mutex/perf/contended/9 691s # max perf: 11.000000 mips 691s ok 17 /thread/mutex/perf/contended/10 691s # End of contended tests 691s # End of perf tests 691s # End of mutex tests 691s # End of thread tests 691s ok - glib/mutex.test 691s # Running test: glib/cxx-98.test 691s TAP version 13 691s # random seed: R02S132c9fb22a960ca4433076cd4e718eb7 691s 1..2 691s # Start of gtask tests 691s # 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. 691s ok 1 /gtask/name 691s # Start of name tests 691s # 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. 691s ok 2 /gtask/name/macro-wrapper 691s # End of name tests 691s # End of gtask tests 691s ok - glib/cxx-98.test 691s # Running test: glib/properties-refcount2.test 691s TAP version 13 691s # random seed: R02S449739e6c87b70532bfaa4cb1edd2ff6 691s 1..1 691s # Start of gobject tests 691s # Start of refcount tests 691s # init 0x859c36ce770 691s # 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 691s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 692s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 693s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 694s # Executing: glib/properties-refcount2.test 694s # . 694s # . 694s # . 694s # . 694s # . 694s # . 695s # . 695s # . 695s # . 695s # . 695s # . 695s # dispose 0x859c36ce770! 695s # 695s ok 1 /gobject/refcount/properties-2 695s # slow test /gobject/refcount/properties-2 executed in 3.69 secs 695s # End of refcount tests 695s # End of gobject tests 695s ok - glib/properties-refcount2.test 695s # Running test: glib/cxx-20.test 695s TAP version 13 695s # random seed: R02S39f99eb2280e6b044110234dd1cac477 695s 1..2 695s # Start of gtask tests 695s # 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. 695s ok 1 /gtask/name 695s # Start of name tests 695s # 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. 695s ok 2 /gtask/name/macro-wrapper 695s # End of name tests 695s # End of gtask tests 695s ok - glib/cxx-20.test 695s # Running test: glib/file.test 695s TAP version 13 695s # random seed: R02S28de712b4205cf4344d3baa8ecbf198a 695s 1..50 695s # Start of file tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/basic/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/basic/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/basic/.dirs/system-config1:/tmp/test_file_RDZTK2/file/basic/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/basic/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/basic/.dirs/system-data1:/tmp/test_file_RDZTK2/file/basic/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/basic/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/basic/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/basic/.dirs/runtime 695s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 695s ok 1 /file/basic 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/build-filename/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/build-filename/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/build-filename/.dirs/system-config1:/tmp/test_file_RDZTK2/file/build-filename/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/build-filename/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/build-filename/.dirs/system-data1:/tmp/test_file_RDZTK2/file/build-filename/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/build-filename/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/build-filename/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/build-filename/.dirs/runtime 695s ok 2 /file/build-filename 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/build-filenamev/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/build-filenamev/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_RDZTK2/file/build-filenamev/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/build-filenamev/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_RDZTK2/file/build-filenamev/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/build-filenamev/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/build-filenamev/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/build-filenamev/.dirs/runtime 695s ok 3 /file/build-filenamev 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/parent/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/parent/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/parent/.dirs/system-config1:/tmp/test_file_RDZTK2/file/parent/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/parent/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/parent/.dirs/system-data1:/tmp/test_file_RDZTK2/file/parent/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/parent/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/parent/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/parent/.dirs/runtime 695s ok 4 /file/parent 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/child/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/child/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/child/.dirs/system-config1:/tmp/test_file_RDZTK2/file/child/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/child/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/child/.dirs/system-data1:/tmp/test_file_RDZTK2/file/child/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/child/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/child/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/child/.dirs/runtime 695s ok 5 /file/child 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/empty-path/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/empty-path/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/empty-path/.dirs/system-config1:/tmp/test_file_RDZTK2/file/empty-path/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/empty-path/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/empty-path/.dirs/system-data1:/tmp/test_file_RDZTK2/file/empty-path/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/empty-path/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/empty-path/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/empty-path/.dirs/runtime 695s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 695s # /file/empty-path summary: Check that creating a file with an empty path results in errors 695s ok 6 /file/empty-path 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/type/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/type/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/type/.dirs/system-config1:/tmp/test_file_RDZTK2/file/type/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/type/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/type/.dirs/system-data1:/tmp/test_file_RDZTK2/file/type/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/type/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/type/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/type/.dirs/runtime 695s ok 7 /file/type 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/parse-name/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/parse-name/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/parse-name/.dirs/system-config1:/tmp/test_file_RDZTK2/file/parse-name/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/parse-name/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/parse-name/.dirs/system-data1:/tmp/test_file_RDZTK2/file/parse-name/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/parse-name/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/parse-name/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/parse-name/.dirs/runtime 695s ok 8 /file/parse-name 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/replace-load/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/replace-load/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/replace-load/.dirs/system-config1:/tmp/test_file_RDZTK2/file/replace-load/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/replace-load/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/replace-load/.dirs/system-data1:/tmp/test_file_RDZTK2/file/replace-load/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/replace-load/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/replace-load/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/replace-load/.dirs/runtime 695s ok 9 /file/replace-load 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/replace-cancel/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/replace-cancel/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_RDZTK2/file/replace-cancel/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/replace-cancel/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_RDZTK2/file/replace-cancel/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/replace-cancel/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/replace-cancel/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/replace-cancel/.dirs/runtime 695s # Bug Reference: https://bugzilla.gnome.org/629301 695s ok 10 /file/replace-cancel 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/replace-symlink/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/replace-symlink/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_RDZTK2/file/replace-symlink/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/replace-symlink/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_RDZTK2/file/replace-symlink/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/replace-symlink/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/replace-symlink/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/replace-symlink/.dirs/runtime 695s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 695s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 695s # Using temporary directory /tmp/test_file_RDZTK2/g_file_replace_symlink_6PQTK2 695s ok 11 /file/replace-symlink 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/async-new-tmp/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/async-new-tmp/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_RDZTK2/file/async-new-tmp/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/async-new-tmp/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_RDZTK2/file/async-new-tmp/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/async-new-tmp/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/async-new-tmp/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/async-new-tmp/.dirs/runtime 695s ok 12 /file/async-new-tmp 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/async-new-tmp-dir/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/async-new-tmp-dir/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_RDZTK2/file/async-new-tmp-dir/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/async-new-tmp-dir/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_RDZTK2/file/async-new-tmp-dir/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/async-new-tmp-dir/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/async-new-tmp-dir/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/async-new-tmp-dir/.dirs/runtime 695s ok 13 /file/async-new-tmp-dir 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/async-delete/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/async-delete/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/async-delete/.dirs/system-config1:/tmp/test_file_RDZTK2/file/async-delete/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/async-delete/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/async-delete/.dirs/system-data1:/tmp/test_file_RDZTK2/file/async-delete/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/async-delete/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/async-delete/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/async-delete/.dirs/runtime 695s ok 14 /file/async-delete 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/async-make-symlink/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/async-make-symlink/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_RDZTK2/file/async-make-symlink/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/async-make-symlink/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_RDZTK2/file/async-make-symlink/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/async-make-symlink/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/async-make-symlink/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/async-make-symlink/.dirs/runtime 695s ok 15 /file/async-make-symlink 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/copy-preserve-mode/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/copy-preserve-mode/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_RDZTK2/file/copy-preserve-mode/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/copy-preserve-mode/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_RDZTK2/file/copy-preserve-mode/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/copy-preserve-mode/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/copy-preserve-mode/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/copy-preserve-mode/.dirs/runtime 695s # Current umask: 2 695s # Vector 0 695s # Vector 1 695s # Vector 2 695s # Vector 3 695s # Vector 4 695s # Vector 5 695s # Vector 6 695s # Vector 7 695s # Vector 8 695s # Vector 9 695s # Vector 10 695s ok 16 /file/copy-preserve-mode 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/measure/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/measure/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/measure/.dirs/system-config1:/tmp/test_file_RDZTK2/file/measure/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/measure/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/measure/.dirs/system-data1:/tmp/test_file_RDZTK2/file/measure/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/measure/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/measure/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/measure/.dirs/runtime 695s ok 17 /file/measure 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/measure-async/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/measure-async/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/measure-async/.dirs/system-config1:/tmp/test_file_RDZTK2/file/measure-async/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/measure-async/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/measure-async/.dirs/system-data1:/tmp/test_file_RDZTK2/file/measure-async/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/measure-async/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/measure-async/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/measure-async/.dirs/runtime 695s ok 18 /file/measure-async 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/load-bytes/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/load-bytes/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/load-bytes/.dirs/system-config1:/tmp/test_file_RDZTK2/file/load-bytes/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/load-bytes/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/load-bytes/.dirs/system-data1:/tmp/test_file_RDZTK2/file/load-bytes/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/load-bytes/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/load-bytes/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/load-bytes/.dirs/runtime 695s ok 19 /file/load-bytes 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/load-bytes-async/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/load-bytes-async/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_RDZTK2/file/load-bytes-async/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/load-bytes-async/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_RDZTK2/file/load-bytes-async/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/load-bytes-async/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/load-bytes-async/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/load-bytes-async/.dirs/runtime 695s ok 20 /file/load-bytes-async 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/writev/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/writev/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/writev/.dirs/system-config1:/tmp/test_file_RDZTK2/file/writev/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/writev/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/writev/.dirs/system-data1:/tmp/test_file_RDZTK2/file/writev/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/writev/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/writev/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/writev/.dirs/runtime 695s ok 21 /file/writev 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/build-attribute-list-for-copy/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/build-attribute-list-for-copy/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_RDZTK2/file/build-attribute-list-for-copy/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/build-attribute-list-for-copy/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_RDZTK2/file/build-attribute-list-for-copy/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/build-attribute-list-for-copy/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/build-attribute-list-for-copy/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/build-attribute-list-for-copy/.dirs/runtime 695s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 695s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 695s # 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::* 695s # 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::* 695s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 695s # Attributes for copy: standard::size,xattr::* 695s # Attributes for copy: standard::size,unix::mode,xattr::* 695s ok 22 /file/build-attribute-list-for-copy 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/move_async/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/move_async/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/move_async/.dirs/system-config1:/tmp/test_file_RDZTK2/file/move_async/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/move_async/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/move_async/.dirs/system-data1:/tmp/test_file_RDZTK2/file/move_async/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/move_async/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/move_async/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/move_async/.dirs/runtime 695s ok 23 /file/move_async 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/query-zero-length-content-type/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/query-zero-length-content-type/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_RDZTK2/file/query-zero-length-content-type/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/query-zero-length-content-type/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_RDZTK2/file/query-zero-length-content-type/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/query-zero-length-content-type/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/query-zero-length-content-type/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/query-zero-length-content-type/.dirs/runtime 695s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 695s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 695s ok 24 /file/query-zero-length-content-type 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/query-default-handler-file/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/query-default-handler-file/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_RDZTK2/file/query-default-handler-file/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/query-default-handler-file/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_RDZTK2/file/query-default-handler-file/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/query-default-handler-file/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/query-default-handler-file/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/query-default-handler-file/.dirs/runtime 695s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RDZTK2/file/query-default-handler-file/.dirs/data/applications 695s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RDZTK2/file/query-default-handler-file/.dirs/config 695s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RDZTK2/file/query-default-handler-file/.dirs/config 695s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RDZTK2/file/query-default-handler-file/.dirs/config 695s ok 25 /file/query-default-handler-file 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/query-default-handler-file-async/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/query-default-handler-file-async/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_RDZTK2/file/query-default-handler-file-async/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/query-default-handler-file-async/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_RDZTK2/file/query-default-handler-file-async/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/query-default-handler-file-async/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/query-default-handler-file-async/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/query-default-handler-file-async/.dirs/runtime 695s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RDZTK2/file/query-default-handler-file-async/.dirs/data/applications 695s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RDZTK2/file/query-default-handler-file-async/.dirs/config 695s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_RDZTK2/file/query-default-handler-file/.dirs/config to /tmp/test_file_RDZTK2/file/query-default-handler-file-async/.dirs/config 695s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RDZTK2/file/query-default-handler-file-async/.dirs/config 695s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RDZTK2/file/query-default-handler-file-async/.dirs/config 695s ok 26 /file/query-default-handler-file-async 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/query-default-handler-uri/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/query-default-handler-uri/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_RDZTK2/file/query-default-handler-uri/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/query-default-handler-uri/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_RDZTK2/file/query-default-handler-uri/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/query-default-handler-uri/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/query-default-handler-uri/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/query-default-handler-uri/.dirs/runtime 695s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RDZTK2/file/query-default-handler-uri/.dirs/data/applications 695s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RDZTK2/file/query-default-handler-uri/.dirs/config 695s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_RDZTK2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_RDZTK2/file/query-default-handler-uri/.dirs/config 695s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RDZTK2/file/query-default-handler-uri/.dirs/config 695s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RDZTK2/file/query-default-handler-uri/.dirs/config 695s ok 27 /file/query-default-handler-uri 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/query-default-handler-uri-async/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/query-default-handler-uri-async/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_RDZTK2/file/query-default-handler-uri-async/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/query-default-handler-uri-async/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_RDZTK2/file/query-default-handler-uri-async/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/query-default-handler-uri-async/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/query-default-handler-uri-async/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/query-default-handler-uri-async/.dirs/runtime 695s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RDZTK2/file/query-default-handler-uri-async/.dirs/data/applications 695s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RDZTK2/file/query-default-handler-uri-async/.dirs/config 695s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_RDZTK2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_RDZTK2/file/query-default-handler-uri-async/.dirs/config 695s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RDZTK2/file/query-default-handler-uri-async/.dirs/config 695s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_RDZTK2/file/query-default-handler-uri-async/.dirs/config 695s ok 28 /file/query-default-handler-uri-async 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/enumerator-cancellation/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/enumerator-cancellation/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_RDZTK2/file/enumerator-cancellation/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/enumerator-cancellation/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_RDZTK2/file/enumerator-cancellation/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/enumerator-cancellation/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/enumerator-cancellation/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/enumerator-cancellation/.dirs/runtime 695s ok 29 /file/enumerator-cancellation 695s # Start of async-create-delete tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/async-create-delete/0/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/0/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_RDZTK2/file/async-create-delete/0/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/0/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_RDZTK2/file/async-create-delete/0/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/0/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/0/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/async-create-delete/0/.dirs/runtime 695s ok 30 /file/async-create-delete/0 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/async-create-delete/1/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/1/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_RDZTK2/file/async-create-delete/1/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/1/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_RDZTK2/file/async-create-delete/1/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/1/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/1/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/async-create-delete/1/.dirs/runtime 695s ok 31 /file/async-create-delete/1 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/async-create-delete/10/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/10/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_RDZTK2/file/async-create-delete/10/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/10/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_RDZTK2/file/async-create-delete/10/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/10/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/10/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/async-create-delete/10/.dirs/runtime 695s ok 32 /file/async-create-delete/10 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/async-create-delete/25/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/25/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_RDZTK2/file/async-create-delete/25/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/25/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_RDZTK2/file/async-create-delete/25/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/25/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/25/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/async-create-delete/25/.dirs/runtime 695s ok 33 /file/async-create-delete/25 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/async-create-delete/4096/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/4096/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_RDZTK2/file/async-create-delete/4096/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/4096/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_RDZTK2/file/async-create-delete/4096/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/4096/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/async-create-delete/4096/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/async-create-delete/4096/.dirs/runtime 695s ok 34 /file/async-create-delete/4096 695s # End of async-create-delete tests 695s # Start of replace-symlink tests 695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/replace-symlink/using-etag/.dirs/home 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/replace-symlink/using-etag/.dirs/cache 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_RDZTK2/file/replace-symlink/using-etag/.dirs/system-config2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/replace-symlink/using-etag/.dirs/config 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_RDZTK2/file/replace-symlink/using-etag/.dirs/system-data2 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/replace-symlink/using-etag/.dirs/data 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/replace-symlink/using-etag/.dirs/state 695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/replace-symlink/using-etag/.dirs/runtime 695s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 695s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 695s # Using temporary directory /tmp/test_file_RDZTK2/g_file_replace_symlink_using_etag_PZN1K2 697s ok 35 /file/replace-symlink/using-etag 697s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 697s # End of replace-symlink tests 697s # Start of replace tests 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/replace/write-only/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/replace/write-only/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_RDZTK2/file/replace/write-only/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/replace/write-only/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_RDZTK2/file/replace/write-only/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/replace/write-only/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/replace/write-only/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/replace/write-only/.dirs/runtime 697s # /file/replace/write-only summary: Test various situations for g_file_replace() 697s # Current umask: 2 697s # Test 0, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_BSK1K2 697s # Test 1, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_3IJ1K2 697s # Test 2, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_81I1K2 697s # Test 3, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_FBI1K2 697s # Test 4, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_K3G1K2 697s # Test 5, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_I8G1K2 697s # Test 6, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_CSG1K2 697s # Test 7, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_5ME1K2 697s # Test 8, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_4UE1K2 697s # Test 9, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_A5E1K2 697s # Test 10, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_0DE1K2 697s # Test 11, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_S6VLK2 697s # Test 12, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_0GWLK2 697s # Test 13, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_RCVLK2 697s # Test 14, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_9OULK2 697s # Test 15, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_HUSLK2 697s # Test 16, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_97RLK2 697s # Test 17, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_CSRLK2 697s # Test 18, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_0OPLK2 697s # Test 19, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_D7OLK2 697s # Test 20, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_KJOLK2 697s # Test 21, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_H1NLK2 697s # Test 22, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_HXLLK2 697s # Test 23, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_D4LLK2 697s # Test 24, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_CPLLK2 697s # Test 25, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_XDJLK2 697s # Test 26, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_5PJLK2 697s # Test 27, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_5UJLK2 697s # Test 28, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_O7ILK2 697s # Test 29, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_60GLK2 697s # Test 30, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_U7GLK2 697s # Test 31, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_FEHLK2 697s # Test 32, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_0KFLK2 697s # Test 33, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_LTELK2 697s # Test 34, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_N4ELK2 697s # Test 35, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_JZDLK2 697s # Test 36, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_O8CLK2 697s # Test 37, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_MKCLK2 697s # Test 38, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_4VBLK2 697s # Test 39, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_B39KK2 697s # Test 40, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_3N9KK2 697s # Test 41, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_H28KK2 697s # Test 42, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_JDLMK2 697s # Test 43, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_8SKMK2 697s # Test 44, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_LBKMK2 697s # Test 45, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_N1IMK2 697s # Test 46, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_YMIMK2 697s # Test 47, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_DVIMK2 697s # Test 48, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_MOGMK2 697s # We do not have CAP_DAC_OVERRIDE or equivalent 697s ok 36 /file/replace/write-only 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/replace/read-write/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/replace/read-write/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_RDZTK2/file/replace/read-write/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/replace/read-write/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_RDZTK2/file/replace/read-write/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/replace/read-write/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/replace/read-write/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/replace/read-write/.dirs/runtime 697s # /file/replace/read-write summary: Test various situations for g_file_replace() 697s # Current umask: 2 697s # Test 0, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_SBHMK2 697s # Test 1, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_UTFMK2 697s # Test 2, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_7IFMK2 697s # Test 3, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_2ZEMK2 697s # Test 4, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_3QDMK2 697s # Test 5, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_X0DMK2 697s # Test 6, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_MVBMK2 697s # Test 7, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_8JAMK2 697s # Test 8, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_3SAMK2 697s # Test 9, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_2ZAMK2 697s # Test 10, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_G38LK2 697s # Test 11, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_8E7LK2 697s # Test 12, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_7R7LK2 697s # Test 13, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_6B6LK2 697s # Test 14, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_XQ5LK2 697s # Test 15, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_J64LK2 697s # Test 16, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_WM4LK2 697s # Test 17, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_IJ2LK2 697s # Test 18, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_1Y1LK2 697s # Test 19, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_HB1LK2 697s # Test 20, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_GQ0LK2 697s # Test 21, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_QIYLK2 697s # Test 22, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_J1XLK2 697s # Test 23, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_B6XLK2 697s # Test 24, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_FNXLK2 697s # Test 25, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_L19MK2 697s # Test 26, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_FDANK2 697s # Test 27, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_I58MK2 697s # Test 28, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_RK8MK2 697s # Test 29, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_M97MK2 697s # Test 30, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_EZ6MK2 697s # Test 31, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_C66MK2 697s # Test 32, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_644MK2 697s # Test 33, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_1O4MK2 697s # Test 34, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_B44MK2 697s # Test 35, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_DV3MK2 697s # Test 36, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_ED3MK2 697s # Test 37, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_BK1MK2 697s # Test 38, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_PY0MK2 697s # Test 39, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_LWYMK2 697s # Test 40, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_98XMK2 697s # Test 41, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_UTXMK2 697s # Test 42, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_L7WMK2 697s # Test 43, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_J5UMK2 697s # Test 44, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_IFUMK2 697s # Test 45, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_0MUMK2 697s # Test 46, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_ILSMK2 697s # Test 47, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_2QSMK2 697s # Test 48, using temporary directory /tmp/test_file_RDZTK2/g_file_replace_16RMK2 697s # We do not have CAP_DAC_OVERRIDE or equivalent 697s ok 37 /file/replace/read-write 697s # End of replace tests 697s # Start of copy tests 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/copy/progress/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/copy/progress/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/copy/progress/.dirs/system-config1:/tmp/test_file_RDZTK2/file/copy/progress/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/copy/progress/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/copy/progress/.dirs/system-data1:/tmp/test_file_RDZTK2/file/copy/progress/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/copy/progress/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/copy/progress/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/copy/progress/.dirs/runtime 697s ok 38 /file/copy/progress 697s # End of copy tests 697s # Start of writev tests 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/writev/no-bytes-written/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/writev/no-bytes-written/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_RDZTK2/file/writev/no-bytes-written/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/writev/no-bytes-written/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_RDZTK2/file/writev/no-bytes-written/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/writev/no-bytes-written/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/writev/no-bytes-written/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/writev/no-bytes-written/.dirs/runtime 697s ok 39 /file/writev/no-bytes-written 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/writev/no-vectors/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/writev/no-vectors/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_RDZTK2/file/writev/no-vectors/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/writev/no-vectors/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_RDZTK2/file/writev/no-vectors/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/writev/no-vectors/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/writev/no-vectors/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/writev/no-vectors/.dirs/runtime 697s ok 40 /file/writev/no-vectors 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/writev/empty-vectors/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/writev/empty-vectors/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_RDZTK2/file/writev/empty-vectors/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/writev/empty-vectors/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_RDZTK2/file/writev/empty-vectors/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/writev/empty-vectors/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/writev/empty-vectors/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/writev/empty-vectors/.dirs/runtime 697s ok 41 /file/writev/empty-vectors 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/writev/too-big-vectors/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/writev/too-big-vectors/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_RDZTK2/file/writev/too-big-vectors/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/writev/too-big-vectors/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_RDZTK2/file/writev/too-big-vectors/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/writev/too-big-vectors/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/writev/too-big-vectors/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/writev/too-big-vectors/.dirs/runtime 697s ok 42 /file/writev/too-big-vectors 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/writev/async/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/writev/async/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/writev/async/.dirs/system-config1:/tmp/test_file_RDZTK2/file/writev/async/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/writev/async/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/writev/async/.dirs/system-data1:/tmp/test_file_RDZTK2/file/writev/async/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/writev/async/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/writev/async/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/writev/async/.dirs/runtime 697s ok 43 /file/writev/async 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/writev/async_all/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/writev/async_all/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_RDZTK2/file/writev/async_all/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/writev/async_all/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_RDZTK2/file/writev/async_all/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/writev/async_all/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/writev/async_all/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/writev/async_all/.dirs/runtime 697s ok 44 /file/writev/async_all 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/writev/async_all-empty-vectors/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/writev/async_all-empty-vectors/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_RDZTK2/file/writev/async_all-empty-vectors/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/writev/async_all-empty-vectors/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_RDZTK2/file/writev/async_all-empty-vectors/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/writev/async_all-empty-vectors/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/writev/async_all-empty-vectors/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/writev/async_all-empty-vectors/.dirs/runtime 697s ok 45 /file/writev/async_all-empty-vectors 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/writev/async_all-no-vectors/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/writev/async_all-no-vectors/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_RDZTK2/file/writev/async_all-no-vectors/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/writev/async_all-no-vectors/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_RDZTK2/file/writev/async_all-no-vectors/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/writev/async_all-no-vectors/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/writev/async_all-no-vectors/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/writev/async_all-no-vectors/.dirs/runtime 697s ok 46 /file/writev/async_all-no-vectors 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/writev/async_all-to-big-vectors/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/writev/async_all-to-big-vectors/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_RDZTK2/file/writev/async_all-to-big-vectors/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/writev/async_all-to-big-vectors/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_RDZTK2/file/writev/async_all-to-big-vectors/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/writev/async_all-to-big-vectors/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/writev/async_all-to-big-vectors/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/writev/async_all-to-big-vectors/.dirs/runtime 697s ok 47 /file/writev/async_all-to-big-vectors 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/writev/async_all-cancellation/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/writev/async_all-cancellation/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_RDZTK2/file/writev/async_all-cancellation/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/writev/async_all-cancellation/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_RDZTK2/file/writev/async_all-cancellation/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/writev/async_all-cancellation/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/writev/async_all-cancellation/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/writev/async_all-cancellation/.dirs/runtime 697s ok 48 /file/writev/async_all-cancellation 697s # End of writev tests 697s # Start of from-uri tests 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/from-uri/ignores-query-string/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/from-uri/ignores-query-string/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_RDZTK2/file/from-uri/ignores-query-string/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/from-uri/ignores-query-string/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_RDZTK2/file/from-uri/ignores-query-string/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/from-uri/ignores-query-string/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/from-uri/ignores-query-string/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/from-uri/ignores-query-string/.dirs/runtime 697s ok 49 /file/from-uri/ignores-query-string 697s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_RDZTK2/file/from-uri/ignores-fragment/.dirs/home 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_RDZTK2/file/from-uri/ignores-fragment/.dirs/cache 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_RDZTK2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_RDZTK2/file/from-uri/ignores-fragment/.dirs/system-config2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_RDZTK2/file/from-uri/ignores-fragment/.dirs/config 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_RDZTK2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_RDZTK2/file/from-uri/ignores-fragment/.dirs/system-data2 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_RDZTK2/file/from-uri/ignores-fragment/.dirs/data 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_RDZTK2/file/from-uri/ignores-fragment/.dirs/state 697s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_RDZTK2/file/from-uri/ignores-fragment/.dirs/runtime 697s ok 50 /file/from-uri/ignores-fragment 697s # End of from-uri tests 697s # End of file tests 697s ok - glib/file.test 697s # Running test: glib/notify-init.test 697s TAP version 13 697s # random seed: R02S6515a3c342ed6c848e272a66c50a4706 697s 1..1 697s # Start of properties tests 697s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 697s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 697s ok 1 /properties/notify-in-init 697s # End of properties tests 697s ok - glib/notify-init.test 697s # Running test: glib/dynamictests.test 697s TAP version 13 697s # random seed: R02Sd6abd0361476d0ec1c90ba0b9a3ba669 697s 1..2 697s # Start of GObject tests 697s ok 1 /GObject/threaded-dynamic-ref-unref-init 697s ok 2 /GObject/dynamic-interface-properties 697s # End of GObject tests 697s ok - glib/dynamictests.test 697s # Running test: glib/bindinggroup.test 697s TAP version 13 697s # random seed: R02S5b70f8c96f502e1bb4c182ee453fbe7f 697s 1..11 697s # Start of GObject tests 697s # Start of BindingGroup tests 697s ok 1 /GObject/BindingGroup/invalid 697s ok 2 /GObject/BindingGroup/default 697s ok 3 /GObject/BindingGroup/bidirectional 697s ok 4 /GObject/BindingGroup/transform 697s ok 5 /GObject/BindingGroup/transform-closures 697s ok 6 /GObject/BindingGroup/same-object 697s ok 7 /GObject/BindingGroup/weak-ref-source 697s ok 8 /GObject/BindingGroup/weak-ref-target 697s ok 9 /GObject/BindingGroup/properties 697s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 697s ok 11 /GObject/BindingGroup/empty-closures 697s # End of BindingGroup tests 697s # End of GObject tests 697s ok - glib/bindinggroup.test 697s # Running test: glib/1bit-mutex.test 697s TAP version 13 697s # random seed: R02Sa2996e1f5918755d4a7014af23116d28 697s 1..2 697s # Start of glib tests 697s # Start of 1bit-mutex tests 699s # Executing: glib/1bit-mutex.test 704s # Executing: glib/1bit-mutex.test 708s ok 1 /glib/1bit-mutex/int 708s # slow test /glib/1bit-mutex/int executed in 10.21 secs 709s # Executing: glib/1bit-mutex.test 714s # Executing: glib/1bit-mutex.test 718s ok 2 /glib/1bit-mutex/pointer 718s # slow test /glib/1bit-mutex/pointer executed in 10.21 secs 718s # End of 1bit-mutex tests 718s # End of glib tests 718s ok - glib/1bit-mutex.test 718s # Running test: glib/sort.test 718s TAP version 13 718s # random seed: R02Sef4c68751fdb39855c27eaa6244083de 718s 1..4 718s # Start of sort tests 718s ok 1 /sort/basic 718s ok 2 /sort/zero-elements 718s ok 3 /sort/stable 718s ok 4 /sort/big 718s # End of sort tests 718s ok - glib/sort.test 718s # Running test: glib/socket-address.test 718s TAP version 13 718s # random seed: R02S8ed85cddac6ec26b6432c57dbe19a388 718s 1..2 718s # Start of socket tests 718s # Start of address tests 718s # Start of unix tests 718s ok 1 /socket/address/unix/construct 718s ok 2 /socket/address/unix/to-string 718s # End of unix tests 718s # End of address tests 718s # End of socket tests 718s ok - glib/socket-address.test 718s # Running test: glib/g-file.test 718s TAP version 13 718s # random seed: R02Scd1033247376d866ef2317f0a2422b88 718s 1..8 718s # Start of g-file tests 718s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 718s ok 1 /g-file/test_g_file_new_null 718s ok 2 /g-file/test_g_file_new_for_path 718s ok 3 /g-file/test_g_file_new_for_uri 718s ok 4 /g-file/test_g_file_dup 718s ok 5 /g-file/test_g_file_get_parse_name_utf8 718s file:///tmp/test-tmp-glib_g-file.test-FPRVK2 718s file:///tmp 718s file:///tmp 718s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 718s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 718s ok 6 /g-file/test_g_file_new_for_commandline_arg 718s /dir1 /dir1/dir2/dir3/ 718s /dir1/ /dir1/dir2/dir3/ 718s /dir1 /dir1/dir2/dir3 718s /dir1/ /dir1/dir2/dir3 718s /tmp/ /something/ 718s /dir1/dir2 /dir1/ 718s //dir1/new //dir1/new/dir2/dir3 718s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 718s file:///dir1 file:///dir1/dir2/dir3/ 718s file:///dir1/ file:///dir1/dir2/dir3/ 718s file:///dir1 file:///dir1/dir2/dir3 718s file:///dir1/ file:///dir1/dir2/dir3 718s file:///tmp/ file:///something/ 718s file:///dir1/dir2 file:///dir1/ 718s file:////dir1/new file:////dir1/new/dir2/dir3 718s 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 718s ok 7 /g-file/test_g_file_has_prefix 718s ok 8 /g-file/test_g_file_get_parent_child 718s # End of g-file tests 718s ok - glib/g-file.test 718s # Running test: glib/macros.test 718s TAP version 13 718s # random seed: R02S1c089ee5e65d184212e7867f7e962533 718s 1..3 718s # Start of alignof tests 718s ok 1 /alignof/fallback 718s # End of alignof tests 718s # Start of assert tests 718s ok 2 /assert/static 718s # End of assert tests 718s # Start of struct tests 718s ok 3 /struct/sizeof_member 718s # End of struct tests 718s ok - glib/macros.test 718s # Running test: glib/base64.test 718s TAP version 13 718s # random seed: R02Sa592707252a9b418ad3d7c70934c00b3 718s 1..28 718s # Start of base64 tests 718s ok 1 /base64/encode 718s ok 2 /base64/decode 718s ok 3 /base64/decode-inplace 718s ok 4 /base64/encode-decode 718s # Start of full tests 718s ok 5 /base64/full/1 718s ok 6 /base64/full/2 718s ok 7 /base64/full/3 718s ok 8 /base64/full/4 718s # End of full tests 718s # Start of encode tests 718s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 718s ok 9 /base64/encode/empty 718s # Start of incremental tests 718s # Start of small-block tests 718s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 718s ok 10 /base64/encode/incremental/small-block/1 718s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 718s ok 11 /base64/encode/incremental/small-block/2 718s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 718s ok 12 /base64/encode/incremental/small-block/3 718s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 718s ok 13 /base64/encode/incremental/small-block/4 718s # End of small-block tests 718s # End of incremental tests 718s # End of encode tests 718s # Start of incremental tests 718s # Start of nobreak tests 718s ok 14 /base64/incremental/nobreak/1 718s ok 15 /base64/incremental/nobreak/2 718s ok 16 /base64/incremental/nobreak/3 718s ok 17 /base64/incremental/nobreak/4-a 718s ok 18 /base64/incremental/nobreak/4-b 718s ok 19 /base64/incremental/nobreak/4-c 718s # End of nobreak tests 718s # Start of break tests 718s ok 20 /base64/incremental/break/1 718s ok 21 /base64/incremental/break/2 718s ok 22 /base64/incremental/break/3 718s # End of break tests 718s # Start of smallblock tests 718s ok 23 /base64/incremental/smallblock/1 718s ok 24 /base64/incremental/smallblock/2 718s ok 25 /base64/incremental/smallblock/3 718s ok 26 /base64/incremental/smallblock/4 718s # End of smallblock tests 718s # End of incremental tests 718s # Start of decode tests 718s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 718s ok 27 /base64/decode/empty 718s # End of decode tests 718s # Start of encode-decode tests 718s # Vector 0: 718s # Vector 1: f 718s # Vector 2: fo 718s # Vector 3: foo 718s # Vector 4: foob 718s # Vector 5: fooba 718s # Vector 6: foobar 718s ok 28 /base64/encode-decode/rfc4648 718s # End of encode-decode tests 718s # End of base64 tests 718s ok - glib/base64.test 718s # Running test: glib/timer.test 718s TAP version 13 718s # random seed: R02S63e7a1f9be51754b5266c0b0e39faaf7 718s 1..10 718s # Start of timer tests 718s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 718s ok 2 /timer/stop 718s ok 3 /timer/continue 718s ok 4 /timer/reset 718s ok 5 /timer/is_active 718s # End of timer tests 718s # Start of timeval tests 718s ok 6 /timeval/add 718s ok 7 /timeval/from-iso8601 718s ok 8 /timeval/to-iso8601 718s # Start of to-iso8601 tests 718s ok 9 /timeval/to-iso8601/overflow 718s # End of to-iso8601 tests 718s # End of timeval tests 718s # Start of usleep tests 718s ok 10 /usleep/with-zero-wait 718s # End of usleep tests 718s ok - glib/timer.test 718s # Running test: glib/power-profile-monitor-dbus.test 718s TAP version 13 718s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 718s 1..1 718s ok - glib/power-profile-monitor-dbus.test 718s # Running test: glib/mapping.test 718s TAP version 13 718s # random seed: R02S06afcbb3f3d05fe3db0ab3afa154cc0b 718s 1..3 718s # Start of mapping tests 718s # test_mapping: ok 718s ok 1 /mapping/flags 718s ok 2 /mapping/private 718s # Subtest: /usr/libexec/installed-tests/glib/mapping 718s # # random seed: R02S0970f8a73098a21b9d74e4f98f5f25b2 718s # test_child_private: child spawned 718s # test_child_private: received first child signal 718s # # test_child_private: received parent signal 718s # test_child_private: received second child signal 718s ok 3 /mapping/private-child 718s # End of mapping tests 718s ok - glib/mapping.test 718s # Running test: glib/rwlock.test 718s TAP version 13 718s # random seed: R02S86634ca86696ddce61417da3cc4d88fd 718s 1..8 718s # Start of thread tests 718s ok 1 /thread/rwlock1 718s ok 2 /thread/rwlock2 718s ok 3 /thread/rwlock3 718s ok 4 /thread/rwlock4 718s ok 5 /thread/rwlock5 718s ok 6 /thread/rwlock6 719s # Executing: glib/rwlock.test 724s # Executing: glib/rwlock.test 728s ok 7 /thread/rwlock7 728s # slow test /thread/rwlock7 executed in 10.21 secs 728s ok 8 /thread/rwlock8 728s # End of thread tests 728s ok - glib/rwlock.test 728s # Running test: glib/resources.test 728s TAP version 13 728s # random seed: R02Sa2c21caf1ce0c61487278edacdcf0831 728s 1..17 728s # Start of resource tests 728s ok 1 /resource/file 728s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 729s ok 2 /resource/file-path 729s ok 3 /resource/data 729s ok 4 /resource/data_unaligned 729s ok 5 /resource/data-corrupt 729s ok 6 /resource/data-empty 729s ok 7 /resource/registered 729s ok 8 /resource/manual 729s ok 9 /resource/manual2 729s ok 10 /resource/automatic 729s ok 11 /resource/module 729s ok 12 /resource/binary-linked 729s ok 13 /resource/64k 729s GLib-GIO-Message: 06:04:26.890: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 729s ok 14 /resource/overlay 729s ok 15 /resource/digits 729s # Start of uri tests 729s ok 16 /resource/uri/query-info 729s ok 17 /resource/uri/file 729s # End of uri tests 729s # End of resource tests 729s ok - glib/resources.test 729s # Running test: glib/gdbus-threading.test 729s TAP version 13 729s # random seed: R02S859d2fe8b72031ad2d79421ad128ce80 729s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 729s ok - glib/gdbus-threading.test 729s # Running test: glib/permission.test 729s TAP version 13 729s # random seed: R02Sec3db232d9e159c6701152ebbb677fae 729s 1..1 729s # Start of permission tests 729s ok 1 /permission/simple 729s # End of permission tests 729s ok - glib/permission.test 729s # Running test: glib/signalgroup.test 729s TAP version 13 729s # random seed: R02Sca00dd4404b22b99bf8d44abd0f491f8 729s 1..9 729s # Start of GObject tests 729s # Start of SignalGroup tests 729s ok 1 /GObject/SignalGroup/invalid 729s ok 2 /GObject/SignalGroup/simple 729s ok 3 /GObject/SignalGroup/changing-target 729s ok 4 /GObject/SignalGroup/blocking 729s ok 5 /GObject/SignalGroup/weak-ref-target 729s ok 6 /GObject/SignalGroup/connect-object 729s ok 7 /GObject/SignalGroup/signal-parsing 729s ok 8 /GObject/SignalGroup/properties 729s ok 9 /GObject/SignalGroup/interface 729s # Start of signal-parsing tests 729s # End of signal-parsing tests 729s # End of SignalGroup tests 729s # End of GObject tests 729s ok - glib/signalgroup.test 729s # Running test: glib/gutils-user-database.test 729s TAP version 13 729s # random seed: R02S9fb68a7c1c3c75a8bf6ac57a10497317 729s 1..1 729s # Start of gutils tests 729s ok 1 /gutils/get_user_database_entry 729s # End of gutils tests 729s ok - glib/gutils-user-database.test 729s # Running test: glib/mount-operation.test 729s TAP version 13 729s # random seed: R02S26e2cc4409f673b65b84ab6b2aa1ccf8 729s 1..2 729s # Start of mount-operation tests 729s ok 1 /mount-operation/construction 729s ok 2 /mount-operation/properties 729s # End of mount-operation tests 729s ok - glib/mount-operation.test 729s # Running test: glib/utils-isolated.test 729s TAP version 13 729s # random seed: R02S9c8d0b1f8faf574fa1aa1786c736182b 729s 1..9 729s # Start of utils-isolated tests 729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/tmp-dir/.dirs/home 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/tmp-dir/.dirs/cache 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1YLOK2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_1YLOK2/utils-isolated/tmp-dir/.dirs/system-config2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/tmp-dir/.dirs/config 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1YLOK2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_1YLOK2/utils-isolated/tmp-dir/.dirs/system-data2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/tmp-dir/.dirs/data 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/tmp-dir/.dirs/state 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1YLOK2/utils-isolated/tmp-dir/.dirs/runtime 729s ok 1 /utils-isolated/tmp-dir 729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/home-dir/.dirs/home 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/home-dir/.dirs/cache 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1YLOK2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_1YLOK2/utils-isolated/home-dir/.dirs/system-config2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/home-dir/.dirs/config 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1YLOK2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_1YLOK2/utils-isolated/home-dir/.dirs/system-data2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/home-dir/.dirs/data 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/home-dir/.dirs/state 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1YLOK2/utils-isolated/home-dir/.dirs/runtime 729s ok 2 /utils-isolated/home-dir 729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-cache-dir/.dirs/home 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-cache-dir/.dirs/cache 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_1YLOK2/utils-isolated/user-cache-dir/.dirs/system-config2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-cache-dir/.dirs/config 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_1YLOK2/utils-isolated/user-cache-dir/.dirs/system-data2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-cache-dir/.dirs/data 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-cache-dir/.dirs/state 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-cache-dir/.dirs/runtime 729s ok 3 /utils-isolated/user-cache-dir 729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/system-config-dirs/.dirs/home 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/system-config-dirs/.dirs/cache 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1YLOK2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_1YLOK2/utils-isolated/system-config-dirs/.dirs/system-config2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/system-config-dirs/.dirs/config 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1YLOK2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_1YLOK2/utils-isolated/system-config-dirs/.dirs/system-data2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/system-config-dirs/.dirs/data 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/system-config-dirs/.dirs/state 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1YLOK2/utils-isolated/system-config-dirs/.dirs/runtime 729s ok 4 /utils-isolated/system-config-dirs 729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-config-dir/.dirs/home 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-config-dir/.dirs/cache 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_1YLOK2/utils-isolated/user-config-dir/.dirs/system-config2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-config-dir/.dirs/config 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_1YLOK2/utils-isolated/user-config-dir/.dirs/system-data2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-config-dir/.dirs/data 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-config-dir/.dirs/state 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-config-dir/.dirs/runtime 729s ok 5 /utils-isolated/user-config-dir 729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/system-data-dirs/.dirs/home 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/system-data-dirs/.dirs/cache 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1YLOK2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_1YLOK2/utils-isolated/system-data-dirs/.dirs/system-config2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/system-data-dirs/.dirs/config 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1YLOK2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_1YLOK2/utils-isolated/system-data-dirs/.dirs/system-data2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/system-data-dirs/.dirs/data 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/system-data-dirs/.dirs/state 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1YLOK2/utils-isolated/system-data-dirs/.dirs/runtime 729s ok 6 /utils-isolated/system-data-dirs 729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-data-dir/.dirs/home 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-data-dir/.dirs/cache 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_1YLOK2/utils-isolated/user-data-dir/.dirs/system-config2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-data-dir/.dirs/config 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_1YLOK2/utils-isolated/user-data-dir/.dirs/system-data2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-data-dir/.dirs/data 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-data-dir/.dirs/state 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-data-dir/.dirs/runtime 729s ok 7 /utils-isolated/user-data-dir 729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-state-dir/.dirs/home 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-state-dir/.dirs/cache 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_1YLOK2/utils-isolated/user-state-dir/.dirs/system-config2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-state-dir/.dirs/config 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_1YLOK2/utils-isolated/user-state-dir/.dirs/system-data2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-state-dir/.dirs/data 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-state-dir/.dirs/state 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-state-dir/.dirs/runtime 729s ok 8 /utils-isolated/user-state-dir 729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-runtime-dir/.dirs/home 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-runtime-dir/.dirs/cache 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_1YLOK2/utils-isolated/user-runtime-dir/.dirs/system-config2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-runtime-dir/.dirs/config 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_1YLOK2/utils-isolated/user-runtime-dir/.dirs/system-data2 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-runtime-dir/.dirs/data 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-runtime-dir/.dirs/state 729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_1YLOK2/utils-isolated/user-runtime-dir/.dirs/runtime 729s ok 9 /utils-isolated/user-runtime-dir 729s # End of utils-isolated tests 729s ok - glib/utils-isolated.test 729s # Running test: glib/portal-support-none.test 729s TAP version 13 729s # random seed: R02S2e00fbe261cefa0e06dc5af1879a94c1 729s 1..1 729s # Start of portal-support tests 729s ok 1 /portal-support/none 729s # End of portal-support tests 729s ok - glib/portal-support-none.test 729s # Running test: glib/memory-output-stream.test 729s TAP version 13 729s # random seed: R02Sd4020d7edd864e7242313be589b83dd9 729s 1..10 729s # Start of memory-output-stream tests 729s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 729s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 729s ok 1 /memory-output-stream/truncate 729s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 729s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 729s ok 2 /memory-output-stream/get-data-size 729s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 729s ok 3 /memory-output-stream/properties 729s ok 4 /memory-output-stream/write-bytes 729s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 729s ok 5 /memory-output-stream/write-null 729s ok 6 /memory-output-stream/writev 729s ok 7 /memory-output-stream/writev_nonblocking 729s ok 8 /memory-output-stream/steal_as_bytes 729s # Start of seek tests 729s ok 9 /memory-output-stream/seek/fixed 729s ok 10 /memory-output-stream/seek/resizable 729s # End of seek tests 729s # End of memory-output-stream tests 729s ok - glib/memory-output-stream.test 729s # Running test: glib/notify-init2.test 729s TAP version 13 729s # random seed: R02Sf8c844eaecdf99c96f0779363914b1d1 729s 1..1 729s # Start of properties tests 729s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 729s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 729s ok 1 /properties/notify-in-init2 729s # End of properties tests 729s ok - glib/notify-init2.test 729s # Running test: glib/cxx-2b.test 729s TAP version 13 729s # random seed: R02Scbb0dbf7b75269f068d2203505cd2cec 729s 1..2 729s # Start of gtask tests 729s # 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. 729s ok 1 /gtask/name 729s # Start of name tests 729s # 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. 729s ok 2 /gtask/name/macro-wrapper 729s # End of name tests 729s # End of gtask tests 729s ok - glib/cxx-2b.test 729s # Running test: glib/strvbuilder.test 729s TAP version 13 729s # random seed: R02S2fa6a1ebbcc62d5bc4ea2ed716773ff6 729s 1..6 729s # Start of strvbuilder tests 729s ok 1 /strvbuilder/empty 729s ok 2 /strvbuilder/add 729s ok 3 /strvbuilder/addv 729s ok 4 /strvbuilder/add_many 729s ok 5 /strvbuilder/take 729s ok 6 /strvbuilder/ref 729s # End of strvbuilder tests 729s ok - glib/strvbuilder.test 729s # Running test: glib/unix-streams.test 729s TAP version 13 729s # random seed: R02S9e25641e23eb18c69300489c5275da8a 729s 1..9 729s # Start of unix-streams tests 729s ok 1 /unix-streams/basic 729s ok 2 /unix-streams/pipe-io-test 729s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 729s # Executing: glib/unix-streams.test 729s ok 3 /unix-streams/nonblocking-io-test 729s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 729s ok 4 /unix-streams/read_write 729s ok 5 /unix-streams/read_writev 729s ok 6 /unix-streams/write-wouldblock 729s ok 7 /unix-streams/writev-wouldblock 729s ok 8 /unix-streams/write-async-wouldblock 729s ok 9 /unix-streams/writev-async-wouldblock 729s # End of unix-streams tests 729s ok - glib/unix-streams.test 730s # Running test: glib/boxed.test 730s TAP version 13 730s # random seed: R02Sb8dc5bcb123a6e7458118c8e5f13fda5 730s 1..27 730s # Start of boxed tests 730s ok 1 /boxed/define 730s ok 2 /boxed/ownership 730s ok 3 /boxed/closure 730s ok 4 /boxed/date 730s ok 5 /boxed/value 730s ok 6 /boxed/string 730s ok 7 /boxed/hashtable 730s ok 8 /boxed/array 730s ok 9 /boxed/ptrarray 730s ok 10 /boxed/regex 730s ok 11 /boxed/varianttype 730s ok 12 /boxed/error 730s ok 13 /boxed/datetime 730s ok 14 /boxed/matchinfo 730s ok 15 /boxed/keyfile 730s ok 16 /boxed/mainloop 730s ok 17 /boxed/maincontext 730s ok 18 /boxed/source 730s ok 19 /boxed/variantbuilder 730s ok 20 /boxed/timezone 730s ok 21 /boxed/pollfd 730s ok 22 /boxed/markup 730s ok 23 /boxed/thread 730s ok 24 /boxed/checksum 730s ok 25 /boxed/tree 730s ok 26 /boxed/patternspec 730s ok 27 /boxed/rand 730s # End of boxed tests 730s ok - glib/boxed.test 730s # Running test: glib/memory-monitor-portal.test 730s TAP version 13 730s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 730s 1..1 730s ok - glib/memory-monitor-portal.test 730s # Running test: glib/gdbus-introspection.test 730s TAP version 13 730s # random seed: R02S8e22aa55c42a3152effa66adeffee312 730s 1..4 730s # Start of gdbus tests 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-parser/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-parser/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-parser/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-parser/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-parser/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-parser/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-parser/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-parser/.dirs/runtime 730s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 730s ok 1 /gdbus/introspection-parser 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-generate/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-generate/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-generate/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-generate/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-generate/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-generate/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-generate/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-generate/.dirs/runtime 730s ok 2 /gdbus/introspection-generate 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-default-direction/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-default-direction/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-default-direction/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-default-direction/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-default-direction/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-default-direction/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-default-direction/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-default-direction/.dirs/runtime 730s ok 3 /gdbus/introspection-default-direction 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-extra-data/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-extra-data/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-extra-data/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-extra-data/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-extra-data/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-extra-data/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-extra-data/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_CNL4K2/gdbus/introspection-extra-data/.dirs/runtime 730s ok 4 /gdbus/introspection-extra-data 730s # End of gdbus tests 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s ok - glib/gdbus-introspection.test 730s # Running test: glib/gdbus-test-codegen-old.test 730s TAP version 13 730s # random seed: R02S9cb4a98b13e0f75a1273ee19aee96f2e 730s 1..8 730s # Start of gdbus tests 730s # Start of codegen tests 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/annotations/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/annotations/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/annotations/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/annotations/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/annotations/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/annotations/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/annotations/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/annotations/.dirs/runtime 730s ok 1 /gdbus/codegen/annotations 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/interface_stability/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/interface_stability/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/interface_stability/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/interface_stability/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/interface_stability/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/interface_stability/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/interface_stability/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/interface_stability/.dirs/runtime 730s ok 2 /gdbus/codegen/interface_stability 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/object-manager/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/object-manager/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/object-manager/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/object-manager/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/object-manager/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/object-manager/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/object-manager/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/object-manager/.dirs/runtime 730s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 730s ok 3 /gdbus/codegen/object-manager 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/property-naming/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/property-naming/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/property-naming/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/property-naming/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/property-naming/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/property-naming/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/property-naming/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/property-naming/.dirs/runtime 730s ok 4 /gdbus/codegen/property-naming 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/autocleanups/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/autocleanups/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/autocleanups/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/autocleanups/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/autocleanups/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/autocleanups/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/autocleanups/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/autocleanups/.dirs/runtime 730s ok 5 /gdbus/codegen/autocleanups 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/deprecations/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/deprecations/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/deprecations/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/deprecations/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/deprecations/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/deprecations/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/deprecations/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/deprecations/.dirs/runtime 730s ok 6 /gdbus/codegen/deprecations 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/standalone-interface-info/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/standalone-interface-info/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/standalone-interface-info/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/standalone-interface-info/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/standalone-interface-info/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 730s ok 7 /gdbus/codegen/standalone-interface-info 730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/unix-fd-list/.dirs/home 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/unix-fd-list/.dirs/cache 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/unix-fd-list/.dirs/config 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/unix-fd-list/.dirs/data 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/unix-fd-list/.dirs/state 730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_OQRZK2/gdbus/codegen/unix-fd-list/.dirs/runtime 730s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 730s ok 8 /gdbus/codegen/unix-fd-list 730s # End of codegen tests 730s # End of gdbus tests 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 730s ok - glib/gdbus-test-codegen-old.test 730s # Running test: glib/gsocketclient-slow.test 730s TAP version 13 730s # random seed: R02Sbd294cbde509f91fe2cb273d11e5fa63 730s 1..3 730s # Start of socket-client tests 730s # Start of happy-eyeballs tests 730s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 730s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x12e7fcd9cad0 and GSocketClientAsyncConnectData 0x12e7fcd962a0 730s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 730s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 730s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x12e7fcd9e1e0 for GSocketClientAsyncConnectData 0x12e7fcd962a0 730s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 731s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 731s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 731s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 731s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 731s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 731s ok 1 /socket-client/happy-eyeballs/slow 731s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 731s # Start of cancellation tests 731s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x12e7fcda1900 and GSocketClientAsyncConnectData 0x12e7fcd9d9f0 731s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 731s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 731s ok 2 /socket-client/happy-eyeballs/cancellation/instant 731s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x12e7fcda06f0 and GSocketClientAsyncConnectData 0x12e7fcd962a0 731s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 731s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 731s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x12e7fcda2550 for GSocketClientAsyncConnectData 0x12e7fcd962a0 731s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 731s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 731s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 731s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 731s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 731s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 731s ok 3 /socket-client/happy-eyeballs/cancellation/delayed 731s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 731s # End of cancellation tests 731s # End of happy-eyeballs tests 731s # End of socket-client tests 731s ok - glib/gsocketclient-slow.test 731s # Running test: glib/basic-signals.test 731s TAP version 13 731s # random seed: R02Sf9a5bec85ea46780ed7d5c4b3096f34f 731s 1..1 731s # Start of gobject tests 731s ok 1 /gobject/basic-signals 731s # End of gobject tests 731s ok - glib/basic-signals.test 731s # Running test: glib/buffered-output-stream.test 731s TAP version 13 731s # random seed: R02S5e2501c1947fa01bd3dfa7c90c0f5780 731s 1..5 731s # Start of buffered-output-stream tests 731s ok 1 /buffered-output-stream/write 731s ok 2 /buffered-output-stream/grow 731s ok 3 /buffered-output-stream/seek 731s ok 4 /buffered-output-stream/truncate 731s # End of buffered-output-stream tests 731s # Start of filter-output-stream tests 731s ok 5 /filter-output-stream/close 731s # End of filter-output-stream tests 731s ok - glib/buffered-output-stream.test 731s # Running test: glib/singleton.test 731s TAP version 13 731s # random seed: R02S916c1514ec523e5d3ab59f9626635916 731s 1..2 731s # Start of gobject tests 731s # Start of singleton tests 731s ok 1 /gobject/singleton/construction 731s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 731s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 731s ok 2 /gobject/singleton/construct-property 731s # End of singleton tests 731s # End of gobject tests 731s ok - glib/singleton.test 731s # Running test: glib/buffered-input-stream.test 731s TAP version 13 731s # random seed: R02S5233bee19a24a6732f0d71910fe12ed9 731s 1..10 731s # Start of buffered-input-stream tests 731s ok 1 /buffered-input-stream/peek 731s ok 2 /buffered-input-stream/peek-buffer 731s ok 3 /buffered-input-stream/set-buffer-size 731s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 731s ok 4 /buffered-input-stream/read-byte 731s ok 5 /buffered-input-stream/read 731s ok 6 /buffered-input-stream/read-async 731s ok 7 /buffered-input-stream/skip 731s ok 8 /buffered-input-stream/skip-async 731s ok 9 /buffered-input-stream/seek 731s # End of buffered-input-stream tests 731s # Start of filter-input-stream tests 731s ok 10 /filter-input-stream/close 731s # End of filter-input-stream tests 731s ok - glib/buffered-input-stream.test 731s # Running test: glib/utils-c-17.test 731s TAP version 13 731s # random seed: R02S75e509863218533791f8be2757a1fb27 731s 1..40 731s # Start of utils tests 731s ok 1 /utils/language-names 731s ok 2 /utils/locale-variants 731s ok 3 /utils/version 731s ok 4 /utils/appname 731s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 731s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 731s ok 5 /utils/prgname-thread-safety 731s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 731s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 731s ok 6 /utils/tmpdir 731s ok 7 /utils/basic_bits 731s ok 8 /utils/bits 731s ok 9 /utils/swap 731s ok 10 /utils/find-program 731s ok 11 /utils/find-program-for-path 731s ok 12 /utils/debug 731s ok 13 /utils/codeset 731s ok 14 /utils/codeset2 731s ok 15 /utils/console-charset 731s ok 16 /utils/gettext 731s ok 17 /utils/username 731s ok 18 /utils/realname 731s ok 19 /utils/hostname 731s ok 20 /utils/xdgdirs 731s ok 21 /utils/specialdir 731s # NAME: Ubuntu 731s ok 22 /utils/os-info 731s ok 23 /utils/clear-pointer 731s ok 24 /utils/clear-pointer-cast 731s ok 25 /utils/take-pointer 731s ok 26 /utils/clear-source 731s ok 27 /utils/misc-mem 731s # /utils/aligned-mem summary: Aligned memory allocator 731s # Alignment must not be zero 731s # Alignment must be a power of two 731s # Alignment must be a multiple of sizeof(void*) 731s ok 28 /utils/aligned-mem 731s # /utils/free-sized summary: Check that g_free_sized() works 731s ok 29 /utils/free-sized 731s ok 30 /utils/nullify 731s ok 31 /utils/atexit 731s ok 32 /utils/check-setuid 731s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 731s ok 33 /utils/int-limits 731s ok 34 /utils/clear-list 731s ok 35 /utils/clear-slist 731s # Start of specialdir tests 731s ok 36 /utils/specialdir/desktop 731s # End of specialdir tests 731s # Start of clear-pointer tests 731s ok 37 /utils/clear-pointer/side-effects 731s # End of clear-pointer tests 731s # Start of aligned-mem tests 731s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 731s ok 38 /utils/aligned-mem/alignment 731s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 731s ok 39 /utils/aligned-mem/zeroed 731s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 731s ok 40 /utils/aligned-mem/free-sized 731s # Start of subprocess tests 731s # End of subprocess tests 731s # End of aligned-mem tests 731s # End of utils tests 731s ok - glib/utils-c-17.test 731s # Running test: glib/init.test 731s TAP version 13 731s # random seed: R02S355b27da16a74f6cc738b96d4a63ba2f 731s 1..2 731s # Start of thread tests 731s # Start of deprecated tests 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_54UKK2/thread/deprecated/init/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_54UKK2/thread/deprecated/init/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_54UKK2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_54UKK2/thread/deprecated/init/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_54UKK2/thread/deprecated/init/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_54UKK2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_54UKK2/thread/deprecated/init/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_54UKK2/thread/deprecated/init/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_54UKK2/thread/deprecated/init/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_54UKK2/thread/deprecated/init/.dirs/runtime 731s ok 1 /thread/deprecated/init 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_54UKK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_54UKK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_54UKK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_54UKK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_54UKK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_54UKK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_54UKK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_54UKK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_54UKK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_54UKK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 731s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 731s # End of deprecated tests 731s # End of thread tests 731s ok - glib/init.test 731s # Running test: glib/module-test-library.test 731s TAP version 13 731s # random seed: R02S08d102e62c4f635bc75de2191be0b3a4 731s 1..2 731s # Start of module tests 731s ok 1 /module/basics 731s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 731s ok 2 /module/invalid-libtool-archive 731s # End of module tests 731s ok - glib/module-test-library.test 731s # Running test: glib/gdbus-server-auth.test 731s TAP version 13 731s # random seed: R02S9633b156974a62c6f6e50c6775347853 731s 1..9 731s # Start of gdbus tests 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/.dirs/runtime 731s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_41MKK2/gdbus-server-auth-S5LKK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 731s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_41MKK2/gdbus-server-auth-S5LKK2/dbus-8sN17B9y 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5978 731s ok 1 /gdbus/server-auth 731s # Start of server-auth tests 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/abstract/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/abstract/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/abstract/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/abstract/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/abstract/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/abstract/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/abstract/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/abstract/.dirs/runtime 731s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_41MKK2/gdbus-server-auth-KM5QK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 731s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_41MKK2/gdbus-server-auth-KM5QK2/dbus-5p4YwYQW 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 731s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 731s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5978 731s ok 2 /gdbus/server-auth/abstract 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/tcp/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/tcp/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/tcp/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/tcp/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/tcp/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/tcp/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/tcp/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/tcp/.dirs/runtime 731s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 731s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/.dirs/runtime 731s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_41MKK2/gdbus-server-auth-UR5RK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 731s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_41MKK2/gdbus-server-auth-UR5RK2/dbus-TTugVFi7 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5978 731s ok 4 /gdbus/server-auth/anonymous 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/.dirs/runtime 731s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_41MKK2/gdbus-server-auth-3UVSK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 731s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_41MKK2/gdbus-server-auth-3UVSK2/dbus-fPItxsKx 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5978 731s ok 5 /gdbus/server-auth/external 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/.dirs/runtime 731s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_41MKK2/gdbus-server-auth-GUESK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 731s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 731s # Start of anonymous tests 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/tcp/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/tcp/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/tcp/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/tcp/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 731s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 731s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 731s # End of anonymous tests 731s # Start of external tests 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/require-same-user/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/require-same-user/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/require-same-user/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/require-same-user/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/require-same-user/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 731s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_41MKK2/gdbus-server-auth-1EESK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 731s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_41MKK2/gdbus-server-auth-1EESK2/dbus-jHS0yTas 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 5978 731s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 731s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 731s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 731s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=5978,uid=1000,gid=1000 731s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 5978 731s ok 8 /gdbus/server-auth/external/require-same-user 731s # End of external tests 731s # Start of sha1 tests 731s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/tcp/.dirs/home 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/tcp/.dirs/cache 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/tcp/.dirs/config 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/tcp/.dirs/data 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/tcp/.dirs/state 731s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_41MKK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 731s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 731s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 731s # End of sha1 tests 731s # End of server-auth tests 731s # End of gdbus tests 731s ok - glib/gdbus-server-auth.test 731s # Running test: glib/atomic-c-90.test 731s TAP version 13 731s # random seed: R02S74552293a041398fce6e8cc2b7a7303b 731s 1..2 731s # Start of atomic tests 731s ok 1 /atomic/types 732s ok 2 /atomic/threaded 732s # End of atomic tests 732s ok - glib/atomic-c-90.test 732s # Running test: glib/param.test 732s TAP version 13 732s # random seed: R02Sc961474503eeb531270d3945639b7d38 732s 1..32 732s # Start of param tests 732s ok 1 /param/value 732s ok 2 /param/strings 732s ok 3 /param/qdata 732s ok 4 /param/validate 732s ok 5 /param/convert 732s ok 6 /param/implement # SKIP Skipping slow /param/implement test 732s ok 7 /param/default 732s ok 8 /param/is-valid-name 732s # Start of invalid-name tests 732s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 732s ok 9 /param/invalid-name/colon 732s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 732s ok 10 /param/invalid-name/first-char 732s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 732s ok 11 /param/invalid-name/empty 732s # End of invalid-name tests 732s # Start of implement tests 732s # Start of subprocess tests 732s # End of subprocess tests 732s # End of implement tests 732s # End of param tests 732s # Start of value tests 732s ok 12 /value/transform 732s # End of value tests 732s # Start of paramspec tests 732s ok 13 /paramspec/char 732s ok 14 /paramspec/uchar 732s ok 15 /paramspec/int 732s ok 16 /paramspec/uint 732s ok 17 /paramspec/long 732s ok 18 /paramspec/ulong 732s ok 19 /paramspec/int64 732s ok 20 /paramspec/uint64 732s ok 21 /paramspec/float 732s ok 22 /paramspec/double 732s ok 23 /paramspec/unichar 732s ok 24 /paramspec/param 732s ok 25 /paramspec/null-param 732s ok 26 /paramspec/string 732s ok 27 /paramspec/override 732s ok 28 /paramspec/gtype 732s ok 29 /paramspec/variant 732s ok 30 /paramspec/custom 732s ok 31 /paramspec/pool 732s # Start of variant tests 732s ok 32 /paramspec/variant/cmp 732s # End of variant tests 732s # End of paramspec tests 732s ok - glib/param.test 732s # Running test: glib/refcount.test 732s TAP version 13 732s # random seed: R02S5c4a521238b16b25abe2cde3a47ffc77 732s 1..4 732s # Start of refcount tests 732s ok 1 /refcount/grefcount 732s ok 2 /refcount/gatomicrefcount 732s # Start of grefcount tests 732s ok 3 /refcount/grefcount/saturation 732s # End of grefcount tests 732s # Start of gatomicrefcount tests 732s ok 4 /refcount/gatomicrefcount/saturation 732s # End of gatomicrefcount tests 732s # End of refcount tests 732s ok - glib/refcount.test 732s # Running test: glib/types.test 732s TAP version 13 732s # random seed: R02S869f898daee5eb1f567bf8404dff81f5 732s 1..1 732s # Start of types tests 732s ok 1 /types/basic_types 732s # End of types tests 732s ok - glib/types.test 732s # Running test: glib/gthash.test 732s TAP version 13 732s # random seed: R02S4cf2960fb8fb7d3008e6639e90369287 732s 1..1 732s # Start of gthash tests 732s ok 1 /gthash/build-retrieve 732s # End of gthash tests 732s ok - glib/gthash.test 732s # Running test: glib/markup.test 732s TAP version 13 732s # random seed: R02S84b0672569f48a05821df997de234cc0 732s 1..1 732s # Start of markup tests 732s ok 1 /markup/stack 732s # End of markup tests 732s ok - glib/markup.test 732s # Running test: glib/gnotification.test 732s TAP version 13 732s # random seed: R02S7c1173f6835e080d25314136ac1b2ce8 732s 1..2 732s # Start of gnotification tests 732s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 732s ok 1 /gnotification/basic 732s ok 2 /gnotification/properties 732s # End of gnotification tests 732s ok - glib/gnotification.test 732s # Running test: glib/rec-mutex.test 732s TAP version 13 732s # random seed: R02Sddc90184e4526afee4ff0cbbf493d37a 732s 1..29 732s # Start of thread tests 732s ok 1 /thread/rec-mutex1 732s ok 2 /thread/rec-mutex2 732s ok 3 /thread/rec-mutex3 732s ok 4 /thread/rec-mutex4 732s # Start of rec-mutex tests 732s # Start of perf tests 732s # Start of uncontended tests 732s # max perf: 1.000000 mips 732s ok 5 /thread/rec-mutex/perf/uncontended/depth1 732s # max perf: inf mips 732s ok 6 /thread/rec-mutex/perf/uncontended/depth2 732s # max perf: 1.000000 mips 732s ok 7 /thread/rec-mutex/perf/uncontended/depth3 732s # max perf: 1.000000 mips 732s ok 8 /thread/rec-mutex/perf/uncontended/depth4 732s # max perf: 1.000000 mips 732s ok 9 /thread/rec-mutex/perf/uncontended/depth5 732s # End of uncontended tests 732s # Start of contended1 tests 732s # max perf: inf mips 732s ok 10 /thread/rec-mutex/perf/contended1/depth1 732s # max perf: 2.000000 mips 732s ok 11 /thread/rec-mutex/perf/contended1/depth2 732s # max perf: 2.000000 mips 732s ok 12 /thread/rec-mutex/perf/contended1/depth3 732s # max perf: 2.000000 mips 732s ok 13 /thread/rec-mutex/perf/contended1/depth4 732s # max perf: 2.000000 mips 732s ok 14 /thread/rec-mutex/perf/contended1/depth5 732s # End of contended1 tests 732s # Start of contended2 tests 732s # max perf: 3.000000 mips 732s ok 15 /thread/rec-mutex/perf/contended2/depth1 732s # max perf: 3.000000 mips 732s ok 16 /thread/rec-mutex/perf/contended2/depth2 732s # max perf: 3.000000 mips 732s ok 17 /thread/rec-mutex/perf/contended2/depth3 732s # max perf: 3.000000 mips 732s ok 18 /thread/rec-mutex/perf/contended2/depth4 732s # max perf: 3.000000 mips 732s ok 19 /thread/rec-mutex/perf/contended2/depth5 732s # End of contended2 tests 732s # Start of contended3 tests 732s # max perf: 4.000000 mips 732s ok 20 /thread/rec-mutex/perf/contended3/depth1 732s # max perf: 2.000000 mips 732s ok 21 /thread/rec-mutex/perf/contended3/depth2 732s # max perf: 0.093023 mips 732s ok 22 /thread/rec-mutex/perf/contended3/depth3 732s # max perf: 2.000000 mips 732s ok 23 /thread/rec-mutex/perf/contended3/depth4 732s # max perf: 2.000000 mips 732s ok 24 /thread/rec-mutex/perf/contended3/depth5 732s # End of contended3 tests 732s # Start of contended4 tests 732s # max perf: inf mips 732s ok 25 /thread/rec-mutex/perf/contended4/depth1 732s # max perf: 5.000000 mips 732s ok 26 /thread/rec-mutex/perf/contended4/depth2 732s # max perf: 5.000000 mips 732s ok 27 /thread/rec-mutex/perf/contended4/depth3 732s # max perf: 2.500000 mips 732s ok 28 /thread/rec-mutex/perf/contended4/depth4 732s # max perf: 2.500000 mips 732s ok 29 /thread/rec-mutex/perf/contended4/depth5 732s # End of contended4 tests 732s # End of perf tests 732s # End of rec-mutex tests 732s # End of thread tests 732s ok - glib/rec-mutex.test 732s # Running test: glib/cxx-03.test 732s TAP version 13 732s # random seed: R02S903863906a20da9811ec97771d32122e 732s 1..2 732s # Start of gtask tests 732s # 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. 732s ok 1 /gtask/name 732s # Start of name tests 732s # 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. 732s ok 2 /gtask/name/macro-wrapper 732s # End of name tests 732s # End of gtask tests 732s ok - glib/cxx-03.test 732s # Running test: glib/unix-fd.test 732s TAP version 13 732s # random seed: R02S5970c8fa4950c572de81f6832373019e 732s 1..2 732s # Start of unix-fd tests 732s ok 1 /unix-fd/fd-list 732s ok 2 /unix-fd/scm 732s # End of unix-fd tests 732s ok - glib/unix-fd.test 732s # Running test: glib/appmonitor.test 732s TAP version 13 732s # random seed: R02Seb54d643bde427d9067f6bf6519474eb 732s 1..1 732s # Start of monitor tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_XYD1K2/monitor/app/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_XYD1K2/monitor/app/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_XYD1K2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_XYD1K2/monitor/app/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_XYD1K2/monitor/app/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_XYD1K2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_XYD1K2/monitor/app/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_XYD1K2/monitor/app/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_XYD1K2/monitor/app/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_XYD1K2/monitor/app/.dirs/runtime 732s # Using data directory: /tmp/test_appmonitor_XYD1K2/monitor/app/.dirs/data 732s ok 1 /monitor/app 732s # End of monitor tests 732s ok - glib/appmonitor.test 732s # Running test: glib/network-monitor.test 732s TAP version 13 732s # random seed: R02S055cac0cbf89772803e1e5ce58064a2c 732s 1..4 732s # Start of network-monitor tests 732s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 732s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 732s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 732s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 732s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 732s ok 1 /network-monitor/default 732s ok 2 /network-monitor/remove_default 732s ok 3 /network-monitor/add_networks 732s ok 4 /network-monitor/remove_networks 732s # End of network-monitor tests 732s ok - glib/network-monitor.test 732s # Running test: glib/portal-support-flatpak-none.test 732s TAP version 13 732s # random seed: R02Sbc23c0c106dc2803cddba5f49485cea6 732s 1..1 732s # Start of portal-support tests 732s # Start of flatpak tests 732s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_76KMK2/portal-support/flatpak/none/.dirs/home 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_76KMK2/portal-support/flatpak/none/.dirs/cache 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_76KMK2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_76KMK2/portal-support/flatpak/none/.dirs/system-config2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_76KMK2/portal-support/flatpak/none/.dirs/config 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_76KMK2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_76KMK2/portal-support/flatpak/none/.dirs/system-data2 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_76KMK2/portal-support/flatpak/none/.dirs/data 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_76KMK2/portal-support/flatpak/none/.dirs/state 732s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_76KMK2/portal-support/flatpak/none/.dirs/runtime 732s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_76KMK2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 732s ok 1 /portal-support/flatpak/none 732s # End of flatpak tests 732s # End of portal-support tests 732s ok - glib/portal-support-flatpak-none.test 732s # Running test: glib/macros-c-11.test 732s TAP version 13 732s # random seed: R02S0995636a411903887ed8a4af15ecf933 732s 1..4 732s # Start of C tests 732s ok 1 /C/standard-11 732s # End of C tests 732s # Start of alignof tests 732s ok 2 /alignof/fallback 732s # End of alignof tests 732s # Start of assert tests 732s ok 3 /assert/static 732s # End of assert tests 732s # Start of struct tests 732s ok 4 /struct/sizeof_member 732s # End of struct tests 732s ok - glib/macros-c-11.test 732s # Running test: glib/memory-settings-backend.test 732s TAP version 13 732s # random seed: R02S5c64d2739a68a9a6cd0d19c5ae67a392 732s 1..1 732s # Start of memory-settings-backend tests 732s ok 1 /memory-settings-backend/extension-point-registered 732s # End of memory-settings-backend tests 732s ok - glib/memory-settings-backend.test 732s # Running test: glib/tree.test 732s TAP version 13 732s # random seed: R02S6dbd7be087a70ca0db327fd0d23cae61 732s 1..7 732s # Start of tree tests 732s ok 1 /tree/search 732s ok 2 /tree/remove 732s ok 3 /tree/destroy 732s ok 4 /tree/traverse 732s ok 5 /tree/insert 732s ok 6 /tree/bounds 732s ok 7 /tree/remove-all 732s # End of tree tests 732s ok - glib/tree.test 732s # Running test: glib/atomic.test 732s TAP version 13 732s # random seed: R02S5b0bc74302f791897e9d16f3a2463ce0 732s 1..2 732s # Start of atomic tests 732s ok 1 /atomic/types 732s ok 2 /atomic/threaded 732s # End of atomic tests 732s ok - glib/atomic.test 732s # Running test: glib/timeout.test 732s TAP version 13 732s # random seed: R02Sacff6c3dc4ff4890fb6dc9c40b48678d 732s 1..5 732s # Start of timeout tests 732s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 734s # Executing: glib/timeout.test 734s ok 1 /timeout/seconds 734s # slow test /timeout/seconds executed in 2.10 secs 737s ok 2 /timeout/seconds-once 737s # slow test /timeout/seconds-once executed in 2.10 secs 737s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 739s ok 3 /timeout/weeks-overflow 739s # slow test /timeout/weeks-overflow executed in 2.10 secs 739s ok 4 /timeout/far-future-ready-time 739s # Executing: glib/timeout.test 744s # Executing: glib/timeout.test 749s # Executing: glib/timeout.test 749s ok 5 /timeout/rounding 749s # slow test /timeout/rounding executed in 10.74 secs 749s # End of timeout tests 749s ok - glib/timeout.test 749s # Running test: glib/gdbus-addresses.test 749s TAP version 13 749s # random seed: R02Sab4d96c8595992f66b5aea5b78cf22f8 749s 1..9 749s # Start of gdbus tests 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/empty-address/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/empty-address/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NAURK2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NAURK2/gdbus/empty-address/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/empty-address/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NAURK2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NAURK2/gdbus/empty-address/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/empty-address/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/empty-address/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NAURK2/gdbus/empty-address/.dirs/runtime 749s ok 1 /gdbus/empty-address 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/unsupported-address/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/unsupported-address/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NAURK2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NAURK2/gdbus/unsupported-address/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/unsupported-address/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NAURK2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NAURK2/gdbus/unsupported-address/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/unsupported-address/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/unsupported-address/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NAURK2/gdbus/unsupported-address/.dirs/runtime 749s ok 2 /gdbus/unsupported-address 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/address-parsing/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/address-parsing/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NAURK2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_NAURK2/gdbus/address-parsing/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/address-parsing/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NAURK2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_NAURK2/gdbus/address-parsing/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/address-parsing/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/address-parsing/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NAURK2/gdbus/address-parsing/.dirs/runtime 749s ok 3 /gdbus/address-parsing 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/unix-address/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/unix-address/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NAURK2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NAURK2/gdbus/unix-address/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/unix-address/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NAURK2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NAURK2/gdbus/unix-address/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/unix-address/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/unix-address/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NAURK2/gdbus/unix-address/.dirs/runtime 749s ok 4 /gdbus/unix-address 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/nonce-tcp-address/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/nonce-tcp-address/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NAURK2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NAURK2/gdbus/nonce-tcp-address/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/nonce-tcp-address/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NAURK2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NAURK2/gdbus/nonce-tcp-address/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/nonce-tcp-address/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/nonce-tcp-address/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NAURK2/gdbus/nonce-tcp-address/.dirs/runtime 749s ok 5 /gdbus/nonce-tcp-address 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/tcp-address/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/tcp-address/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NAURK2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NAURK2/gdbus/tcp-address/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/tcp-address/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NAURK2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NAURK2/gdbus/tcp-address/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/tcp-address/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/tcp-address/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NAURK2/gdbus/tcp-address/.dirs/runtime 749s ok 6 /gdbus/tcp-address 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/autolaunch-address/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/autolaunch-address/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NAURK2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NAURK2/gdbus/autolaunch-address/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/autolaunch-address/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NAURK2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NAURK2/gdbus/autolaunch-address/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/autolaunch-address/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/autolaunch-address/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NAURK2/gdbus/autolaunch-address/.dirs/runtime 749s ok 7 /gdbus/autolaunch-address 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/mixed-address/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/mixed-address/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NAURK2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NAURK2/gdbus/mixed-address/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/mixed-address/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NAURK2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NAURK2/gdbus/mixed-address/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/mixed-address/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/mixed-address/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NAURK2/gdbus/mixed-address/.dirs/runtime 749s ok 8 /gdbus/mixed-address 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/escape-address/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/escape-address/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NAURK2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NAURK2/gdbus/escape-address/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/escape-address/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NAURK2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NAURK2/gdbus/escape-address/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/escape-address/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NAURK2/gdbus/escape-address/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NAURK2/gdbus/escape-address/.dirs/runtime 749s ok 9 /gdbus/escape-address 749s # End of gdbus tests 749s ok - glib/gdbus-addresses.test 749s # Running test: glib/fileutils.test 749s TAP version 13 749s # random seed: R02S566eac7bc5cf2e0717409ce0e0552477 749s 1..27 749s # Start of fileutils tests 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/paths/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/paths/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/paths/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/paths/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/paths/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/paths/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/paths/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/paths/.dirs/runtime 749s ok 1 /fileutils/paths 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/build-path/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/build-path/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/build-path/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/build-path/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/build-path/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/build-path/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/build-path/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/build-path/.dirs/runtime 749s ok 2 /fileutils/build-path 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/build-pathv/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/build-pathv/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/build-pathv/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/build-pathv/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/build-pathv/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/build-pathv/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/build-pathv/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/build-pathv/.dirs/runtime 749s ok 3 /fileutils/build-pathv 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/build-filename/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/build-filename/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/build-filename/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/build-filename/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/build-filename/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/build-filename/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/build-filename/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/build-filename/.dirs/runtime 749s ok 4 /fileutils/build-filename 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/build-filenamev/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/build-filenamev/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/build-filenamev/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/build-filenamev/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/build-filenamev/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/build-filenamev/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/build-filenamev/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/build-filenamev/.dirs/runtime 749s ok 5 /fileutils/build-filenamev 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents/.dirs/runtime 749s # We do not have CAP_DAC_OVERRIDE or equivalent 749s ok 6 /fileutils/mkdir-with-parents 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents-permission/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents-permission/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents-permission/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents-permission/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents-permission/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/mkdir-with-parents-permission/.dirs/runtime 749s # We do not have CAP_DAC_OVERRIDE or equivalent 749s ok 7 /fileutils/mkdir-with-parents-permission 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/format-size-for-display/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/format-size-for-display/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/format-size-for-display/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/format-size-for-display/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/format-size-for-display/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/format-size-for-display/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/format-size-for-display/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/format-size-for-display/.dirs/runtime 749s ok 8 /fileutils/format-size-for-display 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/errors/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/errors/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/errors/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/errors/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/errors/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/errors/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/errors/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/errors/.dirs/runtime 749s ok 9 /fileutils/errors 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/basename/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/basename/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/basename/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/basename/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/basename/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/basename/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/basename/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/basename/.dirs/runtime 749s ok 10 /fileutils/basename 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/get-basename/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/get-basename/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/get-basename/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/get-basename/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/get-basename/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/get-basename/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/get-basename/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/get-basename/.dirs/runtime 749s ok 11 /fileutils/get-basename 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/dirname/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/dirname/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/dirname/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/dirname/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/dirname/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/dirname/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/dirname/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/dirname/.dirs/runtime 749s ok 12 /fileutils/dirname 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/dir-make-tmp/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/dir-make-tmp/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/dir-make-tmp/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/dir-make-tmp/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/dir-make-tmp/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/dir-make-tmp/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/dir-make-tmp/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/dir-make-tmp/.dirs/runtime 749s ok 13 /fileutils/dir-make-tmp 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/file-open-tmp/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/file-open-tmp/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/file-open-tmp/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/file-open-tmp/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/file-open-tmp/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/file-open-tmp/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/file-open-tmp/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/file-open-tmp/.dirs/runtime 749s ok 14 /fileutils/file-open-tmp 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/file-test/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/file-test/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/file-test/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/file-test/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/file-test/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/file-test/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/file-test/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/file-test/.dirs/runtime 749s ok 15 /fileutils/file-test 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/mkstemp/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/mkstemp/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/mkstemp/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/mkstemp/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/mkstemp/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/mkstemp/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/mkstemp/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/mkstemp/.dirs/runtime 749s ok 16 /fileutils/mkstemp 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/mkdtemp/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/mkdtemp/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/mkdtemp/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/mkdtemp/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/mkdtemp/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/mkdtemp/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/mkdtemp/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/mkdtemp/.dirs/runtime 749s ok 17 /fileutils/mkdtemp 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/get-contents/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/get-contents/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/get-contents/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/get-contents/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/get-contents/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/get-contents/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/get-contents/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/get-contents/.dirs/runtime 749s ok 18 /fileutils/get-contents 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/get-contents-large-file/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/get-contents-large-file/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/get-contents-large-file/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/get-contents-large-file/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/get-contents-large-file/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/get-contents-large-file/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/get-contents-large-file/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/get-contents-large-file/.dirs/runtime 749s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 749s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents/.dirs/home 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents/.dirs/cache 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/set-contents/.dirs/system-config2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents/.dirs/config 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/set-contents/.dirs/system-data2 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents/.dirs/data 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents/.dirs/state 749s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/set-contents/.dirs/runtime 750s ok 20 /fileutils/set-contents 750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/.dirs/home 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/.dirs/cache 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/set-contents-full/.dirs/system-config2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/.dirs/config 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/set-contents-full/.dirs/system-data2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/.dirs/data 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/.dirs/state 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/.dirs/runtime 750s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 750s # Flags 0 and test 0 750s # Flags 0 and test 1 750s # Flags 0 and test 2 750s # Flags 0 and test 3 750s # Flags 0 and test 4 750s # Flags 0 and test 5 750s # Flags 1 and test 0 750s # Flags 1 and test 1 750s # Flags 1 and test 2 750s # Flags 1 and test 3 750s # Flags 1 and test 4 750s # Flags 1 and test 5 750s # Flags 2 and test 0 750s # Flags 2 and test 1 750s # Flags 2 and test 2 750s # Flags 2 and test 3 750s # Flags 2 and test 4 750s # Flags 2 and test 5 750s # Flags 3 and test 0 750s # Flags 3 and test 1 750s # Flags 3 and test 2 750s # Flags 3 and test 3 750s # Flags 3 and test 4 750s # Flags 3 and test 5 750s # Flags 4 and test 0 750s # Flags 4 and test 1 750s # Flags 4 and test 2 750s # Flags 4 and test 3 750s # Flags 4 and test 4 750s # Flags 4 and test 5 750s # Flags 5 and test 0 750s # Flags 5 and test 1 750s # Flags 5 and test 2 750s # Flags 5 and test 3 750s # Flags 5 and test 4 750s # Flags 5 and test 5 750s # Flags 6 and test 0 750s # Flags 6 and test 1 750s # Flags 6 and test 2 750s # Flags 6 and test 3 750s # Flags 6 and test 4 750s # Flags 6 and test 5 750s ok 21 /fileutils/set-contents-full 750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/read-link/.dirs/home 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/read-link/.dirs/cache 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/read-link/.dirs/system-config2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/read-link/.dirs/config 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/read-link/.dirs/system-data2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/read-link/.dirs/data 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/read-link/.dirs/state 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/read-link/.dirs/runtime 750s ok 22 /fileutils/read-link 750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/stdio-wrappers/.dirs/home 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/stdio-wrappers/.dirs/cache 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/stdio-wrappers/.dirs/system-config2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/stdio-wrappers/.dirs/config 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/stdio-wrappers/.dirs/system-data2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/stdio-wrappers/.dirs/data 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/stdio-wrappers/.dirs/state 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/stdio-wrappers/.dirs/runtime 750s # We do not have CAP_DAC_OVERRIDE or equivalent 750s ok 23 /fileutils/stdio-wrappers 750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/fopen-modes/.dirs/home 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/fopen-modes/.dirs/cache 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/fopen-modes/.dirs/system-config2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/fopen-modes/.dirs/config 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/fopen-modes/.dirs/system-data2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/fopen-modes/.dirs/data 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/fopen-modes/.dirs/state 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/fopen-modes/.dirs/runtime 750s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 750s # Testing fopen() mode 'w' 750s # Testing fopen() mode 'r' 750s # Testing fopen() mode 'a' 750s # Testing fopen() mode 'w+' 750s # Testing fopen() mode 'r+' 750s # Testing fopen() mode 'a+' 750s # Testing fopen() mode 'wb' 750s # Testing fopen() mode 'rb' 750s # Testing fopen() mode 'ab' 750s # Testing fopen() mode 'w+b' 750s # Testing fopen() mode 'r+b' 750s # Testing fopen() mode 'a+b' 750s # Testing fopen() mode 'wb+' 750s # Testing fopen() mode 'rb+' 750s # Testing fopen() mode 'ab+' 750s ok 24 /fileutils/fopen-modes 750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/clear-fd/.dirs/home 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/clear-fd/.dirs/cache 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/clear-fd/.dirs/system-config2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/clear-fd/.dirs/config 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/clear-fd/.dirs/system-data2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/clear-fd/.dirs/data 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/clear-fd/.dirs/state 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/clear-fd/.dirs/runtime 750s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 750s # Will be closed by autocleanup: 3, -42 750s # Testing error handling 750s ok 25 /fileutils/clear-fd 750s # Start of set-contents-full tests 750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-file/.dirs/home 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-file/.dirs/cache 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-file/.dirs/config 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-file/.dirs/data 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-file/.dirs/state 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-file/.dirs/runtime 750s # We do not have CAP_DAC_OVERRIDE or equivalent 750s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 750s ok 26 /fileutils/set-contents-full/read-only-file 750s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-directory/.dirs/home 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-directory/.dirs/cache 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-directory/.dirs/config 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-directory/.dirs/data 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-directory/.dirs/state 750s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_SMORK2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 750s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 750s # Flags 0 750s # We do not have CAP_DAC_OVERRIDE or equivalent 750s # Flags 1 750s # We do not have CAP_DAC_OVERRIDE or equivalent 750s # Flags 2 750s # We do not have CAP_DAC_OVERRIDE or equivalent 750s # Flags 3 750s # We do not have CAP_DAC_OVERRIDE or equivalent 750s # Flags 4 750s # We do not have CAP_DAC_OVERRIDE or equivalent 750s # Flags 5 750s # We do not have CAP_DAC_OVERRIDE or equivalent 750s # Flags 6 750s # We do not have CAP_DAC_OVERRIDE or equivalent 750s ok 27 /fileutils/set-contents-full/read-only-directory 750s # End of set-contents-full tests 750s # Start of clear-fd tests 750s # Start of subprocess tests 750s # End of subprocess tests 750s # End of clear-fd tests 750s # End of fileutils tests 750s ok - glib/fileutils.test 750s # Running test: glib/signals-refcount3.test 750s TAP version 13 750s # random seed: R02S41629eb7d3c09d49e2d6c855e3af7bb2 750s 1..1 750s # Start of gobject tests 750s # Start of refcount tests 750s # init 0x10f76784f420 750s # 750s # init 0x10f76784f5c0 750s # 754s # Executing: glib/signals-refcount3.test 754s # dispose 0x10f76784f420! 754s # 754s # dispose 0x10f76784f5c0! 754s # 754s ok 1 /gobject/refcount/signals 754s # slow test /gobject/refcount/signals executed in 5.00 secs 754s # End of refcount tests 754s # End of gobject tests 754s ok - glib/signals-refcount3.test 754s # Running test: glib/portal-support-flatpak-full.test 754s TAP version 13 754s # random seed: R02Scb2d0be556ef5ebc0677744d8931fc38 754s 1..1 754s # Start of portal-support tests 754s # Start of flatpak tests 754s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_3I5NK2/portal-support/flatpak/full/.dirs/home 754s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_3I5NK2/portal-support/flatpak/full/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_3I5NK2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_3I5NK2/portal-support/flatpak/full/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_3I5NK2/portal-support/flatpak/full/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_3I5NK2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_3I5NK2/portal-support/flatpak/full/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_3I5NK2/portal-support/flatpak/full/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_3I5NK2/portal-support/flatpak/full/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_3I5NK2/portal-support/flatpak/full/.dirs/runtime 755s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_3I5NK2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 755s ok 1 /portal-support/flatpak/full 755s # End of flatpak tests 755s # End of portal-support tests 755s ok - glib/portal-support-flatpak-full.test 755s # Running test: glib/unicode-encoding.test 755s TAP version 13 755s # random seed: R02Sbcf07bb4330fb00bc664a4b14a7d166e 755s 1..1 755s # Start of unicode tests 755s ok 1 /unicode/encoding 755s # End of unicode tests 755s ok - glib/unicode-encoding.test 755s # Running test: glib/gdbus-serialization.test 755s TAP version 13 755s # random seed: R02S31d00e6945103f42f4fbce24563691ef 755s 1..18 755s # Start of gdbus tests 755s # Start of message-serialize tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/basic/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/basic/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/basic/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/basic/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/basic/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/basic/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/basic/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/basic/.dirs/runtime 755s ok 1 /gdbus/message-serialize/basic 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/complex/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/complex/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/complex/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/complex/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/complex/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/complex/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/complex/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/complex/.dirs/runtime 755s ok 2 /gdbus/message-serialize/complex 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/invalid/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/invalid/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/invalid/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/invalid/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/invalid/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/invalid/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/invalid/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/invalid/.dirs/runtime 755s ok 3 /gdbus/message-serialize/invalid 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/.dirs/runtime 755s ok 4 /gdbus/message-serialize/header-checks 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/double-array/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/double-array/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/double-array/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/double-array/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/double-array/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/double-array/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/double-array/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/double-array/.dirs/runtime 755s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 755s ok 5 /gdbus/message-serialize/double-array 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/empty-structure/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/empty-structure/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/empty-structure/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/empty-structure/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/empty-structure/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/empty-structure/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/empty-structure/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/empty-structure/.dirs/runtime 755s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 755s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 755s ok 6 /gdbus/message-serialize/empty-structure 755s # Start of header-checks tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/valid/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/valid/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/valid/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/valid/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/valid/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 755s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 755s ok 7 /gdbus/message-serialize/header-checks/valid 755s # End of header-checks tests 755s # End of message-serialize tests 755s # Start of message-parse tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 755s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 755s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/non-signature-header/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/non-signature-header/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/non-signature-header/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/non-signature-header/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/non-signature-header/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/non-signature-header/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/non-signature-header/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/non-signature-header/.dirs/runtime 755s ok 9 /gdbus/message-parse/non-signature-header 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-signature-header/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-signature-header/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-signature-header/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-signature-header/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-signature-header/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-signature-header/.dirs/runtime 755s ok 10 /gdbus/message-parse/empty-signature-header 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/multiple-signature-header/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/multiple-signature-header/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/multiple-signature-header/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/multiple-signature-header/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/multiple-signature-header/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 755s ok 11 /gdbus/message-parse/multiple-signature-header 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/over-long-signature-header/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/over-long-signature-header/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/over-long-signature-header/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/over-long-signature-header/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/over-long-signature-header/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 755s ok 12 /gdbus/message-parse/over-long-signature-header 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-header-nesting/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-header-nesting/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-header-nesting/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-header-nesting/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-header-nesting/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 755s ok 13 /gdbus/message-parse/deep-header-nesting 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-body-nesting/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-body-nesting/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-body-nesting/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-body-nesting/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-body-nesting/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 755s ok 14 /gdbus/message-parse/deep-body-nesting 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/truncated/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/truncated/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/truncated/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/truncated/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/truncated/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/truncated/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/truncated/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/truncated/.dirs/runtime 755s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 755s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 755s ok 15 /gdbus/message-parse/truncated 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-structure/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-structure/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-structure/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-structure/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-structure/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-structure/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-structure/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/empty-structure/.dirs/runtime 755s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 755s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 755s ok 16 /gdbus/message-parse/empty-structure 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/missing-header/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/missing-header/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/missing-header/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/missing-header/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/missing-header/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/missing-header/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/missing-header/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/missing-header/.dirs/runtime 755s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 755s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 755s ok 17 /gdbus/message-parse/missing-header 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/invalid-header-type/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/invalid-header-type/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/invalid-header-type/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/invalid-header-type/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/invalid-header-type/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_M5CPK2/gdbus/message-parse/invalid-header-type/.dirs/runtime 755s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 755s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 755s ok 18 /gdbus/message-parse/invalid-header-type 755s # End of message-parse tests 755s # End of gdbus tests 755s ok - glib/gdbus-serialization.test 755s # Running test: glib/collate.test 755s TAP version 13 755s # random seed: R02S829d7ff452453f093b8355a8ac0ed21f 755s 1..9 755s # Start of unicode tests 755s # Start of collate tests 755s ok 1 /unicode/collate/0 755s ok 2 /unicode/collate/1 755s ok 3 /unicode/collate/2 755s # End of collate tests 755s # Start of collate-key tests 755s ok 4 /unicode/collate-key/0 755s ok 5 /unicode/collate-key/1 755s ok 6 /unicode/collate-key/2 755s # End of collate-key tests 755s # Start of collate-filename tests 755s ok 7 /unicode/collate-filename/0 755s ok 8 /unicode/collate-filename/1 755s ok 9 /unicode/collate-filename/2 755s # End of collate-filename tests 755s # End of unicode tests 755s ok - glib/collate.test 755s # Running test: glib/cxx.test 755s TAP version 13 755s # random seed: R02S8b84a6c37d64b3b6ab75fe10a3b6b335 755s 1..2 755s # Start of gtask tests 755s # 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. 755s ok 1 /gtask/name 755s # Start of name tests 755s # 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. 755s ok 2 /gtask/name/macro-wrapper 755s # End of name tests 755s # End of gtask tests 755s ok - glib/cxx.test 755s # Running test: glib/vfs.test 755s TAP version 13 755s # random seed: R02S4fa2486bcc2dd14c8a9d71c55a4fe482 755s 1..3 755s # Start of gvfs tests 755s ok 1 /gvfs/local 755s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 755s ok 2 /gvfs/register-scheme 755s # Start of resource tests 755s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 755s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 755s ok 3 /gvfs/resource/malformed-escaping 755s # End of resource tests 755s # End of gvfs tests 755s ok - glib/vfs.test 755s # Running test: glib/logging.test 755s TAP version 13 755s # random seed: R02Sb9339e0513148c46219bf7e170f3f0a6 755s 1..17 755s # Start of logging tests 755s ok 1 /logging/default-handler 755s ok 2 /logging/warnings 755s ok 3 /logging/fatal-log-mask 755s # bu-DEBUG: message 755s # ba-DEBUG: message 755s # ba-INFO: message 755s ok 4 /logging/set-handler 755s ok 5 /logging/print-handler 755s ok 6 /logging/printerr-handler 755s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 755s # The Log Message Handler 755s # 755s # The Good Fail Message Handler 755s # 755s ok 7 /logging/653052 755s ok 8 /logging/gibberish 755s # Start of default-handler tests 755s # Start of subprocess tests 755s # End of subprocess tests 755s # End of default-handler tests 755s # End of logging tests 755s # Start of structured-logging tests 755s ok 9 /structured-logging/no-state 755s ok 10 /structured-logging/some-state 755s ok 11 /structured-logging/robustness 755s ok 12 /structured-logging/roundtrip1 755s ok 13 /structured-logging/roundtrip2 755s ok 14 /structured-logging/roundtrip3 755s ok 15 /structured-logging/variant1 755s ok 16 /structured-logging/variant2 755s ok 17 /structured-logging/set-writer-func-twice 755s # End of structured-logging tests 755s ok - glib/logging.test 755s # Running test: glib/cache.test 755s TAP version 13 755s # random seed: R02S72641715f9d617288b7e71ed56312351 755s 1..1 755s # Start of cache tests 755s ok 1 /cache/basic 755s # End of cache tests 755s ok - glib/cache.test 755s # Running test: glib/bookmarkfile.test 755s TAP version 13 755s # random seed: R02S3df24f543bbcd26d7d541a777c55d591 755s 1..96 755s # Start of bookmarks tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/load-from-data-dirs/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/load-from-data-dirs/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/load-from-data-dirs/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/load-from-data-dirs/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/load-from-data-dirs/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/load-from-data-dirs/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/load-from-data-dirs/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/load-from-data-dirs/.dirs/runtime 755s ok 1 /bookmarks/load-from-data-dirs 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/to-file/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/to-file/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/to-file/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/to-file/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/to-file/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/to-file/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/to-file/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/to-file/.dirs/runtime 755s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_9ZBUK2/bookmarkfile-test-FT9TK2.xbel 755s # Roundtrip from a valid bookmark file 755s ok 2 /bookmarks/to-file 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/move-item/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/move-item/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/move-item/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/move-item/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/move-item/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/move-item/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/move-item/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/move-item/.dirs/runtime 755s ok 3 /bookmarks/move-item 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/corner-cases/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/corner-cases/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/corner-cases/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/corner-cases/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/corner-cases/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/corner-cases/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/corner-cases/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/corner-cases/.dirs/runtime 755s ok 4 /bookmarks/corner-cases 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/misc/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/misc/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/misc/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/misc/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/misc/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/misc/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/misc/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/misc/.dirs/runtime 755s ok 5 /bookmarks/misc 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/deprecated/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/deprecated/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/deprecated/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/deprecated/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/deprecated/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/deprecated/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/deprecated/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/deprecated/.dirs/runtime 755s ok 6 /bookmarks/deprecated 755s # Start of parse tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-27.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-27.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-27.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-27.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-27.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-27.xbel/.dirs/runtime 755s ok 7 /bookmarks/parse/fail-27.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-33.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-33.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-33.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-33.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-33.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-33.xbel/.dirs/runtime 755s ok 8 /bookmarks/parse/fail-33.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-06.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-06.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-06.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-06.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-06.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-06.xbel/.dirs/runtime 755s ok 9 /bookmarks/parse/fail-06.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-38.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-38.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-38.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-38.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-38.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-38.xbel/.dirs/runtime 755s ok 10 /bookmarks/parse/fail-38.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-04.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-04.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-04.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-04.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-04.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-04.xbel/.dirs/runtime 755s ok 11 /bookmarks/parse/fail-04.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-21.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-21.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-21.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-21.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-21.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-21.xbel/.dirs/runtime 755s ok 12 /bookmarks/parse/fail-21.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-02.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-02.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-02.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-02.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-02.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-02.xbel/.dirs/runtime 755s ok 13 /bookmarks/parse/valid-02.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-39.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-39.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-39.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-39.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-39.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-39.xbel/.dirs/runtime 755s ok 14 /bookmarks/parse/fail-39.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-42.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-42.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-42.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-42.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-42.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-42.xbel/.dirs/runtime 755s ok 15 /bookmarks/parse/fail-42.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-02.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-02.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-02.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-02.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-02.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-02.xbel/.dirs/runtime 755s ok 16 /bookmarks/parse/fail-02.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-24.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-24.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-24.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-24.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-24.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-24.xbel/.dirs/runtime 755s ok 17 /bookmarks/parse/fail-24.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-28.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-28.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-28.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-28.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-28.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-28.xbel/.dirs/runtime 755s ok 18 /bookmarks/parse/fail-28.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-08.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-08.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-08.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-08.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-08.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-08.xbel/.dirs/runtime 755s ok 19 /bookmarks/parse/fail-08.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-22.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-22.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-22.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-22.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-22.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-22.xbel/.dirs/runtime 755s ok 20 /bookmarks/parse/fail-22.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-29.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-29.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-29.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-29.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-29.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-29.xbel/.dirs/runtime 755s ok 21 /bookmarks/parse/fail-29.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-13.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-13.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-13.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-13.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-13.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-13.xbel/.dirs/runtime 755s ok 22 /bookmarks/parse/fail-13.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-03.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-03.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-03.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-03.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-03.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-03.xbel/.dirs/runtime 755s ok 23 /bookmarks/parse/fail-03.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-30.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-30.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-30.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-30.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-30.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-30.xbel/.dirs/runtime 755s ok 24 /bookmarks/parse/fail-30.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-05.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-05.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-05.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-05.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-05.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-05.xbel/.dirs/runtime 755s ok 25 /bookmarks/parse/fail-05.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-17.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-17.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-17.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-17.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-17.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-17.xbel/.dirs/runtime 755s ok 26 /bookmarks/parse/fail-17.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-14.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-14.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-14.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-14.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-14.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-14.xbel/.dirs/runtime 755s ok 27 /bookmarks/parse/fail-14.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-15.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-15.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-15.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-15.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-15.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-15.xbel/.dirs/runtime 755s ok 28 /bookmarks/parse/fail-15.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-35.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-35.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-35.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-35.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-35.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-35.xbel/.dirs/runtime 755s ok 29 /bookmarks/parse/fail-35.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-41.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-41.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-41.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-41.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-41.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-41.xbel/.dirs/runtime 755s ok 30 /bookmarks/parse/fail-41.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-36.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-36.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-36.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-36.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-36.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-36.xbel/.dirs/runtime 755s ok 31 /bookmarks/parse/fail-36.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-11.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-11.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-11.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-11.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-11.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-11.xbel/.dirs/runtime 755s ok 32 /bookmarks/parse/fail-11.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-07.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-07.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-07.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-07.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-07.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-07.xbel/.dirs/runtime 755s ok 33 /bookmarks/parse/fail-07.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-25.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-25.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-25.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-25.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-25.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-25.xbel/.dirs/runtime 755s ok 34 /bookmarks/parse/fail-25.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-10.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-10.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-10.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-10.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-10.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-10.xbel/.dirs/runtime 755s ok 35 /bookmarks/parse/fail-10.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-19.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-19.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-19.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-19.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-19.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-19.xbel/.dirs/runtime 755s ok 36 /bookmarks/parse/fail-19.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-34.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-34.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-34.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-34.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-34.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-34.xbel/.dirs/runtime 755s ok 37 /bookmarks/parse/fail-34.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-20.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-20.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-20.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-20.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-20.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-20.xbel/.dirs/runtime 755s ok 38 /bookmarks/parse/fail-20.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-09.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-09.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-09.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-09.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-09.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-09.xbel/.dirs/runtime 755s ok 39 /bookmarks/parse/fail-09.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-23.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-23.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-23.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-23.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-23.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-23.xbel/.dirs/runtime 755s ok 40 /bookmarks/parse/fail-23.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-40.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-40.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-40.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-40.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-40.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-40.xbel/.dirs/runtime 755s ok 41 /bookmarks/parse/fail-40.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-01.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-01.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-01.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-01.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-01.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-01.xbel/.dirs/runtime 755s ok 42 /bookmarks/parse/valid-01.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-03.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-03.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-03.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-03.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-03.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/valid-03.xbel/.dirs/runtime 755s ok 43 /bookmarks/parse/valid-03.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-26.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-26.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-26.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-26.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-26.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-26.xbel/.dirs/runtime 755s ok 44 /bookmarks/parse/fail-26.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-01.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-01.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-01.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-01.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-01.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-01.xbel/.dirs/runtime 755s ok 45 /bookmarks/parse/fail-01.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-32.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-32.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-32.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-32.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-32.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-32.xbel/.dirs/runtime 755s ok 46 /bookmarks/parse/fail-32.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-16.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-16.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-16.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-16.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-16.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-16.xbel/.dirs/runtime 755s ok 47 /bookmarks/parse/fail-16.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-31.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-31.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-31.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-31.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-31.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-31.xbel/.dirs/runtime 755s ok 48 /bookmarks/parse/fail-31.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-12.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-12.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-12.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-12.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-12.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-12.xbel/.dirs/runtime 755s ok 49 /bookmarks/parse/fail-12.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-37.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-37.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-37.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-37.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-37.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-37.xbel/.dirs/runtime 755s ok 50 /bookmarks/parse/fail-37.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-18.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-18.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-18.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-18.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-18.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/parse/fail-18.xbel/.dirs/runtime 755s ok 51 /bookmarks/parse/fail-18.xbel 755s # End of parse tests 755s # Start of copy tests 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-27.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-27.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-27.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-27.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-27.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-27.xbel/.dirs/runtime 755s ok 52 /bookmarks/copy/fail-27.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-33.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-33.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-33.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-33.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-33.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-33.xbel/.dirs/runtime 755s ok 53 /bookmarks/copy/fail-33.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-06.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-06.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-06.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-06.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-06.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-06.xbel/.dirs/runtime 755s ok 54 /bookmarks/copy/fail-06.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-38.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-38.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-38.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-38.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-38.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-38.xbel/.dirs/runtime 755s ok 55 /bookmarks/copy/fail-38.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-04.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-04.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-04.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-04.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-04.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-04.xbel/.dirs/runtime 755s ok 56 /bookmarks/copy/fail-04.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-21.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-21.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-21.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-21.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-21.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-21.xbel/.dirs/runtime 755s ok 57 /bookmarks/copy/fail-21.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-02.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-02.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-02.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-02.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-02.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-02.xbel/.dirs/runtime 755s ok 58 /bookmarks/copy/valid-02.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-39.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-39.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-39.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-39.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-39.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-39.xbel/.dirs/runtime 755s ok 59 /bookmarks/copy/fail-39.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-42.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-42.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-42.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-42.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-42.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-42.xbel/.dirs/runtime 755s ok 60 /bookmarks/copy/fail-42.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-02.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-02.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-02.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-02.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-02.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-02.xbel/.dirs/runtime 755s ok 61 /bookmarks/copy/fail-02.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-24.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-24.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-24.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-24.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-24.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-24.xbel/.dirs/runtime 755s ok 62 /bookmarks/copy/fail-24.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-28.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-28.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-28.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-28.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-28.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-28.xbel/.dirs/runtime 755s ok 63 /bookmarks/copy/fail-28.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-08.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-08.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-08.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-08.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-08.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-08.xbel/.dirs/runtime 755s ok 64 /bookmarks/copy/fail-08.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-22.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-22.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-22.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-22.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-22.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-22.xbel/.dirs/runtime 755s ok 65 /bookmarks/copy/fail-22.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-29.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-29.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-29.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-29.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-29.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-29.xbel/.dirs/runtime 755s ok 66 /bookmarks/copy/fail-29.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-13.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-13.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-13.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-13.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-13.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-13.xbel/.dirs/runtime 755s ok 67 /bookmarks/copy/fail-13.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-03.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-03.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-03.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-03.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-03.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-03.xbel/.dirs/runtime 755s ok 68 /bookmarks/copy/fail-03.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-30.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-30.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-30.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-30.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-30.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-30.xbel/.dirs/runtime 755s ok 69 /bookmarks/copy/fail-30.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-05.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-05.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-05.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-05.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-05.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-05.xbel/.dirs/runtime 755s ok 70 /bookmarks/copy/fail-05.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-17.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-17.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-17.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-17.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-17.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-17.xbel/.dirs/runtime 755s ok 71 /bookmarks/copy/fail-17.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-14.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-14.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-14.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-14.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-14.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-14.xbel/.dirs/runtime 755s ok 72 /bookmarks/copy/fail-14.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-15.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-15.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-15.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-15.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-15.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-15.xbel/.dirs/runtime 755s ok 73 /bookmarks/copy/fail-15.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-35.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-35.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-35.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-35.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-35.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-35.xbel/.dirs/runtime 755s ok 74 /bookmarks/copy/fail-35.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-41.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-41.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-41.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-41.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-41.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-41.xbel/.dirs/runtime 755s ok 75 /bookmarks/copy/fail-41.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-36.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-36.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-36.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-36.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-36.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-36.xbel/.dirs/runtime 755s ok 76 /bookmarks/copy/fail-36.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-11.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-11.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-11.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-11.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-11.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-11.xbel/.dirs/runtime 755s ok 77 /bookmarks/copy/fail-11.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-07.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-07.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-07.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-07.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-07.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-07.xbel/.dirs/runtime 755s ok 78 /bookmarks/copy/fail-07.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-25.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-25.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-25.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-25.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-25.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-25.xbel/.dirs/runtime 755s ok 79 /bookmarks/copy/fail-25.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-10.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-10.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-10.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-10.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-10.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-10.xbel/.dirs/runtime 755s ok 80 /bookmarks/copy/fail-10.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-19.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-19.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-19.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-19.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-19.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-19.xbel/.dirs/runtime 755s ok 81 /bookmarks/copy/fail-19.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-34.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-34.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-34.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-34.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-34.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-34.xbel/.dirs/runtime 755s ok 82 /bookmarks/copy/fail-34.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-20.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-20.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-20.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-20.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-20.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-20.xbel/.dirs/runtime 755s ok 83 /bookmarks/copy/fail-20.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-09.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-09.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-09.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-09.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-09.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-09.xbel/.dirs/runtime 755s ok 84 /bookmarks/copy/fail-09.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-23.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-23.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-23.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-23.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-23.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-23.xbel/.dirs/runtime 755s ok 85 /bookmarks/copy/fail-23.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-40.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-40.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-40.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-40.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-40.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-40.xbel/.dirs/runtime 755s ok 86 /bookmarks/copy/fail-40.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-01.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-01.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-01.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-01.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-01.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-01.xbel/.dirs/runtime 755s ok 87 /bookmarks/copy/valid-01.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-03.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-03.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-03.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-03.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-03.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/valid-03.xbel/.dirs/runtime 755s ok 88 /bookmarks/copy/valid-03.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-26.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-26.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-26.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-26.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-26.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-26.xbel/.dirs/runtime 755s ok 89 /bookmarks/copy/fail-26.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-01.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-01.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-01.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-01.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-01.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-01.xbel/.dirs/runtime 755s ok 90 /bookmarks/copy/fail-01.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-32.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-32.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-32.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-32.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-32.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-32.xbel/.dirs/runtime 755s ok 91 /bookmarks/copy/fail-32.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-16.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-16.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-16.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-16.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-16.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-16.xbel/.dirs/runtime 755s ok 92 /bookmarks/copy/fail-16.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-31.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-31.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-31.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-31.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-31.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-31.xbel/.dirs/runtime 755s ok 93 /bookmarks/copy/fail-31.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-12.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-12.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-12.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-12.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-12.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-12.xbel/.dirs/runtime 755s ok 94 /bookmarks/copy/fail-12.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-37.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-37.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-37.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-37.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-37.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-37.xbel/.dirs/runtime 755s ok 95 /bookmarks/copy/fail-37.xbel 755s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-18.xbel/.dirs/home 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-18.xbel/.dirs/cache 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-18.xbel/.dirs/config 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-18.xbel/.dirs/data 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-18.xbel/.dirs/state 755s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_9ZBUK2/bookmarks/copy/fail-18.xbel/.dirs/runtime 755s ok 96 /bookmarks/copy/fail-18.xbel 755s # End of copy tests 755s # End of bookmarks tests 755s ok - glib/bookmarkfile.test 755s # Running test: glib/win32-appinfo.test 755s TAP version 13 755s # random seed: R02Seb3ec0bed101d9cd7df185543e423c89 755s 1..5 755s # Start of appinfo tests 755s ok 1 /appinfo/utf16-strfuncs 755s ok 2 /appinfo/win32-extract-executable 755s ok 3 /appinfo/win32-rundll32-fixup 755s ok 4 /appinfo/win32-parse-filename 755s ok 5 /appinfo/win32-utf16-conversion-fail 755s # Start of subprocess tests 755s # End of subprocess tests 755s # End of appinfo tests 755s ok - glib/win32-appinfo.test 755s # Running test: glib/autoptr.test 755s TAP version 13 755s # random seed: R02S4a623ad11c989ab074715278ea326950 755s 1..6 755s # Start of autoptr tests 755s ok 1 /autoptr/autoptr 755s ok 2 /autoptr/autoptr_steal 755s ok 3 /autoptr/autolist 755s ok 4 /autoptr/autoslist 755s ok 5 /autoptr/autoqueue 755s ok 6 /autoptr/autoclass 755s # End of autoptr tests 755s ok - glib/autoptr.test 755s # Running test: glib/strfuncs.test 755s TAP version 13 755s # random seed: R02S42f08b21bf8ecd27ea72eb63b6b4676c 755s 1..50 755s # Start of strfuncs tests 755s ok 1 /strfuncs/ascii-strcasecmp 755s ok 2 /strfuncs/ascii_strdown 755s ok 3 /strfuncs/ascii_strdup 755s ok 4 /strfuncs/ascii_strtod 755s ok 5 /strfuncs/bounds-check 755s ok 6 /strfuncs/has-prefix 755s ok 7 /strfuncs/has-prefix-macro 755s ok 8 /strfuncs/has-suffix 755s ok 9 /strfuncs/has-suffix-macro 755s ok 10 /strfuncs/memdup 755s ok 11 /strfuncs/memdup2 755s ok 12 /strfuncs/set_str 755s ok 13 /strfuncs/stpcpy 755s ok 14 /strfuncs/str_match_string 755s ok 15 /strfuncs/str_tokenize_and_fold 755s ok 16 /strfuncs/strcanon 755s ok 17 /strfuncs/strchomp 755s ok 18 /strfuncs/strchug 755s ok 19 /strfuncs/strcompress-strescape 755s ok 20 /strfuncs/strconcat 755s ok 21 /strfuncs/strdelimit 755s ok 22 /strfuncs/strdup 755s ok 23 /strfuncs/strdup-printf 755s ok 24 /strfuncs/strdupv 755s ok 25 /strfuncs/strerror 755s ok 26 /strfuncs/strip-context 755s ok 27 /strfuncs/strjoin 755s ok 28 /strfuncs/strjoinv 755s ok 29 /strfuncs/strlcat 755s ok 30 /strfuncs/strlcpy 755s ok 31 /strfuncs/strncasecmp 755s ok 32 /strfuncs/strndup 755s ok 33 /strfuncs/strnfill 755s ok 34 /strfuncs/strreverse 755s ok 35 /strfuncs/strsignal 755s ok 36 /strfuncs/strsplit 755s ok 37 /strfuncs/strsplit-set 755s ok 38 /strfuncs/strstr 755s ok 39 /strfuncs/strtod 755s ok 40 /strfuncs/strtoull-strtoll 755s ok 41 /strfuncs/strup 755s ok 42 /strfuncs/strv-contains 755s ok 43 /strfuncs/strv-equal 755s ok 44 /strfuncs/strv-length 755s ok 45 /strfuncs/test-is-to-digit 755s ok 46 /strfuncs/transliteration 755s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 755s ok 47 /strfuncs/str-equal 755s # Start of ascii-string-to-num tests 755s ok 48 /strfuncs/ascii-string-to-num/pathological 755s ok 49 /strfuncs/ascii-string-to-num/usual 755s # End of ascii-string-to-num tests 755s # Start of strdup tests 755s ok 50 /strfuncs/strdup/inline 755s # End of strdup tests 755s # End of strfuncs tests 755s ok - glib/strfuncs.test 755s # Running test: glib/cond.test 755s TAP version 13 755s # random seed: R02S887e4426645a06b02b833bc1a419eb8c 755s 1..4 755s # Start of thread tests 755s ok 1 /thread/cond1 755s ok 2 /thread/cond2 755s # Start of cond tests 756s ok 3 /thread/cond/wait-until 756s # slow test /thread/cond/wait-until executed in 1.02 secs 756s # Start of wait-until tests 756s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 756s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 757s ok 4 /thread/cond/wait-until/contended-and-interrupted 757s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 757s # End of wait-until tests 757s # End of cond tests 757s # End of thread tests 757s ok - glib/cond.test 757s # Running test: glib/reference.test 757s TAP version 13 757s # random seed: R02S8564e49e6feee07a2bd2e62dbb353255 757s 1..29 757s # Start of type tests 757s ok 1 /type/fundamentals 757s ok 2 /type/qdata 757s ok 3 /type/query 757s ok 4 /type/class-private 757s # End of type tests 757s # Start of object tests 757s ok 5 /object/clear 757s ok 6 /object/clear-function 757s ok 7 /object/set 757s ok 8 /object/set-function 757s ok 9 /object/value 757s ok 10 /object/initially-unowned 757s ok 11 /object/weak-pointer 757s ok 12 /object/weak-ref 757s ok 13 /object/toggle-ref 757s ok 14 /object/qdata 757s ok 15 /object/qdata2 757s # Start of set tests 757s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 757s ok 16 /object/set/derived-type 757s # End of set tests 757s # Start of weak-pointer tests 757s ok 17 /object/weak-pointer/clear 757s ok 18 /object/weak-pointer/clear-function 757s ok 19 /object/weak-pointer/set 757s ok 20 /object/weak-pointer/set-function 757s # End of weak-pointer tests 757s # Start of weak-ref tests 757s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 757s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 757s ok 21 /object/weak-ref/on-dispose 757s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 757s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 757s ok 22 /object/weak-ref/on-run-dispose 757s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 757s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 757s ok 23 /object/weak-ref/on-toggle-notify 757s ok 24 /object/weak-ref/in-toggle-notify 757s ok 25 /object/weak-ref/many 757s # Start of concurrent tests 759s # Executing: glib/reference.test 760s ok 26 /object/weak-ref/concurrent/0 760s # slow test /object/weak-ref/concurrent/0 executed in 2.93 secs 763s ok 27 /object/weak-ref/concurrent/1 763s # slow test /object/weak-ref/concurrent/1 executed in 3.24 secs 763s # End of concurrent tests 763s # End of weak-ref tests 763s # Start of toggle-ref tests 763s ok 28 /object/toggle-ref/ref-on-dispose 763s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 763s # End of toggle-ref tests 763s # End of object tests 763s ok - glib/reference.test 763s # Running test: glib/gdbus-auth.test 763s TAP version 13 763s # random seed: R02S58ff8b4584b5526326b5d4f0c0a2232f 763s 1..5 763s # Start of gdbus tests 763s # Start of auth tests 763s # Start of client tests 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/EXTERNAL/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/EXTERNAL/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/EXTERNAL/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/EXTERNAL/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/EXTERNAL/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/EXTERNAL/.dirs/runtime 763s ok 1 /gdbus/auth/client/EXTERNAL 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 763s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 763s # End of client tests 763s # Start of server tests 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/ANONYMOUS/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/ANONYMOUS/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/ANONYMOUS/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/ANONYMOUS/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/ANONYMOUS/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 763s ok 3 /gdbus/auth/server/ANONYMOUS 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/EXTERNAL/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/EXTERNAL/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/EXTERNAL/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/EXTERNAL/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/EXTERNAL/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/EXTERNAL/.dirs/runtime 763s ok 4 /gdbus/auth/server/EXTERNAL 763s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 763s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_UPALK2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 763s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 763s # End of server tests 763s # End of auth tests 763s # End of gdbus tests 763s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 763s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 763s ok - glib/gdbus-auth.test 763s # Running test: glib/signal-handler.test 763s TAP version 13 763s # random seed: R02Sc050dc917f3be1b51e9dce3c69a6a535 763s 1..7 763s # Start of signal tests 763s # Start of handler tests 763s # min perf: connected 1 handlers in 0.000 seconds 763s ok 1 /signal/handler/connect-many 763s # min perf: disconnected 1 handlers in 0.000 seconds 763s ok 2 /signal/handler/disconnect-many-ordered 763s # min perf: disconnected 1 handlers in 0.000 seconds 763s ok 3 /signal/handler/disconnect-many-inverse 763s # min perf: disconnected 1 handlers in 0.000 seconds 763s ok 4 /signal/handler/disconnect-many-random 763s # min perf: disconnected 1 handlers in 0.000 seconds 763s ok 5 /signal/handler/disconnect-2-signals 763s # min perf: disconnected 1 handlers in 0.000 seconds 763s ok 6 /signal/handler/disconnect-2-objects 763s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 763s ok 7 /signal/handler/block-many 763s # End of handler tests 763s # End of signal tests 763s ok - glib/signal-handler.test 763s # Running test: glib/dbus-appinfo.test 763s TAP version 13 763s # random seed: R02S05df37e88b7f16279fc5b015781d2dc3 763s 1..3 763s # Start of appinfo tests 763s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 763s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 763s ok 1 /appinfo/dbusappinfo 763s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 763s dbus-daemon[6215]: [session uid=1000 pid=6215] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=6214 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 763s # Acquired a message bus connection 763s dbus-daemon[6215]: [session uid=1000 pid=6215] Successfully activated service 'org.freedesktop.portal.Documents' 763s # Acquired the name org.freedesktop.portal.Documents 763s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 763s ok 2 /appinfo/flatpak-doc-export 763s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 763s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 763s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 763s ok 3 /appinfo/flatpak-missing-doc-export 763s # End of appinfo tests 763s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 763s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 763s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 763s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 763s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 763s # Lost the name org.freedesktop.portal.Documents 763s ok - glib/dbus-appinfo.test 763s # Running test: glib/gdatetime.test 763s TAP version 13 763s # random seed: R02S508c21f6498baada40083ded0d4108f0 763s 1..68 763s # Start of GDateTime tests 763s # Bug Reference: http://bugzilla.gnome.org/702674 763s ok 1 /GDateTime/invalid 763s ok 2 /GDateTime/add_days 763s ok 3 /GDateTime/add_full 763s ok 4 /GDateTime/add_hours 763s ok 5 /GDateTime/add_minutes 763s ok 6 /GDateTime/add_months 763s ok 7 /GDateTime/add_seconds 763s ok 8 /GDateTime/add_weeks 763s ok 9 /GDateTime/add_years 763s ok 10 /GDateTime/compare 763s ok 11 /GDateTime/diff 763s ok 12 /GDateTime/equal 763s ok 13 /GDateTime/get_day_of_week 763s ok 14 /GDateTime/get_day_of_month 763s ok 15 /GDateTime/get_day_of_year 763s ok 16 /GDateTime/get_hour 763s ok 17 /GDateTime/get_microsecond 763s ok 18 /GDateTime/get_minute 763s ok 19 /GDateTime/get_month 763s ok 20 /GDateTime/get_second 763s ok 21 /GDateTime/get_utc_offset 763s ok 22 /GDateTime/get_year 763s ok 23 /GDateTime/hash 763s ok 24 /GDateTime/new_from_unix 763s ok 25 /GDateTime/new_from_unix_utc 763s ok 26 /GDateTime/new_from_timeval 763s ok 27 /GDateTime/new_from_timeval_utc 763s ok 28 /GDateTime/new_from_iso8601 763s ok 29 /GDateTime/new_full 763s ok 30 /GDateTime/now 763s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 763s ok 31 /GDateTime/test-6-days-until-end-of-the-month 763s ok 32 /GDateTime/printf 763s ok 33 /GDateTime/non_utf8_printf 763s ok 34 /GDateTime/format_unrepresentable 763s ok 35 /GDateTime/format_iso8601 763s ok 36 /GDateTime/strftime 763s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 763s # Bug Reference: http://bugzilla.gnome.org/749206 763s ok 38 /GDateTime/month_names 763s ok 39 /GDateTime/to_local 763s ok 40 /GDateTime/to_unix 763s ok 41 /GDateTime/to_timeval 763s ok 42 /GDateTime/to_utc 763s ok 43 /GDateTime/now_utc 763s ok 44 /GDateTime/dst 763s # Bug Reference: http://bugzilla.gnome.org/642935 763s ok 45 /GDateTime/test_z 764s # Executing: glib/gdatetime.test 765s ok 46 /GDateTime/test-all-dates 765s # slow test /GDateTime/test-all-dates executed in 1.56 secs 765s ok 47 /GDateTime/unix_usec 765s # Start of new_from_unix tests 765s # Bug Reference: http://bugzilla.gnome.org/782089 765s ok 48 /GDateTime/new_from_unix/overflow 765s # End of new_from_unix tests 765s # Start of new_from_timeval tests 765s # Bug Reference: http://bugzilla.gnome.org/782089 765s # Maximum supported GTimeVal.tv_sec = 253402300799 765s ok 49 /GDateTime/new_from_timeval/overflow 765s # End of new_from_timeval tests 765s # Start of new_from_iso8601 tests 765s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 765s # Vector 0: 1990-11-01T10:21:17Z 765s # Vector 1: 19901101T102117Z 765s # Vector 2: 1970-01-01T00:00:17.12Z 765s # Vector 3: 1970-01-01T00:00:17.1234Z 765s # Vector 4: 1970-01-01T00:00:17.123456Z 765s # Vector 5: 1980-02-22T12:36:00+02:00 765s # Vector 6: 1990-12-31T15:59:60-08:00 765s # Vector 7: 765s # Vector 8: x 765s # Vector 9: 123x 765s # Vector 10: 2001-10+x 765s # Vector 11: 1980-02-22T 765s # Vector 12: 2001-10-08Tx 765s # Vector 13: 2001-10-08T10:11x 765s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 765s # Vector 15: 1980-02-22T10:36:00Zulu 765s # Vector 16: 2T0+819855292164632335 765s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 765s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 765s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 765s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 765s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 765s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 765s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 765s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 765s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 765s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 765s # Vector 27: 20180803T140805.446178377+0100 765s # Vector 28: 21474836480803T140805.446178377+0100 765s # Vector 29: 20181303T140805.446178377+0100 765s # Vector 30: 20180003T140805.446178377+0100 765s # Vector 31: 20180800T140805.446178377+0100 765s # Vector 32: 20180832T140805.446178377+0100 765s # Vector 33: 20180803T240805.446178377+0100 765s # Vector 34: 20180803T146005.446178377+0100 765s # Vector 35: 20180803T140863.446178377+0100 765s # Vector 36: 20180803T140805.446178377+10000 765s # Vector 37: -0005-01-01T00:00:00Z 765s # Vector 38: 2018-08-06 765s # Vector 39: 20180803T140805,446178377+0100 765s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 765s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 765s # Vector 42: 1990-11-01T10:21:17 765s # Vector 43: 1719W462 407777-07 765s # Vector 44: 4011090 260528Z 765s # Vector 45: 0000W011 228214-22 765s ok 50 /GDateTime/new_from_iso8601/2 765s # End of new_from_iso8601 tests 765s # Start of format_mixed tests 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 765s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 765s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 765s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 765s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 765s # End of format_mixed tests 765s # Start of strftime tests 765s ok 55 /GDateTime/strftime/error_handling 765s # End of strftime tests 765s # Start of eras tests 765s ok 56 /GDateTime/eras/japan 765s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 765s # Vector 0: 765s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 765s # 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年 765s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 765s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 765s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 765s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 765s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 765s # Vector 8: + 765s # Vector 9: +: 765s # Vector 10: +:: 765s # Vector 11: +:200 765s # Vector 12: +:2nonsense 765s # Vector 13: +:2nonsense: 765s # Vector 14: +:2: 765s # Vector 15: +:2:: 765s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 765s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 765s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 765s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 765s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 765s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 765s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 765s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 765s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 765s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 765s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 765s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 765s # Vector 28: +:2:2020/01/01 765s # Vector 29: +:2:2020/01/01: 765s # Vector 30: +:2:2020/01/01:: 765s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 765s # Vector 32: +:2:2020/01/01:+* 765s # Vector 33: +:2:2020/01/01:+*: 765s # Vector 34: +:2:2020/01/01:+*:: 765s # Vector 35: +:2:2020/01/01:+*:令和 765s # Vector 36: +:2:2020/01/01:+*:令和: 765s # Vector 37: +:2:2020/01/01:+*:令和:; 765s ok 58 /GDateTime/eras/parsing 765s # End of eras tests 765s # End of GDateTime tests 765s # Start of GTimeZone tests 765s ok 59 /GTimeZone/find-interval 765s ok 60 /GTimeZone/adjust-time 765s ok 61 /GTimeZone/no-header 765s ok 62 /GTimeZone/no-header-identifier 765s ok 63 /GTimeZone/posix-parse 765s # Bug Reference: http://bugzilla.gnome.org/697715 765s ok 64 /GTimeZone/floating-point 765s # System time zone identifier: Etc/UTC 765s ok 65 /GTimeZone/identifier 765s # Vector 0: -158400 765s # Vector 1: -10000 765s # Vector 2: -3600 765s # Vector 3: -61 765s # Vector 4: -60 765s # Vector 5: -59 765s # Vector 6: 0 765s # Vector 7: 59 765s # Vector 8: 60 765s # Vector 9: 61 765s # Vector 10: 3600 765s # Vector 11: 10000 765s # Vector 12: 158400 765s ok 66 /GTimeZone/new-offset 765s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 765s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 765s ok 67 /GTimeZone/parse-rfc8536 765s # /GTimeZone/caching summary: GTimeZone instances are cached 765s ok 68 /GTimeZone/caching 765s # End of GTimeZone tests 765s ok - glib/gdatetime.test 765s # Running test: glib/accumulator.test 765s TAP version 13 765s # random seed: R02S4e8c3a6ccf92df2babc37bd124ee043a 765s 1..1 765s # Start of gobject tests 765s ok 1 /gobject/accumulator 765s # End of gobject tests 765s ok - glib/accumulator.test 765s # Running test: glib/converter-stream.test 765s TAP version 13 765s # random seed: R02Sfccc110c3b3bf97c020c98b84a900358 765s 1..17 765s # Start of converter tests 765s ok 1 /converter/basics 765s # End of converter tests 765s # Start of converter-input-stream tests 765s ok 2 /converter-input-stream/expander 765s ok 3 /converter-input-stream/compressor 765s # Start of truncation tests 765s ok 4 /converter-input-stream/truncation/zlib 765s ok 5 /converter-input-stream/truncation/gzip 766s ok 6 /converter-input-stream/truncation/raw 766s # End of truncation tests 766s # Start of charset tests 766s ok 7 /converter-input-stream/charset/utf8->latin1 766s ok 8 /converter-input-stream/charset/latin1->utf8 766s ok 9 /converter-input-stream/charset/fallbacks 766s # End of charset tests 766s # End of converter-input-stream tests 766s # Start of converter-output-stream tests 766s # Start of roundtrip tests 766s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 766s ok 10 /converter-output-stream/roundtrip/zlib-0 766s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 766s ok 11 /converter-output-stream/roundtrip/zlib-9 766s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 766s ok 12 /converter-output-stream/roundtrip/gzip-0 766s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 766s ok 13 /converter-output-stream/roundtrip/gzip-9 766s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 766s ok 14 /converter-output-stream/roundtrip/raw-0 766s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 767s ok 15 /converter-output-stream/roundtrip/raw-9 767s # End of roundtrip tests 767s # End of converter-output-stream tests 767s # Start of converter-stream tests 767s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 767s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1e80bc99e80 and GSocketClientAsyncConnectData 0x1e80c0852c0 767s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 767s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 767s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1e80bca2fe0 for GSocketClientAsyncConnectData 0x1e80c0852c0 767s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 767s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 767s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 767s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 767s ok 16 /converter-stream/pollable 767s ok 17 /converter-stream/leftover 767s # End of converter-stream tests 767s ok - glib/converter-stream.test 767s # Running test: glib/macros-c-90.test 767s TAP version 13 767s # random seed: R02Sc7fdb278c4144b62f2c54067142d31b6 767s 1..4 767s # Start of C tests 767s ok 1 /C/standard-90 767s # End of C tests 767s # Start of alignof tests 767s ok 2 /alignof/fallback 767s # End of alignof tests 767s # Start of assert tests 767s ok 3 /assert/static 767s # End of assert tests 767s # Start of struct tests 767s ok 4 /struct/sizeof_member 767s # End of struct tests 767s ok - glib/macros-c-90.test 767s # Running test: glib/gdbus-bz627724.test 767s TAP version 13 767s # random seed: R02S1f49fb4fd92475387a1199a5dfc94286 767s 1..1 767s # Start of gdbus tests 767s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_AL4TK2/gdbus/bz627724/.dirs/home 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_AL4TK2/gdbus/bz627724/.dirs/cache 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_AL4TK2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_AL4TK2/gdbus/bz627724/.dirs/system-config2 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_AL4TK2/gdbus/bz627724/.dirs/config 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_AL4TK2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_AL4TK2/gdbus/bz627724/.dirs/system-data2 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_AL4TK2/gdbus/bz627724/.dirs/data 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_AL4TK2/gdbus/bz627724/.dirs/state 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_AL4TK2/gdbus/bz627724/.dirs/runtime 767s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 767s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 767s ok 1 /gdbus/bz627724 767s # End of gdbus tests 767s ok - glib/gdbus-bz627724.test 767s # Running test: glib/guuid.test 767s TAP version 13 767s # random seed: R02S32c1a206ce4544fe3a093fc68f237ac9 767s 1..2 767s # Start of uuid tests 767s ok 1 /uuid/string 767s ok 2 /uuid/random 767s # End of uuid tests 767s ok - glib/guuid.test 767s # Running test: glib/cmph-bdz.test 767s TAP version 13 767s # random seed: R02Sefb91d85e08c73d9ff67eea0f5f808ae 767s 1..2 767s # Start of cmph-bdz tests 767s ok 1 /cmph-bdz/search 767s ok 2 /cmph-bdz/search-packed 767s # End of cmph-bdz tests 767s ok - glib/cmph-bdz.test 767s # Running test: glib/pollable.test 767s TAP version 13 767s # random seed: R02S2e24ccf8bedfe139eafdbce380bb2693 767s 1..6 767s # Start of pollable tests 767s ok 1 /pollable/converter 767s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 767s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x4ae7944f790 and GSocketClientAsyncConnectData 0x4ae79442ad0 767s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 767s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 767s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x4ae79450810 for GSocketClientAsyncConnectData 0x4ae79442ad0 767s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 767s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 767s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 767s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 767s ok 2 /pollable/socket 767s # Start of unix tests 767s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 767s ok 3 /pollable/unix/pipe 767s # /pollable/unix/pty summary: Test that PTYs are considered pollable 767s ok 4 /pollable/unix/pty 767s # /pollable/unix/file summary: Test that regular files are not considered pollable 767s ok 5 /pollable/unix/file 767s # /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 767s ok 6 /pollable/unix/nulldev 767s # End of unix tests 767s # End of pollable tests 767s ok - glib/pollable.test 767s # Running test: glib/data-input-stream.test 767s TAP version 13 767s # random seed: R02S523ac84051c16c3b3bbc3190c3a607c3 767s 1..10 767s # Start of data-input-stream tests 767s ok 1 /data-input-stream/basic 767s ok 2 /data-input-stream/read-lines-LF 767s ok 3 /data-input-stream/read-lines-LF-valid-utf8 767s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 767s ok 5 /data-input-stream/read-lines-CR 767s ok 6 /data-input-stream/read-lines-CR-LF 767s ok 7 /data-input-stream/read-lines-any 767s ok 8 /data-input-stream/read-until 767s ok 9 /data-input-stream/read-upto 767s ok 10 /data-input-stream/read-int 767s # End of data-input-stream tests 767s ok - glib/data-input-stream.test 767s # Running test: glib/binding.test 767s TAP version 13 767s # random seed: R02Sa9041afab4b3ce85e15768a65e183e1f 767s 1..19 767s # Start of binding tests 767s ok 1 /binding/default 767s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 767s ok 2 /binding/canonicalisation 767s ok 3 /binding/bidirectional 767s ok 4 /binding/transform 767s ok 5 /binding/transform-default 767s ok 6 /binding/transform-closure 767s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 767s ok 7 /binding/chain 767s ok 8 /binding/sync-create 767s ok 9 /binding/invert-boolean 767s ok 10 /binding/same-object 767s ok 11 /binding/unbind 767s ok 12 /binding/unbind-weak 767s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 767s ok 13 /binding/unbind-multiple 767s ok 14 /binding/fail 767s ok 15 /binding/interface 767s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 767s ok 16 /binding/concurrent-unbind 767s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 767s ok 17 /binding/concurrent-finalizing 767s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 767s ok 18 /binding/dispose-source 767s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 767s ok 19 /binding/dispose-target 767s # End of binding tests 767s ok - glib/binding.test 767s # Running test: glib/gdbus-proxy.test 767s TAP version 13 767s # random seed: R02Sc6d8c3571a14976445a1e0aaae231ef9 767s 1..5 767s # Start of gdbus tests 767s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/.dirs/home 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/.dirs/cache 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/.dirs/system-config2 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/.dirs/config 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/.dirs/system-data2 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/.dirs/data 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/.dirs/state 767s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/.dirs/runtime 767s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 769s ok 1 /gdbus/proxy 769s # slow test /gdbus/proxy executed in 1.73 secs 769s # Start of proxy tests 769s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-properties/.dirs/home 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-properties/.dirs/cache 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-properties/.dirs/system-config2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-properties/.dirs/config 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-properties/.dirs/system-data2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-properties/.dirs/data 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-properties/.dirs/state 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-properties/.dirs/runtime 769s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 769s ok 2 /gdbus/proxy/no-properties 769s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/wellknown-noauto/.dirs/home 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/wellknown-noauto/.dirs/cache 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/wellknown-noauto/.dirs/config 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/wellknown-noauto/.dirs/data 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/wellknown-noauto/.dirs/state 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/wellknown-noauto/.dirs/runtime 769s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 769s ok 3 /gdbus/proxy/wellknown-noauto 769s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/async/.dirs/home 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/async/.dirs/cache 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/async/.dirs/system-config2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/async/.dirs/config 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/async/.dirs/system-data2 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/async/.dirs/data 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/async/.dirs/state 769s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/async/.dirs/runtime 769s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 769s # Executing: glib/gdbus-proxy.test 770s ok 4 /gdbus/proxy/async 770s # slow test /gdbus/proxy/async executed in 1.73 secs 770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-match-rule/.dirs/home 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-match-rule/.dirs/cache 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-match-rule/.dirs/system-config2 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-match-rule/.dirs/config 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-match-rule/.dirs/system-data2 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-match-rule/.dirs/data 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-match-rule/.dirs/state 770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_HF9ZK2/gdbus/proxy/no-match-rule/.dirs/runtime 770s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 770s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 772s ok 5 /gdbus/proxy/no-match-rule 772s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs 772s # End of proxy tests 772s # End of gdbus tests 772s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 772s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 772s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 772s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 772s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 772s ok - glib/gdbus-proxy.test 772s # Running test: glib/closure-refcount.test 772s TAP version 13 772s # random seed: R02S892230d1e1e7bd433e3bb91fbc9a2b0f 772s 1..1 772s # Start of closure tests 772s # Init 0x1c395ea5f1d0 772s # Yielding from main thread 772s # Yielding from main thread 772s # Yielding from main thread 772s # Yielding from thread1 772s # Yielding from thread2 773s # Yielding from main thread 773s # Yielding from main thread 773s # Yielding from main thread 773s # Yielding from main thread 773s # Yielding from thread2 773s # Yielding from thread1 773s # Yielding from main thread 773s # Yielding from main thread 773s # Yielding from main thread 773s # Yielding from main thread 773s # Yielding from thread2 773s # Yielding from thread1 773s # Yielding from main thread 773s # Yielding from main thread 773s # Yielding from main thread 773s # Yielding from thread2 773s # Yielding from thread1 773s # Yielding from main thread 774s # Yielding from main thread 774s # Yielding from main thread 774s # Yielding from main thread 774s # Yielding from thread2 774s # Yielding from thread1 774s # Yielding from main thread 774s # Yielding from main thread 774s # Yielding from main thread 774s # Yielding from main thread 774s # Yielding from thread2 774s # Yielding from thread1 774s # Yielding from main thread 774s # Yielding from main thread 774s # Executing: glib/closure-refcount.test 774s # Yielding from main thread 774s # Yielding from thread2 774s # Yielding from main thread 774s # Yielding from thread1 774s # Yielding from main thread 775s # Yielding from main thread 775s # Yielding from main thread 775s # Yielding from thread2 775s # Yielding from thread1 775s # Yielding from main thread 775s # Yielding from main thread 775s # Yielding from main thread 775s # Yielding from main thread 775s # Yielding from thread2 775s # Yielding from thread1 775s # Yielding from main thread 775s # Yielding from main thread 775s # Yielding from main thread 775s # Yielding from main thread 775s # Yielding from thread2 775s # Yielding from thread1 775s # Yielding from main thread 776s # Yielding from main thread 776s # Yielding from main thread 776s # Yielding from thread2 776s # Yielding from thread1 776s # Yielding from main thread 776s # Yielding from main thread 776s # Yielding from main thread 776s # Yielding from main thread 776s # Yielding from thread2 776s # Yielding from thread1 776s # Yielding from main thread 776s # Yielding from main thread 776s # Yielding from main thread 776s # Yielding from main thread 776s # Yielding from thread2 776s # Yielding from thread1 776s # Yielding from main thread 776s # Yielding from main thread 777s # Yielding from main thread 777s # Yielding from thread2 777s # Yielding from main thread 777s # Yielding from thread1 777s # Yielding from main thread 777s # Yielding from main thread 777s # Yielding from main thread 777s # Yielding from thread2 777s # Yielding from thread1 777s # Yielding from main thread 777s # Yielding from main thread 777s # Yielding from main thread 777s # Yielding from main thread 777s # Yielding from thread2 777s # Yielding from thread1 777s # Yielding from main thread 777s # Yielding from main thread 777s # Yielding from main thread 778s # Yielding from thread2 778s # Yielding from main thread 778s # Yielding from thread1 778s # Yielding from main thread 778s # Yielding from main thread 778s # Yielding from main thread 778s # Yielding from thread2 778s # Yielding from main thread 778s # Yielding from thread1 778s # Yielding from main thread 778s # Yielding from main thread 778s # Yielding from main thread 778s # Yielding from thread2 778s # Yielding from thread1 778s # Yielding from main thread 778s # Yielding from main thread 778s # Yielding from main thread 778s # Yielding from main thread 778s # Yielding from thread2 779s # Yielding from thread1 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from thread2 779s # Yielding from main thread 779s # Yielding from thread1 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from thread2 779s # Yielding from main thread 779s # Yielding from thread1 779s # Yielding from main thread 779s # Executing: glib/closure-refcount.test 779s # Yielding from main thread 779s # Yielding from main thread 779s # Yielding from thread2 779s # Yielding from thread1 779s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from main thread 780s # Yielding from thread1 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from main thread 780s # Yielding from thread2 780s # Yielding from thread1 780s # Yielding from main thread 781s # Yielding from main thread 781s # Yielding from main thread 781s # Stopping 781s # Stopped 781s ok 1 /closure/refcount 781s # slow test /closure/refcount executed in 8.51 secs 781s # End of closure tests 781s ok - glib/closure-refcount.test 781s # Running test: glib/thread-pool.test 781s TAP version 13 781s # random seed: R02Se706aa634f5600cd56dab67947311bcd 781s 1..5 781s # Start of thread_pool tests 781s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 781s ok 1 /thread_pool/shared 781s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 781s ok 2 /thread_pool/exclusive 781s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 781s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 781s ok 3 /thread_pool/create_shared_after_exclusive 781s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 781s ok 4 /thread_pool/create_full 781s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 781s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 781s ok 5 /thread_pool/create_exclusive_after_shared 781s # End of thread_pool tests 781s ok - glib/thread-pool.test 781s # Running test: glib/markup-parse.test 781s TAP version 13 781s # random seed: R02Sa5133d5ad54ba301a73efeb680390fd1 781s 1..71 781s # Start of markup tests 781s # Start of parse tests 781s ok 1 /markup/parse/valid-17.gmarkup 781s ok 2 /markup/parse/valid-10.gmarkup 781s ok 3 /markup/parse/fail-49.gmarkup 781s ok 4 /markup/parse/fail-9.gmarkup 781s ok 5 /markup/parse/fail-54.gmarkup 781s ok 6 /markup/parse/fail-31.gmarkup 781s ok 7 /markup/parse/valid-1.gmarkup 781s ok 8 /markup/parse/fail-4.gmarkup 781s ok 9 /markup/parse/valid-6.gmarkup 781s ok 10 /markup/parse/fail-48.gmarkup 781s ok 11 /markup/parse/fail-36.gmarkup 781s ok 12 /markup/parse/valid-11.gmarkup 781s ok 13 /markup/parse/fail-18.gmarkup 781s ok 14 /markup/parse/fail-19.gmarkup 781s ok 15 /markup/parse/fail-17.gmarkup 781s ok 16 /markup/parse/fail-25.gmarkup 781s ok 17 /markup/parse/valid-7.gmarkup 781s ok 18 /markup/parse/fail-30.gmarkup 781s ok 19 /markup/parse/fail-24.gmarkup 781s ok 20 /markup/parse/fail-10.gmarkup 781s ok 21 /markup/parse/fail-52.gmarkup 781s ok 22 /markup/parse/fail-33.gmarkup 781s ok 23 /markup/parse/valid-8.gmarkup 781s ok 24 /markup/parse/fail-12.gmarkup 781s ok 25 /markup/parse/fail-23.gmarkup 781s ok 26 /markup/parse/fail-14.gmarkup 781s ok 27 /markup/parse/fail-21.gmarkup 781s ok 28 /markup/parse/fail-3.gmarkup 781s ok 29 /markup/parse/fail-38.gmarkup 781s ok 30 /markup/parse/fail-22.gmarkup 781s ok 31 /markup/parse/fail-5.gmarkup 781s ok 32 /markup/parse/valid-5.gmarkup 781s ok 33 /markup/parse/fail-27.gmarkup 781s ok 34 /markup/parse/fail-39.gmarkup 781s ok 35 /markup/parse/fail-46.gmarkup 781s ok 36 /markup/parse/fail-51.gmarkup 781s ok 37 /markup/parse/fail-37.gmarkup 781s ok 38 /markup/parse/valid-2.gmarkup 781s ok 39 /markup/parse/fail-8.gmarkup 781s ok 40 /markup/parse/fail-42.gmarkup 781s ok 41 /markup/parse/valid-13.gmarkup 781s ok 42 /markup/parse/fail-29.gmarkup 781s ok 43 /markup/parse/valid-16.gmarkup 781s ok 44 /markup/parse/valid-4.gmarkup 781s ok 45 /markup/parse/fail-16.gmarkup 781s ok 46 /markup/parse/fail-53.gmarkup 781s ok 47 /markup/parse/fail-35.gmarkup 781s ok 48 /markup/parse/valid-3.gmarkup 781s ok 49 /markup/parse/valid-9.gmarkup 781s ok 50 /markup/parse/valid-12.gmarkup 781s ok 51 /markup/parse/fail-1.gmarkup 781s ok 52 /markup/parse/fail-20.gmarkup 781s ok 53 /markup/parse/fail-28.gmarkup 781s ok 54 /markup/parse/fail-6.gmarkup 781s ok 55 /markup/parse/fail-2.gmarkup 781s ok 56 /markup/parse/fail-34.gmarkup 781s ok 57 /markup/parse/fail-7.gmarkup 781s ok 58 /markup/parse/fail-13.gmarkup 781s ok 59 /markup/parse/fail-45.gmarkup 781s ok 60 /markup/parse/fail-15.gmarkup 781s ok 61 /markup/parse/fail-40.gmarkup 781s ok 62 /markup/parse/fail-26.gmarkup 781s ok 63 /markup/parse/fail-32.gmarkup 781s ok 64 /markup/parse/fail-11.gmarkup 781s ok 65 /markup/parse/fail-50.gmarkup 781s ok 66 /markup/parse/fail-41.gmarkup 781s ok 67 /markup/parse/fail-43.gmarkup 781s ok 68 /markup/parse/fail-44.gmarkup 781s ok 69 /markup/parse/fail-47.gmarkup 781s ok 70 /markup/parse/valid-15.gmarkup 781s ok 71 /markup/parse/valid-14.gmarkup 781s # End of parse tests 781s # End of markup tests 781s ok - glib/markup-parse.test 781s # Running test: glib/gobject-private.test 781s TAP version 13 781s # random seed: R02S779dfec5d2d586e71fc4367f5086035b 781s 1..3 781s # Start of private tests 781s ok 1 /private/instance 781s ok 2 /private/derived-instance 781s ok 3 /private/mixed-derived-instance 781s # End of private tests 781s ok - glib/gobject-private.test 781s # Running test: glib/async-close-output-stream.test 781s TAP version 13 781s # random seed: R02S46c8143589d71b0d25e35f1f57dc1d47 781s 1..3 781s # Start of close-async tests 781s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 781s ok 1 /close-async/without-flush 781s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 781s ok 2 /close-async/with-flush 781s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 781s ok 3 /close-async/with-async-flush 781s # End of close-async tests 781s ok - glib/async-close-output-stream.test 781s # Running test: glib/readwrite.test 781s TAP version 13 781s # random seed: R02S10f510e51e34f85b1dc824aa6b91acb5 781s 1..3 781s # Start of readwrite tests 781s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 781s ok 1 /readwrite/test_g_file_open_readwrite 781s ok 2 /readwrite/test_g_file_create_readwrite 781s ok 3 /readwrite/test_g_file_replace_readwrite 781s # End of readwrite tests 781s ok - glib/readwrite.test 781s # Running test: glib/portal-support-snap-classic.test 781s TAP version 13 781s # random seed: R02S90ab77cd12a6b502773c1b4c6fefceca 781s 1..3 781s # Start of portal-support tests 781s # Start of snap-classic tests 781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/no-snapctl/.dirs/home 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/no-snapctl/.dirs/cache 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/no-snapctl/.dirs/config 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/no-snapctl/.dirs/data 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/no-snapctl/.dirs/state 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/no-snapctl/.dirs/runtime 781s ok 1 /portal-support/snap-classic/no-snapctl 781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/none/.dirs/home 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/none/.dirs/cache 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/none/.dirs/system-config2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/none/.dirs/config 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/none/.dirs/system-data2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/none/.dirs/data 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/none/.dirs/state 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/none/.dirs/runtime 781s # Created snap.yaml in /tmp/test_portal-support-snap-classic_CELVK2/meta/snap.yaml 781s # Created snapctl in /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/none/.dirs/runtime/snapctl 781s ok 2 /portal-support/snap-classic/none 781s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/all/.dirs/home 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/all/.dirs/cache 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/all/.dirs/system-config2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/all/.dirs/config 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/all/.dirs/system-data2 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/all/.dirs/data 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/all/.dirs/state 781s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/all/.dirs/runtime 781s # Created snap.yaml in /tmp/test_portal-support-snap-classic_CELVK2/meta/snap.yaml 781s # Created snapctl in /tmp/test_portal-support-snap-classic_CELVK2/portal-support/snap-classic/all/.dirs/runtime/snapctl 781s ok 3 /portal-support/snap-classic/all 781s # End of snap-classic tests 781s # End of portal-support tests 781s ok - glib/portal-support-snap-classic.test 781s # Running test: glib/object.test 781s TAP version 13 781s # random seed: R02S547ac94a9be056b577084d1c9d143390 781s 1..2 781s # Start of object tests 781s # Start of constructor tests 781s ok 1 /object/constructor/singleton 781s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 781s # End of constructor tests 781s # End of object tests 781s ok - glib/object.test 781s # Running test: glib/task.test 781s TAP version 13 781s # random seed: R02Sc5e68295e06a1d54d8b21f3d2c81282a 781s 1..36 781s # Start of gtask tests 781s ok 1 /gtask/basic 781s ok 2 /gtask/error 781s ok 3 /gtask/error-literal 781s ok 4 /gtask/error-literal-from-variable 781s ok 5 /gtask/return-from-same-iteration 781s ok 6 /gtask/return-from-toplevel 781s ok 7 /gtask/return-from-anon-thread 781s ok 8 /gtask/return-from-wrong-thread 781s ok 9 /gtask/no-callback 781s ok 10 /gtask/report-error 781s ok 11 /gtask/priority 781s ok 12 /gtask/name 781s ok 13 /gtask/static-name 781s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 781s ok 14 /gtask/asynchronous-cancellation 781s ok 15 /gtask/check-cancellable 781s ok 16 /gtask/return-if-cancelled 781s ok 17 /gtask/run-in-thread 781s ok 18 /gtask/run-in-thread-sync 781s ok 19 /gtask/run-in-thread-priority 781s ok 20 /gtask/run-in-thread-nested 782s ok 21 /gtask/run-in-thread-overflow 782s # slow test /gtask/run-in-thread-overflow executed in 0.52 secs 782s # GLib-GIO-DEBUG: GTask 0x2b3513b36e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 782s # GLib-GIO-DEBUG: GTask 0x2b3513b2e90 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 782s ok 22 /gtask/return-on-cancel 782s # GLib-GIO-DEBUG: GTask 0x2b3513b3420 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 782s # GLib-GIO-DEBUG: GTask 0x2b3513b3220 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 782s ok 23 /gtask/return-on-cancel-sync 782s ok 24 /gtask/return-on-cancel-atomic 782s ok 25 /gtask/return-pointer 782s ok 26 /gtask/return-value 782s ok 27 /gtask/return-prefixed-error 782s ok 28 /gtask/object-keepalive 782s ok 29 /gtask/legacy-error 782s ok 30 /gtask/finalize-without-return 782s # Start of name tests 782s ok 31 /gtask/name/macro-wrapper 782s # End of name tests 782s # Start of return tests 782s ok 32 /gtask/return/error-first 782s ok 33 /gtask/return/value-first 782s # Start of in-idle tests 782s ok 34 /gtask/return/in-idle/error-first 782s ok 35 /gtask/return/in-idle/value-first 782s # End of in-idle tests 782s # End of return tests 782s # Start of attach-source tests 782s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 782s ok 36 /gtask/attach-source/set-name 782s # End of attach-source tests 782s # End of gtask tests 782s ok - glib/task.test 782s # Running test: glib/gdbus-method-invocation.test 782s TAP version 13 782s # random seed: R02S8abc2ef89e8bda4d75ab16c1ef7490ce 782s 1..1 782s # Start of gdbus tests 782s # Start of method-invocation tests 782s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_5HGVK2/gdbus/method-invocation/return/.dirs/home 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_5HGVK2/gdbus/method-invocation/return/.dirs/cache 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_5HGVK2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_5HGVK2/gdbus/method-invocation/return/.dirs/system-config2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_5HGVK2/gdbus/method-invocation/return/.dirs/config 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_5HGVK2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_5HGVK2/gdbus/method-invocation/return/.dirs/system-data2 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_5HGVK2/gdbus/method-invocation/return/.dirs/data 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_5HGVK2/gdbus/method-invocation/return/.dirs/state 782s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_5HGVK2/gdbus/method-invocation/return/.dirs/runtime 782s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 782s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 782s # Calling org.freedesktop.DBus.Properties.Get 782s # Calling org.freedesktop.DBus.Properties.Get 782s # Calling org.freedesktop.DBus.Properties.Get 782s # Calling org.freedesktop.DBus.Properties.Set 782s # Calling org.freedesktop.DBus.Properties.GetAll 782s # Calling org.example.Foo.WrongReturnType 782s # Calling org.example.Foo.GetFDs 782s # Calling org.example.Foo.GetFDs 782s # Calling org.example.Foo.ReturnError 782s # Calling org.example.Foo.CloseBeforeReturning 782s ok 1 /gdbus/method-invocation/return 782s # End of method-invocation tests 782s # End of gdbus tests 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 782s ok - glib/gdbus-method-invocation.test 782s # Running test: glib/markup-collect.test 782s TAP version 13 782s # random seed: R02S59465262005d526f8a041d6a18511cf4 782s 1..21 782s # Start of markup tests 782s # Start of collect tests 782s ok 1 /markup/collect/0 782s ok 2 /markup/collect/1 782s ok 3 /markup/collect/2 782s ok 4 /markup/collect/3 782s ok 5 /markup/collect/4 782s ok 6 /markup/collect/5 782s ok 7 /markup/collect/6 782s ok 8 /markup/collect/7 782s ok 9 /markup/collect/8 782s ok 10 /markup/collect/9 782s ok 11 /markup/collect/10 782s ok 12 /markup/collect/11 782s ok 13 /markup/collect/12 782s ok 14 /markup/collect/13 782s ok 15 /markup/collect/14 782s ok 16 /markup/collect/15 782s ok 17 /markup/collect/16 782s ok 18 /markup/collect/17 782s ok 19 /markup/collect/18 782s ok 20 /markup/collect/19 782s ok 21 /markup/collect/cleanup 782s # End of collect tests 782s # End of markup tests 782s ok - glib/markup-collect.test 782s # Running test: glib/thumbnail-verification.test 782s TAP version 13 782s # random seed: R02S770ac5b9c294b6e37334f73b83e684a4 782s 1..1 782s # Start of png-thumbs tests 782s ok 1 /png-thumbs/validity 782s # End of png-thumbs tests 782s ok - glib/thumbnail-verification.test 782s # Running test: glib/testing.test 782s TAP version 13 782s # random seed: R02S5b29d75be41a669f6c917b808142212b 782s 1..1 782s # Start of assert tests 782s ok 1 /assert/finalize_object 782s # Start of finalize_object tests 782s # Start of subprocess tests 782s # End of subprocess tests 782s # End of finalize_object tests 782s # End of assert tests 782s ok - glib/testing.test 782s # Running test: glib/objects-refcount1.test 782s TAP version 13 782s # random seed: R02Sc6001d44bd8deb688e8eef54338d3f4c 782s 1..1 782s # Start of gobject tests 782s # Start of refcount tests 782s # init 0x10e43326e740 782s # 782s # init 0x10e43326e8d0 782s # 784s # Executing: glib/objects-refcount1.test 787s # dispose 0x10e43326e740! 787s # 787s # dispose 0x10e43326e8d0! 787s # 787s ok 1 /gobject/refcount/object-basics 787s # slow test /gobject/refcount/object-basics executed in 5.00 secs 787s # End of refcount tests 787s # End of gobject tests 787s ok - glib/objects-refcount1.test 787s # Running test: glib/unix-mounts.test 787s TAP version 13 787s # random seed: R02S7475c8f3f1a913ed2b1f91f53d5637f5 787s 1..2 787s # Start of unix-mounts tests 787s ok 1 /unix-mounts/is-system-fs-type 787s ok 2 /unix-mounts/is-system-device-path 787s # End of unix-mounts tests 787s ok - glib/unix-mounts.test 787s # Running test: glib/error.test 787s TAP version 13 787s # random seed: R02S724a2ddba7aae1987c4ac0296a43971f 787s 1..3 787s # Start of error tests 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_3O0VK2/error/from-errno/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_3O0VK2/error/from-errno/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_3O0VK2/error/from-errno/.dirs/system-config1:/tmp/test_error_3O0VK2/error/from-errno/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_3O0VK2/error/from-errno/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_3O0VK2/error/from-errno/.dirs/system-data1:/tmp/test_error_3O0VK2/error/from-errno/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_3O0VK2/error/from-errno/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_3O0VK2/error/from-errno/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_3O0VK2/error/from-errno/.dirs/runtime 787s ok 1 /error/from-errno 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_3O0VK2/error/from-file-error/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_3O0VK2/error/from-file-error/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_3O0VK2/error/from-file-error/.dirs/system-config1:/tmp/test_error_3O0VK2/error/from-file-error/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_3O0VK2/error/from-file-error/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_3O0VK2/error/from-file-error/.dirs/system-data1:/tmp/test_error_3O0VK2/error/from-file-error/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_3O0VK2/error/from-file-error/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_3O0VK2/error/from-file-error/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_3O0VK2/error/from-file-error/.dirs/runtime 787s ok 2 /error/from-file-error 787s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_3O0VK2/error/from-win32-error/.dirs/home 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_3O0VK2/error/from-win32-error/.dirs/cache 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_3O0VK2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_3O0VK2/error/from-win32-error/.dirs/system-config2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_3O0VK2/error/from-win32-error/.dirs/config 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_3O0VK2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_3O0VK2/error/from-win32-error/.dirs/system-data2 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_3O0VK2/error/from-win32-error/.dirs/data 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_3O0VK2/error/from-win32-error/.dirs/state 787s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_3O0VK2/error/from-win32-error/.dirs/runtime 787s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 787s # End of error tests 787s ok - glib/error.test 787s # Running test: glib/network-address.test 787s TAP version 13 787s # random seed: R02S052f0c99cabcbc1a080d580904057858 787s 1..72 787s # Start of network-address tests 787s ok 1 /network-address/basic 787s ok 2 /network-address/scope-id 787s ok 3 /network-address/uri-scope-id 787s ok 4 /network-address/to-string 787s # Start of parse-host tests 787s ok 5 /network-address/parse-host/0 787s ok 6 /network-address/parse-host/1 787s ok 7 /network-address/parse-host/2 787s ok 8 /network-address/parse-host/3 787s ok 9 /network-address/parse-host/4 787s ok 10 /network-address/parse-host/5 787s ok 11 /network-address/parse-host/6 787s ok 12 /network-address/parse-host/7 787s ok 13 /network-address/parse-host/8 787s ok 14 /network-address/parse-host/9 787s ok 15 /network-address/parse-host/10 787s ok 16 /network-address/parse-host/11 787s ok 17 /network-address/parse-host/12 787s ok 18 /network-address/parse-host/13 787s # End of parse-host tests 787s # Start of parse-uri tests 787s ok 19 /network-address/parse-uri/0 787s ok 20 /network-address/parse-uri/1 787s ok 21 /network-address/parse-uri/2 787s ok 22 /network-address/parse-uri/3 787s ok 23 /network-address/parse-uri/4 787s ok 24 /network-address/parse-uri/5 787s ok 25 /network-address/parse-uri/6 787s ok 26 /network-address/parse-uri/7 787s ok 27 /network-address/parse-uri/8 787s ok 28 /network-address/parse-uri/9 787s # End of parse-uri tests 787s # Start of resolve-address tests 787s # Input: 192.168.1.2 787s ok 29 /network-address/resolve-address/0 787s # Input: fe80::42 787s ok 30 /network-address/resolve-address/1 787s # Input: 192.168.1.2:80 787s ok 31 /network-address/resolve-address/2 787s # Input: [fe80::42] 787s ok 32 /network-address/resolve-address/3 787s # Input: [fe80::42]:80 787s ok 33 /network-address/resolve-address/4 787s # Input: 192.168.258 787s ok 34 /network-address/resolve-address/5 787s # Input: 192.11010306 787s ok 35 /network-address/resolve-address/6 787s # Input: 3232235778 787s ok 36 /network-address/resolve-address/7 787s # Input: 0300.0250.0001.0001 787s ok 37 /network-address/resolve-address/8 787s # Input: 0xC0.0xA8.0x01.0x02 787s ok 38 /network-address/resolve-address/9 787s # Input: 0xc0.0xa8.0x01.0x02 787s ok 39 /network-address/resolve-address/10 787s # Input: 0xc0a80102 787s ok 40 /network-address/resolve-address/11 787s # End of resolve-address tests 787s # Start of loopback tests 787s ok 41 /network-address/loopback/basic 787s ok 42 /network-address/loopback/sync 787s ok 43 /network-address/loopback/async 787s # End of loopback tests 787s # Start of localhost tests 787s ok 44 /network-address/localhost/async 787s ok 45 /network-address/localhost/sync 787s # End of localhost tests 787s # Start of happy-eyeballs tests 787s ok 46 /network-address/happy-eyeballs/basic 787s ok 47 /network-address/happy-eyeballs/parallel 787s ok 48 /network-address/happy-eyeballs/slow-ipv4 787s ok 49 /network-address/happy-eyeballs/slow-ipv6 787s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 788s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 788s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 788s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 788s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 788s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 788s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 788s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 788s # /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. 788s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 788s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 788s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 788s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 788s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 788s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 788s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 788s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 788s ok 57 /network-address/happy-eyeballs/both-error 788s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 788s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 788s ok 58 /network-address/happy-eyeballs/both-error-delays-1 788s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 788s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 788s ok 59 /network-address/happy-eyeballs/both-error-delays-2 788s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 788s ok 60 /network-address/happy-eyeballs/both-error-delays-3 788s # End of happy-eyeballs tests 788s # End of network-address tests 788s # Start of gresolver tests 788s # Start of resolve-address tests 788s # Input: 192.168.1.2 788s ok 61 /gresolver/resolve-address/0 788s # Input: fe80::42 788s ok 62 /gresolver/resolve-address/1 788s # Input: 192.168.1.2:80 788s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 788s ok 63 /gresolver/resolve-address/2 788s # Input: [fe80::42] 788s # Error: Error resolving ?[fe80::42]?: Name or service not known 788s ok 64 /gresolver/resolve-address/3 788s # Input: [fe80::42]:80 788s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 788s ok 65 /gresolver/resolve-address/4 788s # Input: 192.168.258 788s # Error: Error resolving ?192.168.258?: Name or service not known 788s ok 66 /gresolver/resolve-address/5 788s # Input: 192.11010306 788s # Error: Error resolving ?192.11010306?: Name or service not known 788s ok 67 /gresolver/resolve-address/6 788s # Input: 3232235778 788s # Error: Error resolving ?3232235778?: Name or service not known 788s ok 68 /gresolver/resolve-address/7 788s # Input: 0300.0250.0001.0001 788s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 788s ok 69 /gresolver/resolve-address/8 788s # Input: 0xC0.0xA8.0x01.0x02 788s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 788s ok 70 /gresolver/resolve-address/9 788s # Input: 0xc0.0xa8.0x01.0x02 788s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 788s ok 71 /gresolver/resolve-address/10 788s # Input: 0xc0a80102 788s # Error: Error resolving ?0xc0a80102?: Name or service not known 788s ok 72 /gresolver/resolve-address/11 788s # End of resolve-address tests 788s # End of gresolver tests 788s ok - glib/network-address.test 788s # Running test: glib/macros-c-17.test 788s TAP version 13 788s # random seed: R02S961562755cc28ff8e5876a51679cea6a 788s 1..4 788s # Start of C tests 788s ok 1 /C/standard-17 788s # End of C tests 788s # Start of alignof tests 788s ok 2 /alignof/fallback 788s # End of alignof tests 788s # Start of assert tests 788s ok 3 /assert/static 788s # End of assert tests 788s # Start of struct tests 788s ok 4 /struct/sizeof_member 788s # End of struct tests 788s ok - glib/macros-c-17.test 788s # Running test: glib/hash.test 788s TAP version 13 788s # random seed: R02Sa2c2ffafb1cae7212fdaa676a2d9e278 788s 1..34 788s # Start of hash tests 788s ok 1 /hash/misc 788s ok 2 /hash/one 788s ok 3 /hash/honeyman 788s ok 4 /hash/direct 788s ok 5 /hash/direct2 788s ok 6 /hash/int 788s ok 7 /hash/int64 788s ok 8 /hash/double 788s ok 9 /hash/string 788s ok 10 /hash/set 788s ok 11 /hash/set-ref 788s ok 12 /hash/ref 788s ok 13 /hash/remove-all 788s ok 14 /hash/recursive-remove-all 788s ok 15 /hash/find 788s ok 16 /hash/foreach 788s ok 17 /hash/foreach-steal 788s ok 18 /hash/steal-extended 788s ok 19 /hash/steal-all-keys 788s ok 20 /hash/steal-all-values 788s ok 21 /hash/lookup-extended 788s ok 22 /hash/new-similar 788s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 788s ok 23 /hash/lookup-null-key 788s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 788s ok 24 /hash/destroy-modify 788s ok 25 /hash/consistency 788s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 788s ok 26 /hash/iter-replace 788s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 788s ok 27 /hash/set-insert-corruption 788s ok 28 /hash/set-to-strv 788s ok 29 /hash/get-keys-as-ptr-array 788s ok 30 /hash/get-values-as-ptr-array 788s ok 31 /hash/primes 788s # Start of int64 tests 788s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 788s ok 32 /hash/int64/collisions 788s # End of int64 tests 788s # Start of double tests 788s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 788s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 788s ok 33 /hash/double/collisions 788s # End of double tests 788s # Start of recursive-remove-all tests 788s # End of recursive-remove-all tests 788s # Start of steal-extended tests 788s ok 34 /hash/steal-extended/optional 788s # End of steal-extended tests 788s # End of hash tests 788s ok - glib/hash.test 788s # Running test: glib/utf8-misc.test 788s TAP version 13 788s # random seed: R02Sc89330bc1c56e128891e19fcf2044d6d 788s 1..7 788s # Start of utf8 tests 788s ok 1 /utf8/strlen 788s ok 2 /utf8/strncpy 788s ok 3 /utf8/strrchr 788s ok 4 /utf8/reverse 788s ok 5 /utf8/substring 788s ok 6 /utf8/make-valid 788s ok 7 /utf8/truncate-middle 788s # End of utf8 tests 788s ok - glib/utf8-misc.test 788s # Running test: glib/ifaceproperties.test 788s TAP version 13 788s # random seed: R02S24ce060eb7b69fc0a9057bbea7cfe396 788s 1..7 788s # Start of interface tests 788s # Start of properties tests 788s ok 1 /interface/properties/set 788s ok 2 /interface/properties/notify 788s ok 3 /interface/properties/find-overridden 788s ok 4 /interface/properties/list-overridden 788s ok 5 /interface/properties/find-interface 788s ok 6 /interface/properties/list-interface 788s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 788s ok 7 /interface/properties/not-overridden 788s # End of properties tests 788s # End of interface tests 788s ok - glib/ifaceproperties.test 788s # Running test: glib/atomic-c-17.test 788s TAP version 13 788s # random seed: R02S2afa5ad71d147f1ba0a3460ce60aac7d 788s 1..2 788s # Start of atomic tests 788s ok 1 /atomic/types 789s ok 2 /atomic/threaded 789s # End of atomic tests 789s ok - glib/atomic-c-17.test 789s # Running test: glib/signals-refcount2.test 789s TAP version 13 789s # random seed: R02S13ec65f92106eca19038d46fe601922d 789s 1..1 789s # Start of gobject tests 789s # Start of refcount tests 789s # init 0x4ab449bf420 789s # 789s # init 0x4ab449bf5c0 789s # 789s # Executing: glib/signals-refcount2.test 794s # dispose 0x4ab449bf420! 794s # 794s # dispose 0x4ab449bf5c0! 794s # 794s ok 1 /gobject/refcount/signals 794s # slow test /gobject/refcount/signals executed in 5.00 secs 794s # End of refcount tests 794s # End of gobject tests 794s ok - glib/signals-refcount2.test 794s # Running test: glib/dir.test 794s TAP version 13 794s # random seed: R02Sc75ef49ab2e4feee0063d868dd40ed76 794s 1..3 794s # Start of dir tests 794s ok 1 /dir/read 794s ok 2 /dir/nonexisting 794s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 794s ok 3 /dir/refcounting 794s # End of dir tests 794s ok - glib/dir.test 794s # Running test: glib/memchunk.test 794s TAP version 13 794s # random seed: R02Sfd7839bc46c37669c7514fa386b315ac 794s 1..1 794s # Start of memchunk tests 794s ok 1 /memchunk/basic 794s # End of memchunk tests 794s ok - glib/memchunk.test 794s # Running test: glib/gdbus-proxy-threads.test 794s TAP version 13 794s # random seed: R02Sf52f50c79574153deb583d0aece6b824 794s 1..1 794s # Start of gdbus tests 794s # Start of proxy tests 794s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_3YCYK2/gdbus/proxy/vs-threads/.dirs/home 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_3YCYK2/gdbus/proxy/vs-threads/.dirs/cache 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_3YCYK2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_3YCYK2/gdbus/proxy/vs-threads/.dirs/system-config2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_3YCYK2/gdbus/proxy/vs-threads/.dirs/config 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_3YCYK2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_3YCYK2/gdbus/proxy/vs-threads/.dirs/system-data2 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_3YCYK2/gdbus/proxy/vs-threads/.dirs/data 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_3YCYK2/gdbus/proxy/vs-threads/.dirs/state 794s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_3YCYK2/gdbus/proxy/vs-threads/.dirs/runtime 794s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 794s # Executing: glib/gdbus-proxy-threads.test 797s ok 1 /gdbus/proxy/vs-threads 797s # slow test /gdbus/proxy/vs-threads executed in 3.56 secs 797s # End of proxy tests 797s # End of gdbus tests 797s cleaning up pid 7024 797s ok - glib/gdbus-proxy-threads.test 797s # Running test: glib/utf8-pointer.test 797s TAP version 13 797s # random seed: R02Sa5260b83fd86467b1fae6823e9a64596 797s 1..3 797s # Start of utf8 tests 798s ok 1 /utf8/offsets 798s # slow test /utf8/offsets executed in 0.87 secs 798s ok 2 /utf8/lengths 798s ok 3 /utf8/find 798s # End of utf8 tests 798s ok - glib/utf8-pointer.test 798s # Running test: glib/io-stream.test 798s TAP version 13 798s # random seed: R02Sa5aaf01bf5c66817995ba13ce974f8f0 798s 1..3 798s # Start of io-stream tests 798s ok 1 /io-stream/copy-chunks 798s # Start of close tests 798s # Start of async tests 798s ok 2 /io-stream/close/async/memory 798s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 798s ok 3 /io-stream/close/async/file 798s # End of async tests 798s # End of close tests 798s # End of io-stream tests 798s ok - glib/io-stream.test 798s # Running test: glib/tls-bindings.test 798s TAP version 13 798s # random seed: R02Sec9443569fd6b49cfbb3b3811b675978 798s 1..2 798s # Start of tls-connection tests 798s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 798s ok 1 /tls-connection/get-tls-channel-binding 798s ok 2 /tls-connection/get-dtls-channel-binding 798s # End of tls-connection tests 798s ok - glib/tls-bindings.test 798s # Running test: glib/sequence.test 798s TAP version 13 798s # random seed: R02Sc58a4a46c7029f4260cfcdbb9eba55c0 798s 1..16 798s # Start of sequence tests 798s ok 1 /sequence/out-of-range-jump 798s ok 2 /sequence/iter-move 798s ok 3 /sequence/insert-sorted-non-pointer 798s ok 4 /sequence/stable-sort 798s ok 5 /sequence/is_empty 798s # Start of random tests 799s ok 6 /sequence/random/seed:825541564 799s # slow test /sequence/random/seed:825541564 executed in 0.81 secs 799s # Executing: glib/sequence.test 800s ok 7 /sequence/random/seed:801678400 800s # slow test /sequence/random/seed:801678400 executed in 0.76 secs 801s ok 8 /sequence/random/seed:1477639090 801s # slow test /sequence/random/seed:1477639090 executed in 0.91 secs 802s ok 9 /sequence/random/seed:3369132895 802s # slow test /sequence/random/seed:3369132895 executed in 0.80 secs 802s ok 10 /sequence/random/seed:1192944867 802s # slow test /sequence/random/seed:1192944867 executed in 0.77 secs 803s ok 11 /sequence/random/seed:770458294 803s # slow test /sequence/random/seed:770458294 executed in 0.81 secs 804s ok 12 /sequence/random/seed:1099575817 804s # slow test /sequence/random/seed:1099575817 executed in 0.78 secs 804s # Executing: glib/sequence.test 805s ok 13 /sequence/random/seed:590523467 805s # slow test /sequence/random/seed:590523467 executed in 0.80 secs 805s ok 14 /sequence/random/seed:3583571454 805s # slow test /sequence/random/seed:3583571454 executed in 0.80 secs 806s ok 15 /sequence/random/seed:579241222 806s # slow test /sequence/random/seed:579241222 executed in 0.80 secs 807s ok 16 /sequence/random/seed:90501297 807s # slow test /sequence/random/seed:90501297 executed in 0.77 secs 807s # End of random tests 807s # End of sequence tests 807s ok - glib/sequence.test 807s # Running test: glib/g-file-info-filesystem-readonly.test 807s TAP version 13 807s # random seed: R02Sc2854fceb492dcfd58f0deb2d3ec9492 807s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 807s 1..2 807s # Start of g-file-info-filesystem-readonly tests 807s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 807s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 807s # End of g-file-info-filesystem-readonly tests 807s ok - glib/g-file-info-filesystem-readonly.test 807s # Running test: glib/simple-async-result.test 807s TAP version 13 807s # random seed: R02Sb4fb9a11c421ca06e5a5ac9bc38d20ea 807s 1..2 807s # Start of gio tests 807s # Start of simple-async-result tests 807s ok 1 /gio/simple-async-result/test 807s # GLib-GIO-DEBUG: GTask 0xbf26aec06e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 807s ok 2 /gio/simple-async-result/valid 807s # End of simple-async-result tests 807s # End of gio tests 807s ok - glib/simple-async-result.test 807s # Running test: glib/g-file-info.test 807s TAP version 13 807s # random seed: R02S90470b1509d97073efd24fdd102e6948 807s 1..6 807s # Start of g-file-info tests 807s ok 1 /g-file-info/test_g_file_info 807s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 807s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 807s ok 2 /g-file-info/xattrs 807s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 807s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 807s ok 3 /g-file-info/set-modified-date-time-precision 807s # Start of test_g_file_info tests 807s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 807s ok 4 /g-file-info/test_g_file_info/modification-time 807s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 807s ok 5 /g-file-info/test_g_file_info/access-time 807s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 807s ok 6 /g-file-info/test_g_file_info/creation-time 807s # End of test_g_file_info tests 807s # End of g-file-info tests 807s ok - glib/g-file-info.test 807s # Running test: glib/gdbus-peer.test 807s TAP version 13 807s # random seed: R02Sb6c40084199ef884dbd06638858d8edb 807s 1..12 807s # Start of gdbus tests 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/.dirs/runtime 807s # Testing with unix:dir address 807s # Testing with unix:tmpdir address 807s # Testing with unix:path address 807s ok 1 /gdbus/peer-to-peer 807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/delayed-message-processing/.dirs/home 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/delayed-message-processing/.dirs/cache 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_96LLK2/gdbus/delayed-message-processing/.dirs/system-config2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/delayed-message-processing/.dirs/config 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_96LLK2/gdbus/delayed-message-processing/.dirs/system-data2 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/delayed-message-processing/.dirs/data 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/delayed-message-processing/.dirs/state 807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_96LLK2/gdbus/delayed-message-processing/.dirs/runtime 807s # Testing with unix:dir address 808s ok 2 /gdbus/delayed-message-processing 808s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 808s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/nonce-tcp/.dirs/home 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/nonce-tcp/.dirs/cache 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_96LLK2/gdbus/nonce-tcp/.dirs/system-config2 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/nonce-tcp/.dirs/config 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_96LLK2/gdbus/nonce-tcp/.dirs/system-data2 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/nonce-tcp/.dirs/data 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/nonce-tcp/.dirs/state 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_96LLK2/gdbus/nonce-tcp/.dirs/runtime 808s ok 3 /gdbus/nonce-tcp 808s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/tcp-anonymous/.dirs/home 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/tcp-anonymous/.dirs/cache 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_96LLK2/gdbus/tcp-anonymous/.dirs/system-config2 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/tcp-anonymous/.dirs/config 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_96LLK2/gdbus/tcp-anonymous/.dirs/system-data2 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/tcp-anonymous/.dirs/data 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/tcp-anonymous/.dirs/state 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_96LLK2/gdbus/tcp-anonymous/.dirs/runtime 808s ok 4 /gdbus/tcp-anonymous 808s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/credentials/.dirs/home 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/credentials/.dirs/cache 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_96LLK2/gdbus/credentials/.dirs/system-config2 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/credentials/.dirs/config 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_96LLK2/gdbus/credentials/.dirs/system-data2 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/credentials/.dirs/data 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/credentials/.dirs/state 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_96LLK2/gdbus/credentials/.dirs/runtime 808s ok 5 /gdbus/credentials 808s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/codegen-peer-to-peer/.dirs/home 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/codegen-peer-to-peer/.dirs/cache 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_96LLK2/gdbus/codegen-peer-to-peer/.dirs/system-config2 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/codegen-peer-to-peer/.dirs/config 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_96LLK2/gdbus/codegen-peer-to-peer/.dirs/system-data2 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/codegen-peer-to-peer/.dirs/data 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/codegen-peer-to-peer/.dirs/state 808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_96LLK2/gdbus/codegen-peer-to-peer/.dirs/runtime 808s # Testing with unix:dir address 808s # Machine ID: 1b2bc8cedc774fcba95b9a4e23411c6c 809s ok 6 /gdbus/codegen-peer-to-peer 809s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 809s # Start of peer-to-peer tests 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/signals/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/signals/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/signals/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/signals/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/signals/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/signals/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/signals/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/signals/.dirs/runtime 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 809s # Testing with unix:dir address 809s ok 7 /gdbus/peer-to-peer/signals 809s # Start of invalid tests 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/server/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/server/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/server/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/server/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/server/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 809s ok 8 /gdbus/peer-to-peer/invalid/server 809s # Start of conn tests 809s # Start of stream tests 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 809s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 809s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 809s # End of stream tests 809s # Start of addr tests 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 809s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_96LLK2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 809s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 809s # End of addr tests 809s # End of conn tests 809s # End of invalid tests 809s # End of peer-to-peer tests 809s # End of gdbus tests 809s ok - glib/gdbus-peer.test 809s # Running test: glib/gdbus-test-codegen.test 809s TAP version 13 809s # random seed: R02S28f6aed4be71fda24a3b4a2838829be6 809s 1..8 809s # Start of gdbus tests 809s # Start of codegen tests 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/annotations/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/annotations/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/annotations/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/annotations/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/annotations/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/annotations/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/annotations/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/annotations/.dirs/runtime 809s ok 1 /gdbus/codegen/annotations 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/interface_stability/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/interface_stability/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/interface_stability/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/interface_stability/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/interface_stability/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/interface_stability/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/interface_stability/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/interface_stability/.dirs/runtime 809s ok 2 /gdbus/codegen/interface_stability 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/object-manager/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/object-manager/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/object-manager/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/object-manager/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/object-manager/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/object-manager/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/object-manager/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/object-manager/.dirs/runtime 809s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 809s ok 3 /gdbus/codegen/object-manager 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/property-naming/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/property-naming/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/property-naming/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/property-naming/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/property-naming/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/property-naming/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/property-naming/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/property-naming/.dirs/runtime 809s ok 4 /gdbus/codegen/property-naming 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/autocleanups/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/autocleanups/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/autocleanups/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/autocleanups/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/autocleanups/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/autocleanups/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/autocleanups/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/autocleanups/.dirs/runtime 809s ok 5 /gdbus/codegen/autocleanups 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/deprecations/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/deprecations/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/deprecations/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/deprecations/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/deprecations/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/deprecations/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/deprecations/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/deprecations/.dirs/runtime 809s ok 6 /gdbus/codegen/deprecations 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/standalone-interface-info/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/standalone-interface-info/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/standalone-interface-info/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/standalone-interface-info/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/standalone-interface-info/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 809s ok 7 /gdbus/codegen/standalone-interface-info 809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/unix-fd-list/.dirs/home 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/unix-fd-list/.dirs/cache 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/unix-fd-list/.dirs/config 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/unix-fd-list/.dirs/data 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/unix-fd-list/.dirs/state 809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_OY8UK2/gdbus/codegen/unix-fd-list/.dirs/runtime 809s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 809s ok 8 /gdbus/codegen/unix-fd-list 809s # End of codegen tests 809s # End of gdbus tests 809s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 809s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 809s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 809s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 809s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 809s ok - glib/gdbus-test-codegen.test 809s # Running test: glib/thread-deprecated.test 809s TAP version 13 809s # random seed: R02S5b46e13192a8edd93e82868a5aa45064 809s 1..6 809s # Start of thread tests 809s ok 1 /thread/mutex 809s # Executing: glib/thread-deprecated.test 809s ok 2 /thread/static-rec-mutex 814s ok 3 /thread/static-private 814s # slow test /thread/static-private executed in 4.40 secs 814s # Executing: glib/thread-deprecated.test 819s ok 4 /thread/static-rw-lock 819s # slow test /thread/static-rw-lock executed in 5.00 secs 819s ok 5 /thread/once 819s # Executing: glib/thread-deprecated.test 824s # Executing: glib/thread-deprecated.test 829s ok 6 /thread/rerun-all 829s # slow test /thread/rerun-all executed in 10.02 secs 829s # End of thread tests 829s ok - glib/thread-deprecated.test 829s # Running test: glib/volumemonitor.test 829s TAP version 13 829s # random seed: R02S2b17e55b8624f8db8b51b728a5fc6851 829s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 829s 1..3 829s # Start of volumemonitor tests 829s ok 1 /volumemonitor/connected_drives 829s ok 2 /volumemonitor/volumes 829s ok 3 /volumemonitor/mounts 829s # End of volumemonitor tests 829s ok - glib/volumemonitor.test 829s # Running test: glib/repository.test 829s TAP version 13 829s # random seed: R02S55e73852f10c7e7b1b3599d5952ac472 829s 1..20 829s # Start of repository tests 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/basic/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/basic/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/basic/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/basic/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/basic/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/basic/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/basic/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/basic/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/basic/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/basic/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 829s ok 1 /repository/basic 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/info/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/info/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/info/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/info/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/info/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/info/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/info/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/info/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/info/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/info/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/info summary: Test retrieving some basic info blobs from a typelib 829s ok 2 /repository/info 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/dependencies/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/dependencies/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/dependencies/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/dependencies/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/dependencies/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/dependencies/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/dependencies/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/dependencies/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 829s ok 3 /repository/dependencies 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/arg-info/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/arg-info/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/arg-info/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/arg-info/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/arg-info/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/arg-info/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/arg-info/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/arg-info/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 829s ok 4 /repository/arg-info 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/callable-info/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/callable-info/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/callable-info/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/callable-info/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/callable-info/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/callable-info/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/callable-info/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/callable-info/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 829s ok 5 /repository/callable-info 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/callback-info/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/callback-info/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/callback-info/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/callback-info/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/callback-info/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/callback-info/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/callback-info/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/callback-info/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 829s ok 6 /repository/callback-info 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/char-types/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/char-types/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/char-types/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/char-types/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/char-types/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/char-types/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/char-types/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/char-types/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/char-types/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/char-types/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 829s ok 7 /repository/char-types 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/constructor-return-type/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/constructor-return-type/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/constructor-return-type/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/constructor-return-type/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/constructor-return-type/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/constructor-return-type/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/constructor-return-type/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/constructor-return-type/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 829s ok 8 /repository/constructor-return-type 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/enum-info-c-identifier/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/enum-info-c-identifier/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/enum-info-c-identifier/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/enum-info-c-identifier/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/enum-info-c-identifier/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/enum-info-c-identifier/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/enum-info-c-identifier/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/enum-info-c-identifier/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 829s ok 9 /repository/enum-info-c-identifier 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/enum-info-static-methods/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/enum-info-static-methods/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/enum-info-static-methods/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/enum-info-static-methods/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/enum-info-static-methods/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/enum-info-static-methods/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/enum-info-static-methods/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/enum-info-static-methods/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/enum-info-static-methods summary: Test an enum with methods 829s ok 10 /repository/enum-info-static-methods 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/error-quark/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/error-quark/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/error-quark/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/error-quark/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/error-quark/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/error-quark/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/error-quark/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/error-quark/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/error-quark summary: Test finding an error quark by error domain 829s ok 11 /repository/error-quark 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/flags-info-c-identifier/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/flags-info-c-identifier/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/flags-info-c-identifier/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/flags-info-c-identifier/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/flags-info-c-identifier/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/flags-info-c-identifier/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/flags-info-c-identifier/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/flags-info-c-identifier/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 829s ok 12 /repository/flags-info-c-identifier 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/fundamental-ref-func/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/fundamental-ref-func/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/fundamental-ref-func/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/fundamental-ref-func/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/fundamental-ref-func/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/fundamental-ref-func/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/fundamental-ref-func/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/fundamental-ref-func/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 829s ok 13 /repository/fundamental-ref-func 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/instance-method-ownership-transfer/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/instance-method-ownership-transfer/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/instance-method-ownership-transfer/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/instance-method-ownership-transfer/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/instance-method-ownership-transfer/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/instance-method-ownership-transfer/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/instance-method-ownership-transfer/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/instance-method-ownership-transfer/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 829s ok 14 /repository/instance-method-ownership-transfer 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/object-gtype-interfaces/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/object-gtype-interfaces/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/object-gtype-interfaces/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/object-gtype-interfaces/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/object-gtype-interfaces/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/object-gtype-interfaces/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/object-gtype-interfaces/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/object-gtype-interfaces/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 829s ok 15 /repository/object-gtype-interfaces 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/signal-info-with-array-length-arg/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/signal-info-with-array-length-arg/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/signal-info-with-array-length-arg/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/signal-info-with-array-length-arg/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/signal-info-with-array-length-arg/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/signal-info-with-array-length-arg/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/signal-info-with-array-length-arg/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/signal-info-with-array-length-arg/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 829s ok 16 /repository/signal-info-with-array-length-arg 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/type-info-name/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/type-info-name/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/type-info-name/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/type-info-name/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/type-info-name/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/type-info-name/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/type-info-name/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/type-info-name/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 829s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 829s ok 17 /repository/type-info-name 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-no-invoker/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-no-invoker/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-no-invoker/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-no-invoker/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-no-invoker/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-no-invoker/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 829s ok 18 /repository/vfunc-info-with-no-invoker 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 829s ok 19 /repository/vfunc-info-with-invoker-on-interface 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-object/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-object/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-object/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-object/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_TVJ3K2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 829s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 829s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 829s ok 20 /repository/vfunc-info-with-invoker-on-object 829s # End of repository tests 829s ok - glib/repository.test 829s # Running test: glib/cxx-14.test 829s TAP version 13 829s # random seed: R02S5c53928bb6f669f98544cb1071f889ec 829s 1..2 829s # Start of gtask tests 829s # 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. 829s ok 1 /gtask/name 829s # Start of name tests 829s # 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. 829s ok 2 /gtask/name/macro-wrapper 829s # End of name tests 829s # End of gtask tests 829s ok - glib/cxx-14.test 829s # Running test: glib/portal-support-flatpak-gsettings-only.test 829s TAP version 13 829s # random seed: R02S8138be09e012caf428c4afede7eb8403 829s 1..1 829s # Start of portal-support tests 829s # Start of flatpak tests 829s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_FLF4K2/portal-support/flatpak/gsettings/.dirs/home 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_FLF4K2/portal-support/flatpak/gsettings/.dirs/cache 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_FLF4K2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_FLF4K2/portal-support/flatpak/gsettings/.dirs/system-config2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_FLF4K2/portal-support/flatpak/gsettings/.dirs/config 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_FLF4K2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_FLF4K2/portal-support/flatpak/gsettings/.dirs/system-data2 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_FLF4K2/portal-support/flatpak/gsettings/.dirs/data 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_FLF4K2/portal-support/flatpak/gsettings/.dirs/state 829s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_FLF4K2/portal-support/flatpak/gsettings/.dirs/runtime 829s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_FLF4K2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 829s ok 1 /portal-support/flatpak/gsettings 829s # End of flatpak tests 829s # End of portal-support tests 829s ok - glib/portal-support-flatpak-gsettings-only.test 829s # Running test: glib/rcbox.test 829s TAP version 13 829s # random seed: R02S481e1c76c917739311e1d7e0966118ff 829s 1..8 829s # Start of rcbox tests 829s ok 1 /rcbox/new 829s # global_point = 0x1a70f53588d0 829s ok 2 /rcbox/release-full 829s # global_point_a = 0x1a70f53588d0 829s # global_point_b = 0x1a70f5358890 829s ok 3 /rcbox/dup 829s ok 4 /rcbox/alignment 829s # End of rcbox tests 829s # Start of atomic-rcbox tests 829s ok 5 /atomic-rcbox/new 829s # global_point = 0x1a70f5358aa0 829s ok 6 /atomic-rcbox/release-full 829s # global_point_a = 0x1a70f5358aa0 829s # global_point_b = 0x1a70f5358a60 829s ok 7 /atomic-rcbox/dup 829s ok 8 /atomic-rcbox/alignment 829s # End of atomic-rcbox tests 829s ok - glib/rcbox.test 829s # Running test: glib/tls-interaction.test 829s TAP version 13 829s # random seed: R02S527d09bb9422c49f9ab64a26c9b091ad 829s 1..42 829s # Start of tls-interaction tests 829s # Start of ask-password tests 829s # Start of invoke-with-loop tests 829s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 829s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 829s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 829s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 829s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 829s # End of invoke-with-loop tests 829s # Start of invoke-without-loop tests 829s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 829s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 829s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 829s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 829s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 829s # End of invoke-without-loop tests 829s # Start of invoke-in-loop tests 829s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 829s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 829s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 829s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 829s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 829s # End of invoke-in-loop tests 829s # Start of sync tests 829s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 829s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 829s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 829s # End of sync tests 829s # Start of async tests 829s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 829s ok 20 /tls-interaction/ask-password/async/async-implementation-success 829s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 829s # End of async tests 829s # End of ask-password tests 829s # Start of request-certificate tests 829s # Start of invoke-with-loop tests 829s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 829s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 829s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 829s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 829s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 829s # End of invoke-with-loop tests 829s # Start of invoke-without-loop tests 829s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 829s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 829s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 829s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 829s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 829s # End of invoke-without-loop tests 829s # Start of invoke-in-loop tests 829s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 829s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 829s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 829s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 829s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 829s # End of invoke-in-loop tests 829s # Start of sync tests 829s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 829s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 829s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 829s # End of sync tests 829s # Start of async tests 829s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 829s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 829s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 829s # End of async tests 829s # End of request-certificate tests 829s # End of tls-interaction tests 829s ok - glib/tls-interaction.test 829s # Running test: glib/list.test 829s TAP version 13 829s # random seed: R02S3989ab3c06c73376bd3ac9f5056e3eee 829s 1..20 829s # Start of list tests 829s ok 1 /list/sort 829s ok 2 /list/sort-with-data 829s ok 3 /list/insert-before-link 829s ok 4 /list/insert-sorted 829s ok 5 /list/insert-sorted-with-data 829s ok 6 /list/reverse 829s ok 7 /list/nth 829s ok 8 /list/concat 829s ok 9 /list/remove 829s ok 10 /list/remove-all 829s ok 11 /list/first-last 829s ok 12 /list/insert 829s ok 13 /list/free-full 829s ok 14 /list/copy 829s ok 15 /list/copy-deep 829s ok 16 /list/delete-link 829s ok 17 /list/prepend 829s ok 18 /list/position 829s ok 19 /list/double-free 829s # Start of sort tests 829s ok 20 /list/sort/stable 829s # End of sort tests 829s # End of list tests 829s ok - glib/list.test 829s # Running test: glib/signals-refcount1.test 829s TAP version 13 829s # random seed: R02S16d1e3529b7b2be734319a29001abd59 829s 1..1 829s # Start of gobject tests 829s # Start of refcount tests 829s # init 0x1f4513e6f420 829s # 829s # init 0x1f4513e6f5c0 829s # 831s # Executing: glib/signals-refcount1.test 834s # dispose 0x1f4513e6f420! 834s # 834s # dispose 0x1f4513e6f5c0! 834s # 834s ok 1 /gobject/refcount/signals 834s # slow test /gobject/refcount/signals executed in 5.00 secs 834s # End of refcount tests 834s # End of gobject tests 834s ok - glib/signals-refcount1.test 834s # Running test: glib/portal-support-snap.test 834s TAP version 13 834s # random seed: R02S542e45db36054c6b8c0f76794786d207 834s 1..7 834s # Start of portal-support tests 834s # Start of snap tests 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/no-snapctl/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/no-snapctl/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_SYKZK2/portal-support/snap/no-snapctl/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/no-snapctl/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_SYKZK2/portal-support/snap/no-snapctl/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/no-snapctl/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/no-snapctl/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/no-snapctl/.dirs/runtime 834s # Created snap.yaml in /tmp/test_portal-support-snap_SYKZK2/meta/snap.yaml 834s ok 1 /portal-support/snap/no-snapctl 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/none/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/none/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_SYKZK2/portal-support/snap/none/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/none/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_SYKZK2/portal-support/snap/none/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/none/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/none/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/none/.dirs/runtime 834s # Created snap.yaml in /tmp/test_portal-support-snap_SYKZK2/meta/snap.yaml 834s # Created snapctl in /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/none/.dirs/runtime/snapctl 834s ok 2 /portal-support/snap/none 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/all/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/all/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_SYKZK2/portal-support/snap/all/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/all/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_SYKZK2/portal-support/snap/all/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/all/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/all/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/all/.dirs/runtime 834s # Created snap.yaml in /tmp/test_portal-support-snap_SYKZK2/meta/snap.yaml 834s # Created snapctl in /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/all/.dirs/runtime/snapctl 834s ok 3 /portal-support/snap/all 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/desktop-only/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/desktop-only/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_SYKZK2/portal-support/snap/desktop-only/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/desktop-only/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_SYKZK2/portal-support/snap/desktop-only/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/desktop-only/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/desktop-only/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/desktop-only/.dirs/runtime 834s # Created snap.yaml in /tmp/test_portal-support-snap_SYKZK2/meta/snap.yaml 834s # Created snapctl in /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 834s ok 4 /portal-support/snap/desktop-only 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/network-only/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/network-only/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_SYKZK2/portal-support/snap/network-only/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/network-only/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_SYKZK2/portal-support/snap/network-only/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/network-only/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/network-only/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/network-only/.dirs/runtime 834s # Created snap.yaml in /tmp/test_portal-support-snap_SYKZK2/meta/snap.yaml 834s # Created snapctl in /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/network-only/.dirs/runtime/snapctl 834s ok 5 /portal-support/snap/network-only 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/gsettings-only/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/gsettings-only/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_SYKZK2/portal-support/snap/gsettings-only/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/gsettings-only/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_SYKZK2/portal-support/snap/gsettings-only/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/gsettings-only/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/gsettings-only/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/gsettings-only/.dirs/runtime 834s # Created snap.yaml in /tmp/test_portal-support-snap_SYKZK2/meta/snap.yaml 834s # Created snapctl in /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 834s ok 6 /portal-support/snap/gsettings-only 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/updates-dynamically/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/updates-dynamically/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_SYKZK2/portal-support/snap/updates-dynamically/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/updates-dynamically/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_SYKZK2/portal-support/snap/updates-dynamically/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/updates-dynamically/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/updates-dynamically/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/updates-dynamically/.dirs/runtime 834s # Created snap.yaml in /tmp/test_portal-support-snap_SYKZK2/meta/snap.yaml 834s # Created snapctl in /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 834s # Created snapctl in /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 834s # Created snapctl in /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 834s # Created snapctl in /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 834s # Created snapctl in /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 834s # Created snapctl in /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 834s # Created snapctl in /tmp/test_portal-support-snap_SYKZK2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 834s ok 7 /portal-support/snap/updates-dynamically 834s # End of snap tests 834s # End of portal-support tests 834s ok - glib/portal-support-snap.test 834s # Running test: glib/async-splice-output-stream.test 834s TAP version 13 834s # random seed: R02Sc74c9951a09ca8e5ab41167728eec3e6 834s 1..5 834s # Start of async-splice tests 834s ok 1 /async-splice/copy-chunks 834s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 834s ok 2 /async-splice/copy-chunks-threaded-input 834s ok 3 /async-splice/copy-chunks-threaded-output 834s ok 4 /async-splice/copy-chunks-threaded 834s ok 5 /async-splice/cancelled 834s # End of async-splice tests 834s ok - glib/async-splice-output-stream.test 834s # Running test: glib/gdbus-close-pending.test 834s TAP version 13 834s # random seed: R02S726dd92dd8867b328ed0d6c36a52d66a 834s 1..2 834s # Start of gdbus tests 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_S510K2/gdbus/close-pending/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_S510K2/gdbus/close-pending/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_S510K2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_S510K2/gdbus/close-pending/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_S510K2/gdbus/close-pending/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_S510K2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_S510K2/gdbus/close-pending/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_S510K2/gdbus/close-pending/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_S510K2/gdbus/close-pending/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_S510K2/gdbus/close-pending/.dirs/runtime 834s # Executing: glib/gdbus-close-pending.test 834s ok 1 /gdbus/close-pending 834s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_S510K2/gdbus/unref-pending/.dirs/home 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_S510K2/gdbus/unref-pending/.dirs/cache 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_S510K2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_S510K2/gdbus/unref-pending/.dirs/system-config2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_S510K2/gdbus/unref-pending/.dirs/config 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_S510K2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_S510K2/gdbus/unref-pending/.dirs/system-data2 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_S510K2/gdbus/unref-pending/.dirs/data 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_S510K2/gdbus/unref-pending/.dirs/state 834s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_S510K2/gdbus/unref-pending/.dirs/runtime 835s ok 2 /gdbus/unref-pending 835s # End of gdbus tests 835s ok - glib/gdbus-close-pending.test 835s # Running test: glib/value.test 835s TAP version 13 835s # random seed: R02S26065548fe9becb7e7fe2d765e0c9503 835s 1..8 835s # Start of value tests 835s ok 1 /value/basic 835s ok 2 /value/collection 835s ok 3 /value/copying 835s ok 4 /value/enum-transformation 835s ok 5 /value/gtype 835s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 835s ok 6 /value/string 835s # Next: GObject object in GValue of GObject to GValue of GObject 835s # Next: GObject object in GValue of GObject to GValue of TestInterface 835s # Next: GObject object in GValue of GObject to GValue of TestObjectA 835s # Next: GObject object in GValue of GObject to GValue of TestObjectB 835s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 835s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 835s # Next: TestObjectA object in GValue of GObject to GValue of GObject 835s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 835s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 835s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 835s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 835s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 835s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 835s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 835s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 835s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 835s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 835s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 835s # Next: TestObjectB object in GValue of GObject to GValue of GObject 835s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 835s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 835s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 835s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 835s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 835s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 835s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 835s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 835s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 835s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 835s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 835s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 835s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 835s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 835s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 835s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 835s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 835s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 835s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 835s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 835s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 835s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 835s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 835s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 835s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 835s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 835s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 835s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 835s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 835s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 835s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 835s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 835s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 835s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 835s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 835s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 835s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 835s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 835s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 835s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 835s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 835s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 835s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 835s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 835s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 835s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 835s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 835s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 835s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 835s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 835s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 835s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 835s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 835s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 835s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 835s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 835s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 835s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 835s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 835s ok 7 /value/transform-object 835s # Start of array tests 835s ok 8 /value/array/basic 835s # End of array tests 835s # End of value tests 835s ok - glib/value.test 835s # Running test: glib/deftype.test 835s ok - glib/deftype.test 835s # Running test: glib/proxy-test.test 835s TAP version 13 835s # random seed: R02Sd75805f62f672e2cbb6e1d6f1796553f 835s 1..11 835s # Start of proxy tests 835s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 835s ok 1 /proxy/direct_sync 835s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 835s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe24ac5e0980 and GSocketClientAsyncConnectData 0xe24ac5d6260 835s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 835s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe24ac5e1390 for GSocketClientAsyncConnectData 0xe24ac5d6260 835s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 835s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 835s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 835s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 835s ok 2 /proxy/direct_async 835s ok 3 /proxy/single_sync 835s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 835s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe24ac5e2c90 and GSocketClientAsyncConnectData 0xe24ac5e1de0 835s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 835s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe24ac5e37f0 for GSocketClientAsyncConnectData 0xe24ac5e1de0 835s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 835s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 835s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 835s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 835s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 835s ok 4 /proxy/single_async 835s ok 5 /proxy/multiple_sync 835s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 835s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe24ac5e3520 and GSocketClientAsyncConnectData 0xe24ac5e32f0 835s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 835s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe24ac5e3e70 for GSocketClientAsyncConnectData 0xe24ac5e32f0 835s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 835s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 835s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 835s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 835s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 835s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe24ac5e3880 for GSocketClientAsyncConnectData 0xe24ac5e32f0 835s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 835s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 835s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 835s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 835s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 835s ok 6 /proxy/multiple_async 835s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 835s ok 7 /proxy/invalid-uris-sync 835s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 835s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 835s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe24ac5e3c00 and GSocketClientAsyncConnectData 0xe24ac5e3100 835s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 835s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 835s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 835s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe24ac5e3c00 and GSocketClientAsyncConnectData 0xe24ac5e3100 835s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 835s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 835s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 835s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe24ac5e3c00 and GSocketClientAsyncConnectData 0xe24ac5e3100 835s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 835s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe24ac5e1ba0 for GSocketClientAsyncConnectData 0xe24ac5e3100 835s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 835s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 835s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 835s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 835s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 835s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe24ac5e3520 and GSocketClientAsyncConnectData 0xe24ac5e35e0 835s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 835s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe24ac5e10a0 for GSocketClientAsyncConnectData 0xe24ac5e35e0 835s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 835s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 835s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 835s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 835s ok 8 /proxy/invalid-uris-async 835s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 835s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe24ac5e3c00 and GSocketClientAsyncConnectData 0xe24ac5e3100 835s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 835s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 835s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 835s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 835s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 835s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe24ac5e3520 and GSocketClientAsyncConnectData 0xe24ac5e35e0 835s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 835s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe24ac5e1ba0 for GSocketClientAsyncConnectData 0xe24ac5e35e0 835s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 835s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 835s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 835s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 835s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 835s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 835s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 835s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe24ac5e2db0 and GSocketClientAsyncConnectData 0xe24ac5e4110 835s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 835s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe24ac5e3f30 for GSocketClientAsyncConnectData 0xe24ac5e4110 835s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 835s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 835s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 835s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 835s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 835s ok 9 /proxy/dns 835s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 835s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe24ac5e37f0 and GSocketClientAsyncConnectData 0xe24ac5dd9c0 835s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 835s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe24ac5e38b0 for GSocketClientAsyncConnectData 0xe24ac5dd9c0 835s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 835s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 835s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 835s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 835s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 835s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 835s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 835s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe24ac5e17d0 and GSocketClientAsyncConnectData 0xe24ac5e4330 835s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 835s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe24ac5e38b0 for GSocketClientAsyncConnectData 0xe24ac5e4330 835s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 835s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 835s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 835s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 835s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 835s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 835s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xe24ac5e29a0 and GSocketClientAsyncConnectData 0xe24ac5dd9c0 835s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 835s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xe24ac5e4490 for GSocketClientAsyncConnectData 0xe24ac5dd9c0 835s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 835s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 835s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 835s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 835s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 835s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 835s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 835s ok 10 /proxy/override 835s ok 11 /proxy/enumerator-ports 835s # End of proxy tests 835s ok - glib/proxy-test.test 835s # Running test: glib/relation.test 835s TAP version 13 835s # random seed: R02S571f4d4f40971b5724c823c742d320f8 835s 1..1 835s # Start of glib tests 835s ok 1 /glib/relation 835s # End of glib tests 835s ok - glib/relation.test 835s # Running test: glib/struct-info.test 835s TAP version 13 835s # random seed: R02S18a5087ad14e459fe3f5280c9dd37327 835s 1..4 835s # Start of struct-info tests 835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_SWDVK2/struct-info/field-iterators/.dirs/home 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_SWDVK2/struct-info/field-iterators/.dirs/cache 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_SWDVK2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_SWDVK2/struct-info/field-iterators/.dirs/system-config2 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_SWDVK2/struct-info/field-iterators/.dirs/config 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_SWDVK2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_SWDVK2/struct-info/field-iterators/.dirs/system-data2 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_SWDVK2/struct-info/field-iterators/.dirs/data 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_SWDVK2/struct-info/field-iterators/.dirs/state 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_SWDVK2/struct-info/field-iterators/.dirs/runtime 835s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 835s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 835s ok 1 /struct-info/field-iterators 835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_SWDVK2/struct-info/sizeof-gvalue/.dirs/home 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_SWDVK2/struct-info/sizeof-gvalue/.dirs/cache 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_SWDVK2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_SWDVK2/struct-info/sizeof-gvalue/.dirs/system-config2 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_SWDVK2/struct-info/sizeof-gvalue/.dirs/config 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_SWDVK2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_SWDVK2/struct-info/sizeof-gvalue/.dirs/system-data2 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_SWDVK2/struct-info/sizeof-gvalue/.dirs/data 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_SWDVK2/struct-info/sizeof-gvalue/.dirs/state 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_SWDVK2/struct-info/sizeof-gvalue/.dirs/runtime 835s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 835s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 835s ok 2 /struct-info/sizeof-gvalue 835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_SWDVK2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_SWDVK2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_SWDVK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_SWDVK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_SWDVK2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_SWDVK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_SWDVK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_SWDVK2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_SWDVK2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_SWDVK2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 835s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 835s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 835s ok 3 /struct-info/is-pointer-for-struct-method-arg 835s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_SWDVK2/struct-info/boxed/.dirs/home 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_SWDVK2/struct-info/boxed/.dirs/cache 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_SWDVK2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_SWDVK2/struct-info/boxed/.dirs/system-config2 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_SWDVK2/struct-info/boxed/.dirs/config 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_SWDVK2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_SWDVK2/struct-info/boxed/.dirs/system-data2 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_SWDVK2/struct-info/boxed/.dirs/data 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_SWDVK2/struct-info/boxed/.dirs/state 835s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_SWDVK2/struct-info/boxed/.dirs/runtime 835s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 835s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 835s ok 4 /struct-info/boxed 835s # End of struct-info tests 835s ok - glib/struct-info.test 835s # Running test: glib/simple-proxy.test 835s TAP version 13 835s # random seed: R02S7a6887abdb2dfe719dc247272ab947fd 835s 1..3 835s # Start of static-proxy tests 835s ok 1 /static-proxy/uri 835s ok 2 /static-proxy/socks 835s ok 3 /static-proxy/ignore 835s # End of static-proxy tests 835s ok - glib/simple-proxy.test 835s # Running test: glib/signals-refcount4.test 835s TAP version 13 835s # random seed: R02Sc7f45fa7fb913707a9bd1ab06f09e0d8 835s 1..1 835s # Start of gobject tests 835s # Start of refcount tests 835s # init 0xb89a613f420 835s # 835s # init 0xb89a613f5c0 835s # 839s # Executing: glib/signals-refcount4.test 840s # dispose 0xb89a613f420! 840s # 840s # dispose 0xb89a613f5c0! 840s # 840s ok 1 /gobject/refcount/signals 840s # slow test /gobject/refcount/signals executed in 5.00 secs 840s # End of refcount tests 840s # End of gobject tests 840s ok - glib/signals-refcount4.test 840s # Running test: glib/type-flags.test 840s TAP version 13 840s # random seed: R02S936c2c0114c4bee1c99ee19fc09e6238 840s 1..4 840s # Start of type tests 840s # Start of flags tests 840s ok 1 /type/flags/interface 840s ok 2 /type/flags/final 840s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 840s ok 3 /type/flags/deprecated 840s # Start of final tests 840s ok 4 /type/flags/final/instance-check 840s # End of final tests 840s # End of flags tests 840s # End of type tests 840s ok - glib/type-flags.test 840s # Running test: glib/threadtests.test 840s TAP version 13 840s # random seed: R02Sb0474c09bdb152261da784a70de1fd35 840s 1..5 840s # Start of GObject tests 840s ok 1 /GObject/threaded-object-init 841s ok 2 /GObject/threaded-weak-ref 841s # slow test /GObject/threaded-weak-ref executed in 0.77 secs 841s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 841s # /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 844s # Executing: glib/threadtests.test 846s ok 3 /GObject/threaded-toggle-notify 846s # slow test /GObject/threaded-toggle-notify executed in 5.83 secs 846s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 846s # Start of threaded-weak-ref tests 846s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 846s # /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. 846s ok 5 /GObject/threaded-weak-ref/on-finalization 846s # End of threaded-weak-ref tests 846s # End of GObject tests 846s ok - glib/threadtests.test 846s # Running test: glib/unix.test 846s TAP version 13 846s # random seed: R02S5625f1f3222db6c8b59e032beaf117f6 846s 1..17 846s # Start of glib-unix tests 846s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 847s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 847s ok 1 /glib-unix/closefrom 847s ok 2 /glib-unix/pipe 847s # /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 847s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 847s ok 3 /glib-unix/pipe-stdio-overwrite 847s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 847s ok 4 /glib-unix/pipe-struct 847s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 847s ok 5 /glib-unix/pipe-struct-auto 847s ok 6 /glib-unix/error 847s ok 7 /glib-unix/nonblocking 847s ok 8 /glib-unix/sighup 847s # slow test /glib-unix/sighup executed in 0.50 secs 847s ok 9 /glib-unix/sigterm 847s # slow test /glib-unix/sigterm executed in 0.50 secs 848s ok 10 /glib-unix/sighup_again 848s # slow test /glib-unix/sighup_again executed in 0.50 secs 848s ok 11 /glib-unix/sighup_add_remove 848s ok 12 /glib-unix/sighup_nested 849s # Executing: glib/unix.test 850s ok 13 /glib-unix/callback_after_signal 850s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 850s ok 14 /glib-unix/child-wait 850s # Start of closefrom tests 850s # Start of subprocess tests 850s # End of subprocess tests 850s # End of closefrom tests 850s # Start of pipe tests 850s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 850s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 850s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 850s ok 15 /glib-unix/pipe/fd-cloexec 850s # End of pipe tests 850s # Start of get-passwd-entry tests 850s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 850s ok 16 /glib-unix/get-passwd-entry/root 850s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 850s ok 17 /glib-unix/get-passwd-entry/nonexistent 850s # End of get-passwd-entry tests 850s # End of glib-unix tests 850s ok - glib/unix.test 850s # Running test: glib/charset.test 850s TAP version 13 850s # random seed: R02Sae4a55c8af13fa1b417c5bfa51a02f65 850s 1..2 850s # Start of charset tests 850s # Test 0 850s # Test 1 850s # Test 2 850s # Test 3 850s ok 1 /charset/language_names_with_category 850s ok 2 /charset/language_names_with_category_async 850s # End of charset tests 850s ok - glib/charset.test 850s # Running test: glib/gdbus-message.test 850s TAP version 13 850s # random seed: R02Se428cc53d193951298e0420cf554874c 850s 1..3 850s # Start of gdbus tests 850s # Start of message tests 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_U801K2/gdbus/message/lock/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_U801K2/gdbus/message/lock/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_U801K2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_U801K2/gdbus/message/lock/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_U801K2/gdbus/message/lock/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_U801K2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_U801K2/gdbus/message/lock/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_U801K2/gdbus/message/lock/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_U801K2/gdbus/message/lock/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_U801K2/gdbus/message/lock/.dirs/runtime 850s ok 1 /gdbus/message/lock 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_U801K2/gdbus/message/copy/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_U801K2/gdbus/message/copy/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_U801K2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_U801K2/gdbus/message/copy/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_U801K2/gdbus/message/copy/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_U801K2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_U801K2/gdbus/message/copy/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_U801K2/gdbus/message/copy/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_U801K2/gdbus/message/copy/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_U801K2/gdbus/message/copy/.dirs/runtime 850s ok 2 /gdbus/message/copy 850s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_U801K2/gdbus/message/bytes-needed/.dirs/home 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_U801K2/gdbus/message/bytes-needed/.dirs/cache 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_U801K2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_U801K2/gdbus/message/bytes-needed/.dirs/system-config2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_U801K2/gdbus/message/bytes-needed/.dirs/config 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_U801K2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_U801K2/gdbus/message/bytes-needed/.dirs/system-data2 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_U801K2/gdbus/message/bytes-needed/.dirs/data 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_U801K2/gdbus/message/bytes-needed/.dirs/state 850s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_U801K2/gdbus/message/bytes-needed/.dirs/runtime 850s # Vector: 0 850s # Vector: 1 850s # Vector: 2 850s # Vector: 3 850s # Vector: 4 850s # Vector: 5 850s ok 3 /gdbus/message/bytes-needed 850s # End of message tests 850s # End of gdbus tests 850s ok - glib/gdbus-message.test 850s # Running test: glib/private.test 850s TAP version 13 850s # random seed: R02S38fe6072a80bbbb90a138a9c0904fe1b 850s 1..8 850s # Start of thread tests 850s ok 1 /thread/private1 851s ok 2 /thread/private2 851s # slow test /thread/private2 executed in 1.09 secs 851s ok 3 /thread/private3 851s ok 4 /thread/staticprivate1 851s ok 5 /thread/staticprivate2 851s ok 6 /thread/staticprivate3 852s ok 7 /thread/staticprivate4 852s # slow test /thread/staticprivate4 executed in 1.10 secs 852s ok 8 /thread/staticprivate5 852s # End of thread tests 852s ok - glib/private.test 852s # Running test: glib/thread.test 852s TAP version 13 852s # random seed: R02S24990bf5f1313af3a012d99856c8e90f 852s 1..7 852s # Start of thread tests 852s ok 1 /thread/thread1 852s ok 2 /thread/thread2 852s ok 3 /thread/thread3 852s ok 4 /thread/thread4 852s ok 5 /thread/thread5 852s ok 6 /thread/thread6 852s ok 7 /thread/thread7 852s # End of thread tests 852s ok - glib/thread.test 852s # Running test: glib/pathbuf.test 852s TAP version 13 852s # random seed: R02S401762531814314d49118f5ea6f389f6 852s 1..3 852s # Start of pathbuf tests 852s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_TPOJK2/pathbuf/init/.dirs/home 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_TPOJK2/pathbuf/init/.dirs/cache 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_TPOJK2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_TPOJK2/pathbuf/init/.dirs/system-config2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_TPOJK2/pathbuf/init/.dirs/config 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_TPOJK2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_TPOJK2/pathbuf/init/.dirs/system-data2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_TPOJK2/pathbuf/init/.dirs/data 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_TPOJK2/pathbuf/init/.dirs/state 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_TPOJK2/pathbuf/init/.dirs/runtime 852s # Initializing empty path buf 852s # Initializing with empty path 852s # Initializing with full path 852s # Initializing with no path 852s # Allocating GPathBuf on the heap 852s ok 1 /pathbuf/init 852s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_TPOJK2/pathbuf/push-pop/.dirs/home 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_TPOJK2/pathbuf/push-pop/.dirs/cache 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_TPOJK2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_TPOJK2/pathbuf/push-pop/.dirs/system-config2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_TPOJK2/pathbuf/push-pop/.dirs/config 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_TPOJK2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_TPOJK2/pathbuf/push-pop/.dirs/system-data2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_TPOJK2/pathbuf/push-pop/.dirs/data 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_TPOJK2/pathbuf/push-pop/.dirs/state 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_TPOJK2/pathbuf/push-pop/.dirs/runtime 852s # Pushing relative path component 852s # Pushing absolute path component 852s # Popping a path component 852s # Can't pop the last element of a path buffer 852s ok 2 /pathbuf/push-pop 852s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_TPOJK2/pathbuf/filename-extension/.dirs/home 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_TPOJK2/pathbuf/filename-extension/.dirs/cache 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_TPOJK2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_TPOJK2/pathbuf/filename-extension/.dirs/system-config2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_TPOJK2/pathbuf/filename-extension/.dirs/config 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_TPOJK2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_TPOJK2/pathbuf/filename-extension/.dirs/system-data2 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_TPOJK2/pathbuf/filename-extension/.dirs/data 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_TPOJK2/pathbuf/filename-extension/.dirs/state 852s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_TPOJK2/pathbuf/filename-extension/.dirs/runtime 852s ok 3 /pathbuf/filename-extension 852s # End of pathbuf tests 852s ok - glib/pathbuf.test 852s # Running test: glib/application-command-line.test 852s TAP version 13 852s # random seed: R02Secdf995ddab56bc6879d9a14b4e6cd77 852s 1..1 852s # Start of application-command-line tests 852s ok 1 /application-command-line/basic-properties 852s # End of application-command-line tests 852s ok - glib/application-command-line.test 852s # Running test: glib/uri.test 852s TAP version 13 852s # random seed: R02Sc658d5925474e9fe8758d93680783a08 852s 1..24 852s # Start of uri tests 852s ok 1 /uri/file-to-uri 852s ok 2 /uri/file-from-uri 852s ok 3 /uri/file-roundtrip 852s ok 4 /uri/list 852s # Test 0: %2Babc %4F 852s # Test 1: %2Babc %4F 852s # Test 2: %00abc %4F 852s # Test 3: /cursors/none.png 852s # Test 4: /cursors%2fbad-subdir/none.png 852s # Test 5: %0 852s # Test 6: %ra 852s # Test 7: %2r 852s # Test 8: Timm B?der 852s # Test 9: (null) 852s ok 5 /uri/unescape-string 852s ok 6 /uri/unescape-segment 852s # Test 0: abcdefgABCDEFG._~ 852s # Test 1: :+ \\?# 852s # Test 2: a+b:c 852s # Test 3: a+b:c\303\234 852s # Test 4: \374;\322 852s # Test 5: \303\261\303( 852s ok 7 /uri/escape-string 852s ok 8 /uri/escape-bytes 852s ok 9 /uri/scheme 852s ok 10 /uri/build 852s ok 11 /uri/split 852s ok 12 /uri/is_valid 852s ok 13 /uri/to-string 852s ok 14 /uri/join 852s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 852s # Combination 0 852s # Combination 1 852s # Combination 2 852s # Combination 3 852s # Combination 4 852s # Combination 5 852s # Combination 6 852s # Combination 7 852s # Combination 8 852s # Combination 9 852s # Combination 10 852s # Combination 11 852s # Combination 12 852s # Combination 13 852s # Combination 14 852s # Combination 15 852s # Combination 16 852s # Combination 17 852s # Combination 18 852s # Combination 19 852s # Combination 20 852s # Combination 21 852s # Combination 22 852s # Combination 23 852s # Combination 24 852s # Combination 25 852s # Combination 26 852s # Combination 27 852s # Combination 28 852s # Combination 29 852s # Combination 30 852s # Combination 31 852s # Combination 32 852s # Combination 33 852s # Combination 34 852s # Combination 35 852s # Combination 36 852s # Combination 37 852s # Combination 38 852s # Combination 39 852s # Combination 40 852s # Combination 41 852s # Combination 42 852s # Combination 43 852s # Combination 44 852s # Combination 45 852s # Combination 46 852s # Combination 47 852s # Combination 48 852s # Combination 49 852s # Combination 50 852s # Combination 51 852s # Combination 52 852s # Combination 53 852s # Combination 54 852s # Combination 55 852s # Combination 56 852s # Combination 57 852s # Combination 58 852s # Combination 59 852s # Combination 60 852s # Combination 61 852s # Combination 62 852s # Combination 63 852s # Combination 64 852s # Combination 65 852s # Combination 66 852s # Combination 67 852s # Combination 68 852s # Combination 69 852s # Combination 70 852s # Combination 71 852s # Combination 72 852s # Combination 73 852s # Combination 74 852s # Combination 75 852s # Combination 76 852s # Combination 77 852s # Combination 78 852s # Combination 79 852s # Combination 80 852s # Combination 81 852s # Combination 82 852s # Combination 83 852s # Combination 84 852s # Combination 85 852s # Combination 86 852s # Combination 87 852s # Combination 88 852s # Combination 89 852s # Combination 90 852s # Combination 91 852s # Combination 92 852s # Combination 93 852s # Combination 94 852s # Combination 95 852s # Combination 96 852s # Combination 97 852s # Combination 98 852s # Combination 99 852s # Combination 100 852s # Combination 101 852s # Combination 102 852s # Combination 103 852s # Combination 104 852s # Combination 105 852s # Combination 106 852s # Combination 107 852s # Combination 108 852s # Combination 109 852s # Combination 110 852s # Combination 111 852s # Combination 112 852s # Combination 113 852s # Combination 114 852s # Combination 115 852s # Combination 116 852s # Combination 117 852s # Combination 118 852s # Combination 119 852s # Combination 120 852s # Combination 121 852s # Combination 122 852s # Combination 123 852s # Combination 124 852s # Combination 125 852s # Combination 126 852s # Combination 127 852s # Combination 128 852s # Combination 129 852s # Combination 130 852s # Combination 131 852s # Combination 132 852s # Combination 133 852s # Combination 134 852s # Combination 135 852s # Combination 136 852s # Combination 137 852s # Combination 138 852s # Combination 139 852s # Combination 140 852s # Combination 141 852s # Combination 142 852s # Combination 143 852s # Combination 144 852s # Combination 145 852s # Combination 146 852s # Combination 147 852s # Combination 148 852s # Combination 149 852s # Combination 150 852s # Combination 151 852s # Combination 152 852s # Combination 153 852s # Combination 154 852s # Combination 155 852s # Combination 156 852s # Combination 157 852s # Combination 158 852s # Combination 159 852s # Combination 160 852s # Combination 161 852s # Combination 162 852s # Combination 163 852s # Combination 164 852s # Combination 165 852s # Combination 166 852s # Combination 167 852s # Combination 168 852s # Combination 169 852s # Combination 170 852s # Combination 171 852s # Combination 172 852s # Combination 173 852s # Combination 174 852s # Combination 175 852s # Combination 176 852s # Combination 177 852s # Combination 178 852s # Combination 179 852s # Combination 180 852s # Combination 181 852s # Combination 182 852s # Combination 183 852s # Combination 184 852s # Combination 185 852s # Combination 186 852s # Combination 187 852s # Combination 188 852s # Combination 189 852s # Combination 190 852s # Combination 191 852s # Combination 192 852s # Combination 193 852s # Combination 194 852s # Combination 195 852s # Combination 196 852s # Combination 197 852s # Combination 198 852s # Combination 199 852s # Combination 200 852s # Combination 201 852s # Combination 202 852s # Combination 203 852s # Combination 204 852s # Combination 205 852s # Combination 206 852s # Combination 207 852s # Combination 208 852s # Combination 209 852s # Combination 210 852s # Combination 211 852s # Combination 212 852s # Combination 213 852s # Combination 214 852s # Combination 215 852s # Combination 216 852s # Combination 217 852s # Combination 218 852s # Combination 219 852s # Combination 220 852s # Combination 221 852s # Combination 222 852s # Combination 223 852s # Combination 224 852s # Combination 225 852s # Combination 226 852s # Combination 227 852s # Combination 228 852s # Combination 229 852s # Combination 230 852s # Combination 231 852s # Combination 232 852s # Combination 233 852s # Combination 234 852s # Combination 235 852s # Combination 236 852s # Combination 237 852s # Combination 238 852s # Combination 239 852s # Combination 240 852s # Combination 241 852s # Combination 242 852s # Combination 243 852s # Combination 244 852s # Combination 245 852s # Combination 246 852s # Combination 247 852s # Combination 248 852s # Combination 249 852s # Combination 250 852s # Combination 251 852s # Combination 252 852s # Combination 253 852s # Combination 254 852s # Combination 255 852s ok 15 /uri/join-split-round-trip 852s ok 16 /uri/normalize 852s # Start of unescape-bytes tests 852s # Test 0: %00%00 852s # Test 1: /cursors/none.png 852s # Test 2: /cursors%2fbad-subdir/none.png 852s # Test 3: %% 852s # Test 4: % 852s ok 17 /uri/unescape-bytes/nul-terminated 852s # Test 0: %00%00 852s # Test 1: /cursors/none.png 852s # Test 2: /cursors%2fbad-subdir/none.png 852s # Test 3: %% 852s # Test 4: % 852s ok 18 /uri/unescape-bytes/length 852s # End of unescape-bytes tests 852s # Start of parsing tests 852s # Test 0: foo: 852s # Test 1: file:/dev/null 852s # Test 2: file:///dev/null 852s # Test 3: ftp://user@host/path 852s # Test 4: ftp://user@host:9999/path 852s # Test 5: ftp://user:password@host/path 852s # Test 6: ftp://user:password@host:9999/path 852s # Test 7: ftp://user:password@host 852s # Test 8: http://us%65r@host 852s # Test 9: http://us%40r@host 852s # Test 10: http://us%3ar@host 852s # Test 11: http://us%2fr@host 852s # Test 12: http://us%3fr@host 852s # Test 13: http://host?query 852s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 852s # 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 852s # Test 16: http://space/%20 852s # Test 17: http://delims/%3C%3E%23%25%22 852s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 852s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 852s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 852s # Test 21: http://[3ffe:2a00:100:7031::1] 852s # Test 22: http://[1080::8:800:200C:417A]/foo 852s # Test 23: http://[::192.9.5.5]/ipng 852s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 852s # Test 25: http://[2010:836B:4179::836B:4179] 852s # Test 26: http://host/path with spaces 852s # Test 27: http://host/path 852s # Test 28: http://host/path 852s # Test 29: http://host 852s # Test 30: http://host:999 852s # Test 31: http://host/pa 852s # th 852s # Test 32: http: 852s # //host/path 852s # Test 33: http:// host/path 852s # Test 34: http://host/path? 852s # Test 35: http://host/path# 852s # Test 36: http://host/path% 852s # Test 37: http://h%ost/path 852s # Test 38: http://host/path%% 852s # Test 39: http://host/path%%% 852s # Test 40: http://host/path%/x/ 852s # Test 41: http://host/path%0x/ 852s # Test 42: http://host/path%ax 852s # Test 43: http://host/p?th/ 852s # Test 44: HTTP://////////////// 852s # Test 45: http://@host 852s # Test 46: http://:@host 852s # Test 47: scheme://foo%3Abar._webdav._tcp.local 852s # Test 48: http://example.com/.. 852s # Test 49: foo0://host/path 852s # Test 50: f0.o://host/path 852s # Test 51: http++://host/path 852s # Test 52: http-ish://host/path 852s # Test 53: http://[fe80::dead:beef%]/ 852s # Test 54: http://[fe80::dead:beef%em1]/ 852s # Test 55: http://[fe80::dead:beef%em1]/ 852s # Test 56: http://[fe80::dead:beef%25em1]/ 852s # Test 57: http://[fe80::dead:beef%25em1%20]/ 852s # Test 58: http://[fe80::dead:beef%25em%31]/ 852s # Test 59: http://[fe80::dead:beef%10]/ 852s # Test 60: http://[fe80::dead:beef%10]/ 852s # Test 61: http://[fe80::dead:beef%25]/ 852s # Test 62: http://[fe80::dead:beef%25]/ 852s # Test 63: http://[192.168.0.1%25em1]/ 852s # Test 64: http://[fe80::dead:beef%2em1]/ 852s # Test 65: http://[fe80::dead:beef%2em1]/ 852s # Test 66: http://[fe80::dead:beef%25em1%00]/ 852s # Test 67: http://[fe80::dead:beef%25em1%00]/ 852s # Test 68: http://xn--mixed-?p/ 852s ok 19 /uri/parsing/absolute 852s ok 20 /uri/parsing/relative 852s # End of parsing tests 852s # Start of iter-params tests 852s # URI 0: p1=foo&p2=bar;p3=baz 852s # URI 1: p1=foo&p2=bar 852s # URI 2: p1=foo&&P1=bar 852s # URI 3: %00=foo 852s # URI 4: p1=%00 852s # URI 5: p1=foo&p1=bar 852s # URI 6: p1=foo&P1=bar 852s # URI 7: =% 852s # URI 8: = 852s # URI 9: foo 852s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 852s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 852s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 852s ok 21 /uri/iter-params/nul-terminated 852s # URI 0: p1=foo&p2=bar;p3=baz 852s # URI 1: p1=foo&p2=bar 852s # URI 2: p1=foo&&P1=bar 852s # URI 3: %00=foo 852s # URI 4: p1=%00 852s # URI 5: p1=foo&p1=bar 852s # URI 6: p1=foo&P1=bar 852s # URI 7: =% 852s # URI 8: = 852s # URI 9: foo 852s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 852s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 852s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 852s ok 22 /uri/iter-params/length 852s # End of iter-params tests 852s # Start of parse-params tests 852s # URI 0: p1=foo&p2=bar;p3=baz 852s # URI 1: p1=foo&p2=bar 852s # URI 2: p1=foo&&P1=bar 852s # URI 3: %00=foo 852s # URI 4: p1=%00 852s # URI 5: p1=foo&p1=bar 852s # URI 6: p1=foo&P1=bar 852s # URI 7: =% 852s # URI 8: = 852s # URI 9: foo 852s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 852s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 852s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 852s ok 23 /uri/parse-params/nul-terminated 852s # URI 0: p1=foo&p2=bar;p3=baz 852s # URI 1: p1=foo&p2=bar 852s # URI 2: p1=foo&&P1=bar 852s # URI 3: %00=foo 852s # URI 4: p1=%00 852s # URI 5: p1=foo&p1=bar 852s # URI 6: p1=foo&P1=bar 852s # URI 7: =% 852s # URI 8: = 852s # URI 9: foo 852s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 852s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 852s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 852s ok 24 /uri/parse-params/length 852s # End of parse-params tests 852s # End of uri tests 852s ok - glib/uri.test 852s # Running test: glib/utils.test 852s TAP version 13 852s # random seed: R02S5f888b5d42c72283705e40df8bfc0cfb 852s 1..40 852s # Start of utils tests 852s ok 1 /utils/language-names 852s ok 2 /utils/locale-variants 852s ok 3 /utils/version 852s ok 4 /utils/appname 852s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 852s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 852s ok 5 /utils/prgname-thread-safety 852s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 852s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 852s ok 6 /utils/tmpdir 852s ok 7 /utils/basic_bits 852s ok 8 /utils/bits 852s ok 9 /utils/swap 852s ok 10 /utils/find-program 852s ok 11 /utils/find-program-for-path 852s ok 12 /utils/debug 852s ok 13 /utils/codeset 852s ok 14 /utils/codeset2 852s ok 15 /utils/console-charset 852s ok 16 /utils/gettext 852s ok 17 /utils/username 852s ok 18 /utils/realname 852s ok 19 /utils/hostname 852s ok 20 /utils/xdgdirs 852s ok 21 /utils/specialdir 852s # NAME: Ubuntu 852s ok 22 /utils/os-info 852s ok 23 /utils/clear-pointer 852s ok 24 /utils/clear-pointer-cast 852s ok 25 /utils/take-pointer 852s ok 26 /utils/clear-source 852s ok 27 /utils/misc-mem 852s # /utils/aligned-mem summary: Aligned memory allocator 852s # Alignment must not be zero 852s # Alignment must be a power of two 852s # Alignment must be a multiple of sizeof(void*) 852s ok 28 /utils/aligned-mem 852s # /utils/free-sized summary: Check that g_free_sized() works 852s ok 29 /utils/free-sized 852s ok 30 /utils/nullify 852s ok 31 /utils/atexit 852s ok 32 /utils/check-setuid 852s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 852s ok 33 /utils/int-limits 852s ok 34 /utils/clear-list 852s ok 35 /utils/clear-slist 852s # Start of specialdir tests 852s ok 36 /utils/specialdir/desktop 852s # End of specialdir tests 852s # Start of clear-pointer tests 852s ok 37 /utils/clear-pointer/side-effects 852s # End of clear-pointer tests 852s # Start of aligned-mem tests 852s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 852s ok 38 /utils/aligned-mem/alignment 852s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 852s ok 39 /utils/aligned-mem/zeroed 852s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 852s ok 40 /utils/aligned-mem/free-sized 852s # Start of subprocess tests 852s # End of subprocess tests 852s # End of aligned-mem tests 852s # End of utils tests 852s ok - glib/utils.test 852s # Running test: glib/defaultiface.test 852s TAP version 13 852s # random seed: R02S65d1e9afd0615c63c2f6f50adf9ddb04 852s 1..2 852s # Start of gobject tests 852s ok 1 /gobject/static-iface 852s ok 2 /gobject/dynamic-iface 852s # End of gobject tests 852s ok - glib/defaultiface.test 852s # Running test: glib/live-g-file.test 852s TAP version 13 852s # random seed: R02Sfc9e0c887e91fc7fc8cb0d883f8e788c 852s 1..13 852s # Start of live-g-file tests 852s # Cleaning target testing structure in 'testdir_live-g-file'... 852s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 852s ok 1 /live-g-file/prep_clean_structure 852s # 852s # Going to create testing structure in 'testdir_live-g-file'... 852s # Creating directory 'dir1'... 852s # Creating directory 'dir1/subdir'... 852s # Creating directory 'dir2'... 852s # Creating directory 'dir-target'... 852s # Creating directory 'dir_no-access'... 852s # Creating directory 'dir_no-write'... 852s # Creating file 'target-file'... 852s # Creating file 'normal_file'... 852s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 852s # Creating file 'executable_file'... 852s # Creating file 'private_file'... 852s # Creating file 'normal_file2'... 852s # Creating file 'readonly_file'... 852s # Creating file 'UTF_pr?i?lis? z'... 852s # Creating directory 'dir_pr?i?lis? z'... 852s # Creating symlink 'lost_symlink' --> 'nowhere'... 852s # Creating directory 'dir_hidden'... 852s # Creating file 'dir_hidden/.a-hidden-file'... 852s # Creating file 'dir_hidden/file-in-.hidden1'... 852s # Creating file 'dir_hidden/file-in-.hidden2'... 852s # Creating pattern file... 852s # done. 852s ok 2 /live-g-file/create_structure 852s # Testing sample structure in 'testdir_live-g-file'... 852s # Testing file 'dir1'... 852s # Testing file 'dir1/subdir'... 852s # Testing file 'dir2'... 852s # Testing file 'dir-target'... 852s # Testing file 'dir_no-access'... 852s # Testing file 'dir_no-write'... 852s # Testing file 'target-file'... 852s # Testing file 'normal_file'... 852s # Testing file 'normal_file-symlink'... 852s # Testing file 'executable_file'... 852s # Testing file 'private_file'... 852s # Testing file 'normal_file2'... 852s # Testing file 'readonly_file'... 852s # Testing file 'UTF_pr?i?lis? z'... 852s # Testing file 'dir_pr?i?lis? z'... 852s # Testing file 'lost_symlink'... 852s # Testing file 'dir_hidden'... 852s # Testing file 'dir_hidden/.a-hidden-file'... 852s # Testing file 'dir_hidden/file-in-.hidden1'... 852s # Testing file 'dir_hidden/file-in-.hidden2'... 852s # Testing pattern file... 852s # read 65536 bytes, total = 65536 of 65536. 852s ok 3 /live-g-file/test_initial_structure 852s # Traversing through the sample structure in 'testdir_live-g-file'... 852s # Found file dir1, relative to root: dir1 852s # Found file subdir, relative to root: dir1/subdir 852s # Found file dir2, relative to root: dir2 852s # Found file dir-target, relative to root: dir-target 852s # Found file dir_no-access, relative to root: dir_no-access 852s # Found file dir_no-write, relative to root: dir_no-write 852s # Found file target-file, relative to root: target-file 852s # Found file normal_file, relative to root: normal_file 852s # Found file normal_file-symlink, relative to root: normal_file-symlink 852s # Found file executable_file, relative to root: executable_file 852s # Found file private_file, relative to root: private_file 852s # Found file normal_file2, relative to root: normal_file2 852s # Found file readonly_file, relative to root: readonly_file 852s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 852s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 852s # Found file lost_symlink, relative to root: lost_symlink 852s # Found file dir_hidden, relative to root: dir_hidden 852s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 852s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 852s # Found file .hidden, relative to root: dir_hidden/.hidden 852s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 852s # Found file pattern_file, relative to root: pattern_file 852s ok 4 /live-g-file/test_traverse_structure 852s # Test enumerate 'testdir_live-g-file'... 852s # Testing file 'dir_no-access' 852s # Testing file 'normal_file' 852s # Testing file 'normal_file-symlink' 852s # Testing file 'not_exists' 852s # Testing file 'not_exists' 852s # Testing file 'not_exists2' 852s # Testing file 'not_exists3' 852s # Testing file 'not_exists4' 852s # Testing file 'dir_no-execute/file' 852s ok 5 /live-g-file/test_enumerate 852s # test_open: 'dir1' 852s # test_open: 'dir_no-access' 852s # test_open: 'target-file' 852s # test_open: 'normal_file-symlink' 852s # test_open: 'executable_file' 852s # test_open: 'private_file' 852s # test_open: 'readonly_file' 852s # test_open: 'UTF_pr?i?lis? z' 852s # test_open: 'pattern_file' 852s # test_open: 'not_exists' 852s # test_open: 'dir_no-execute/file' 852s # test_open: 'lost_symlink' 852s ok 6 /live-g-file/test_open 852s # test_create: 'dir1' 852s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir1?: Is a directory 852s # test_create: 'dir1/subdir' 852s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir1/subdir?: Is a directory 852s # test_create: 'dir2' 852s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir2?: File exists 852s # test_create: 'normal_file' 852s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/normal_file?: File exists 852s # test_create: 'executable_file' 852s # test_create: 'private_file' 852s # test_create: 'normal_file2' 852s # test_create: 'UTF_pr?i?lis? z' 852s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 852s # test_create: 'dir_pr?i?lis? z' 852s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 852s # test_create: 'pattern_file' 852s # test_create: 'not_exists2' 852s # test_create: 'not_exists3' 852s # test_create: 'not_exists4' 852s ok 7 /live-g-file/test_create 852s # We do not have CAP_DAC_OVERRIDE or equivalent 852s # do_copy_move: 'dir1/subdir' --> 'dir-target' 852s # res = 0, error code 25 = Can?t recursively copy directory 852s # We do not have CAP_DAC_OVERRIDE or equivalent 852s # do_copy_move: 'dir1/subdir' --> '.' 852s # res = 0, error code 2 = Target file exists 852s # We do not have CAP_DAC_OVERRIDE or equivalent 852s # do_copy_move: 'dir1/subdir' --> 'target-file' 852s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 852s # We do not have CAP_DAC_OVERRIDE or equivalent 852s # do_copy_move: 'dir1/subdir' --> 'not_exists' 852s # res = 0, error code 25 = Can?t recursively copy directory 852s # We do not have CAP_DAC_OVERRIDE or equivalent 852s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 852s # res = 0, error code 25 = Can?t recursively copy directory 852s # We do not have CAP_DAC_OVERRIDE or equivalent 852s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 852s # res = 0, error code 25 = Can?t recursively copy directory 852s # We do not have CAP_DAC_OVERRIDE or equivalent 852s # do_copy_move: 'dir2' --> 'dir-target' 852s # We do not have CAP_DAC_OVERRIDE or equivalent 852s # do_copy_move: 'dir-target' --> 'dir-target' 852s # res = 0, error code 25 = Can?t recursively copy directory 852s # We do not have CAP_DAC_OVERRIDE or equivalent 852s # do_copy_move: 'dir-target' --> '.' 852s # res = 0, error code 2 = Target file exists 852s # We do not have CAP_DAC_OVERRIDE or equivalent 852s # do_copy_move: 'dir-target' --> 'target-file' 852s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/target-file/dir-target?: Not a directory 852s # We do not have CAP_DAC_OVERRIDE or equivalent 852s # do_copy_move: 'dir-target' --> 'not_exists' 852s # res = 0, error code 25 = Can?t recursively copy directory 852s # We do not have CAP_DAC_OVERRIDE or equivalent 852s # do_copy_move: 'dir-target' --> 'dir_no-access' 852s # res = 0, error code 25 = Can?t recursively copy directory 852s # We do not have CAP_DAC_OVERRIDE or equivalent 852s # do_copy_move: 'dir-target' --> 'dir_no-write' 852s # res = 0, error code 25 = Can?t recursively copy directory 852s # We do not have CAP_DAC_OVERRIDE or equivalent 852s # do_copy_move: 'target-file' --> 'dir-target' 852s # We do not have CAP_DAC_OVERRIDE or equivalent 852s # do_copy_move: 'target-file' --> '.' 852s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/target-file?: File exists 852s # We do not have CAP_DAC_OVERRIDE or equivalent 852s # do_copy_move: 'target-file' --> 'target-file' 852s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/target-file/target-file?: Not a directory 852s # We do not have CAP_DAC_OVERRIDE or equivalent 852s # do_copy_move: 'target-file' --> 'not_exists' 852s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/not_exists/target-file?: No such file or directory 852s # We do not have CAP_DAC_OVERRIDE or equivalent 852s # do_copy_move: 'target-file' --> 'dir_no-access' 852s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'target-file' --> 'dir_no-write' 853s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'normal_file-symlink' --> '.' 853s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/normal_file-symlink: File exists 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'normal_file-symlink' --> 'target-file' 853s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 853s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 853s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 853s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'executable_file' --> 'dir-target' 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'executable_file' --> 'dir-target' 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'executable_file' --> '.' 853s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/executable_file?: File exists 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'executable_file' --> 'target-file' 853s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/target-file/executable_file?: Not a directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'executable_file' --> 'not_exists' 853s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'executable_file' --> 'dir_no-access' 853s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'executable_file' --> 'dir_no-write' 853s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'private_file' --> 'dir-target' 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'private_file' --> 'dir-target' 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'private_file' --> '.' 853s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/private_file?: File exists 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'private_file' --> 'target-file' 853s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/target-file/private_file?: Not a directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'private_file' --> 'not_exists' 853s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/not_exists/private_file?: No such file or directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'private_file' --> 'dir_no-access' 853s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'private_file' --> 'dir_no-write' 853s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'normal_file2' --> 'dir-target' 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'normal_file2' --> 'dir-target' 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'normal_file2' --> '.' 853s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/normal_file2?: File exists 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'normal_file2' --> 'target-file' 853s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/target-file/normal_file2?: Not a directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'normal_file2' --> 'not_exists' 853s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'normal_file2' --> 'dir_no-access' 853s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'normal_file2' --> 'dir_no-write' 853s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 853s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 853s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 853s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 853s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 853s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'pattern_file' --> 'dir-target' 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'pattern_file' --> '.' 853s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/pattern_file?: File exists 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'pattern_file' --> 'target-file' 853s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/target-file/pattern_file?: Not a directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'pattern_file' --> 'not_exists' 853s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'pattern_file' --> 'dir_no-access' 853s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'pattern_file' --> 'dir_no-write' 853s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'not_exists' --> 'dir-target' 853s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/not_exists?: No such file or directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'not_exists' --> '.' 853s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/not_exists?: No such file or directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'not_exists' --> 'target-file' 853s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/not_exists?: No such file or directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'not_exists' --> 'not_exists' 853s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/not_exists?: No such file or directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'not_exists' --> 'dir_no-access' 853s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/not_exists?: No such file or directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'not_exists' --> 'dir_no-write' 853s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/not_exists?: No such file or directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'not_exists' --> 'dir-target' 853s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/not_exists: No such file or directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'lost_symlink' --> 'dir-target' 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'lost_symlink' --> '.' 853s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/lost_symlink: File exists 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'lost_symlink' --> 'target-file' 853s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/target-file/lost_symlink: Not a directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'lost_symlink' --> 'not_exists' 853s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 853s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 853s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 853s ok 8 /live-g-file/test_copy_move 853s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir1 853s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir1: Directory not empty 853s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir2 853s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir2: No such file or directory 853s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/executable_file 853s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/readonly_file 853s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_pr?i?lis? z 853s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/not_exists 853s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/not_exists: No such file or directory 853s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/not_exists 853s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/not_exists: No such file or directory 853s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_no-execute/file 853s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/dir_no-execute/file: No such file or directory 853s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-QXYKK2/testdir_live-g-file/lost_symlink 853s ok 9 /live-g-file/test_delete 853s # We do not have CAP_DAC_OVERRIDE or equivalent 853s ok 10 /live-g-file/test_make_directory_with_parents 853s # Cleaning target testing structure in 'testdir_live-g-file'... 853s # deleting 'dir1' 853s # deleting 'subdir' 853s # deleting 'dir-target' 853s # deleting 'dir2' 853s # deleting 'target-file' 853s # deleting 'normal_file-symlink' 853s # deleting 'pattern_file' 853s # deleting 'executable_file' 853s # deleting 'private_file' 853s # deleting 'normal_file2' 853s # deleting 'UTF_pr?i?lis? z' 853s # deleting 'lost_symlink' 853s # deleting 'dir_no-access' 853s # deleting 'dir_no-write' 853s # deleting 'target-file' 853s # deleting 'normal_file' 853s # deleting 'normal_file-symlink' 853s # deleting 'executable_file~' 853s # deleting 'private_file' 853s # deleting 'normal_file2~' 853s # deleting 'a' 853s # deleting 'UTF_pr?i?lis? z' 853s # deleting 'dir_hidden' 853s # deleting '.a-hidden-file' 853s # deleting 'file-in-.hidden1' 853s # deleting '.hidden' 853s # deleting 'file-in-.hidden2' 853s # deleting 'pattern_file' 853s # deleting 'normal_file2' 853s # deleting 'not_exists2' 853s # deleting 'not_exists3' 853s # deleting 'not_exists4' 853s ok 11 /live-g-file/final_clean 853s # Start of test_unix_is_mountpoint tests 853s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 853s ok 13 /live-g-file/test_unix_is_mountpoint/proc 853s # End of test_unix_is_mountpoint tests 853s # End of live-g-file tests 853s ok - glib/live-g-file.test 853s # Running test: glib/registered-type-info.test 853s TAP version 13 853s # random seed: R02S06e66e31fc92ebaf75a56f1cdd8ac272 853s 1..1 853s # Start of registered-type-info tests 853s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_UMJOK2/registered-type-info/boxed/.dirs/home 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_UMJOK2/registered-type-info/boxed/.dirs/cache 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_UMJOK2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_UMJOK2/registered-type-info/boxed/.dirs/system-config2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_UMJOK2/registered-type-info/boxed/.dirs/config 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_UMJOK2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_UMJOK2/registered-type-info/boxed/.dirs/system-data2 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_UMJOK2/registered-type-info/boxed/.dirs/data 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_UMJOK2/registered-type-info/boxed/.dirs/state 853s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_UMJOK2/registered-type-info/boxed/.dirs/runtime 853s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 853s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 853s # Expecting CClosure to not be boxed 853s # Expecting TypeCValue to not be boxed 853s # Expecting InitiallyUnownedClass to not be boxed 853s # Expecting BookmarkFile to be boxed 853s # Expecting Closure to be boxed 853s # Expecting Object to not be boxed 853s ok 1 /registered-type-info/boxed 853s # End of registered-type-info tests 853s ok - glib/registered-type-info.test 853s # Running test: glib/cxx-11.test 853s TAP version 13 853s # random seed: R02S8d972ea80e8950821fc07cda064a8891 853s 1..2 853s # Start of gtask tests 853s # 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. 853s ok 1 /gtask/name 853s # Start of name tests 853s # 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. 853s ok 2 /gtask/name/macro-wrapper 853s # End of name tests 853s # End of gtask tests 853s ok - glib/cxx-11.test 853s # Running test: glib/memory-input-stream.test 853s TAP version 13 853s # random seed: R02S1a68e502f0a63240ec39e14dfdc565bb 853s 1..6 853s # Start of memory-input-stream tests 853s ok 1 /memory-input-stream/read-chunks 853s ok 2 /memory-input-stream/async 853s ok 3 /memory-input-stream/seek 853s ok 4 /memory-input-stream/truncate 853s ok 5 /memory-input-stream/read-bytes 853s ok 6 /memory-input-stream/from-bytes 853s # End of memory-input-stream tests 853s ok - glib/memory-input-stream.test 853s # Running test: glib/unicode.test 853s TAP version 13 853s # random seed: R02S7700d2a112a32a9206b822ded56d94c6 853s 1..39 853s # Start of unicode tests 853s ok 1 /unicode/alnum 853s ok 2 /unicode/alpha 853s ok 3 /unicode/break-type 853s ok 4 /unicode/canonical-decomposition 853s ok 5 /unicode/casefold 853s # Cannot set locale to lt_LT, skipping 853s # Cannot set locale to lt_LT, skipping 853s # Cannot set locale to lt_LT, skipping 853s # Cannot set locale to lt_LT, skipping 853s # Cannot set locale to lt_LT, skipping 853s # Cannot set locale to lt_LT, skipping 853s # Cannot set locale to lt_LT, skipping 853s # Cannot set locale to lt_LT, skipping 853s # Cannot set locale to lt_LT, skipping 853s # Cannot set locale to lt_LT, skipping 853s # Cannot set locale to lt_LT, skipping 853s ok 6 /unicode/casemap_and_casefold 853s ok 7 /unicode/cases 853s ok 8 /unicode/character-type 853s ok 9 /unicode/cntrl 853s ok 10 /unicode/combining-class 853s ok 11 /unicode/compose 853s ok 12 /unicode/decompose 853s ok 13 /unicode/decompose-tail 853s ok 14 /unicode/defined 853s ok 15 /unicode/digit 853s ok 16 /unicode/digit-value 853s ok 17 /unicode/fully-decompose-canonical 853s ok 18 /unicode/fully-decompose-len 853s ok 19 /unicode/normalization 853s ok 20 /unicode/graph 853s # Testing script Zyyy (code 1517910393) 853s # Testing script Zinh (code 1516858984) 853s # Testing script Zmth (code 1517122664) 853s # Testing script Arab (code 1098015074) 853s # Testing script Armn (code 1098018158) 853s # Testing script Beng (code 1113943655) 853s # Testing script Bopo (code 1114599535) 853s # Testing script Cher (code 1130915186) 853s # Testing script Copt (code 1131376756) 853s # Testing script Cyrl (code 1132032620) 853s # Testing script Dsrt (code 1148416628) 853s # Testing script Deva (code 1147500129) 853s # Testing script Ethi (code 1165256809) 853s # Testing script Geor (code 1197830002) 853s # Testing script Goth (code 1198486632) 853s # Testing script Grek (code 1198679403) 853s # Testing script Gujr (code 1198877298) 853s # Testing script Guru (code 1198879349) 853s # Testing script Hani (code 1214344809) 853s # Testing script Hang (code 1214344807) 853s # Testing script Hebr (code 1214603890) 853s # Testing script Hira (code 1214870113) 853s # Testing script Knda (code 1265525857) 853s # Testing script Kana (code 1264676449) 853s # Testing script Khmr (code 1265134962) 853s # Testing script Laoo (code 1281453935) 853s # Testing script Latn (code 1281455214) 853s # Testing script Mlym (code 1298954605) 853s # Testing script Mong (code 1299148391) 853s # Testing script Mymr (code 1299803506) 853s # Testing script Ogam (code 1332175213) 853s # Testing script Ital (code 1232363884) 853s # Testing script Orya (code 1332902241) 853s # Testing script Runr (code 1383427698) 853s # Testing script Sinh (code 1399418472) 853s # Testing script Syrc (code 1400468067) 853s # Testing script Taml (code 1415671148) 853s # Testing script Telu (code 1415933045) 853s # Testing script Thaa (code 1416126817) 853s # Testing script Thai (code 1416126825) 853s # Testing script Tibt (code 1416192628) 853s # Testing script Cans (code 1130458739) 853s # Testing script Yiii (code 1500080489) 853s # Testing script Tglg (code 1416064103) 853s # Testing script Hano (code 1214344815) 853s # Testing script Buhd (code 1114990692) 853s # Testing script Tagb (code 1415669602) 853s # Testing script Brai (code 1114792297) 853s # Testing script Cprt (code 1131442804) 853s # Testing script Limb (code 1281977698) 853s # Testing script Osma (code 1332964705) 853s # Testing script Shaw (code 1399349623) 853s # Testing script Linb (code 1281977954) 853s # Testing script Tale (code 1415670885) 853s # Testing script Ugar (code 1432838514) 853s # Testing script Talu (code 1415670901) 853s # Testing script Bugi (code 1114990441) 853s # Testing script Glag (code 1198285159) 853s # Testing script Tfng (code 1415999079) 853s # Testing script Sylo (code 1400466543) 853s # Testing script Xpeo (code 1483761007) 853s # Testing script Khar (code 1265131890) 853s # Testing script Zzzz (code 1517976186) 853s # Testing script Bali (code 1113681001) 853s # Testing script Xsux (code 1483961720) 853s # Testing script Phnx (code 1349021304) 853s # Testing script Phag (code 1349017959) 853s # Testing script Nkoo (code 1315663727) 853s # Testing script Kali (code 1264675945) 853s # Testing script Lepc (code 1281716323) 853s # Testing script Rjng (code 1382706791) 853s # Testing script Sund (code 1400204900) 853s # Testing script Saur (code 1398895986) 853s # Testing script Cham (code 1130914157) 853s # Testing script Olck (code 1332503403) 853s # Testing script Vaii (code 1449224553) 853s # Testing script Cari (code 1130459753) 853s # Testing script Lyci (code 1283023721) 853s # Testing script Lydi (code 1283023977) 853s # Testing script Avst (code 1098281844) 853s # Testing script Bamu (code 1113681269) 853s # Testing script Egyp (code 1164409200) 853s # Testing script Armi (code 1098018153) 853s # Testing script Phli (code 1349020777) 853s # Testing script Prti (code 1349678185) 853s # Testing script Java (code 1247901281) 853s # Testing script Kthi (code 1265920105) 853s # Testing script Lisu (code 1281979253) 853s # Testing script Mtei (code 1299473769) 853s # Testing script Sarb (code 1398895202) 853s # Testing script Orkh (code 1332898664) 853s # Testing script Samr (code 1398893938) 853s # Testing script Lana (code 1281453665) 853s # Testing script Tavt (code 1415673460) 853s # Testing script Batk (code 1113683051) 853s # Testing script Brah (code 1114792296) 853s # Testing script Mand (code 1298230884) 853s # Testing script Cakm (code 1130457965) 853s # Testing script Merc (code 1298494051) 853s # Testing script Mero (code 1298494063) 853s # Testing script Plrd (code 1349284452) 853s # Testing script Shrd (code 1399353956) 853s # Testing script Sora (code 1399812705) 853s # Testing script Takr (code 1415670642) 853s # Testing script Bass (code 1113682803) 853s # Testing script Aghb (code 1097295970) 853s # Testing script Dupl (code 1148547180) 853s # Testing script Elba (code 1164730977) 853s # Testing script Gran (code 1198678382) 853s # Testing script Khoj (code 1265135466) 853s # Testing script Sind (code 1399418468) 853s # Testing script Lina (code 1281977953) 853s # Testing script Mahj (code 1298229354) 853s # Testing script Mani (code 1298230889) 853s # Testing script Mend (code 1298493028) 853s # Testing script Modi (code 1299145833) 853s # Testing script Mroo (code 1299345263) 853s # Testing script Nbat (code 1315070324) 853s # Testing script Narb (code 1315009122) 853s # Testing script Perm (code 1348825709) 853s # Testing script Hmng (code 1215131239) 853s # Testing script Palm (code 1348562029) 853s # Testing script Pauc (code 1348564323) 853s # Testing script Phlp (code 1349020784) 853s # Testing script Sidd (code 1399415908) 853s # Testing script Tirh (code 1416196712) 853s # Testing script Wara (code 1466004065) 853s # Testing script Ahom (code 1097363309) 853s # Testing script Hluw (code 1215067511) 853s # Testing script Hatr (code 1214346354) 853s # Testing script Mult (code 1299541108) 853s # Testing script Hung (code 1215655527) 853s # Testing script Sgnw (code 1399287415) 853s # Testing script Adlm (code 1097100397) 853s # Testing script Bhks (code 1114139507) 853s # Testing script Marc (code 1298231907) 853s # Testing script Newa (code 1315272545) 853s # Testing script Osge (code 1332963173) 853s # Testing script Tang (code 1415671399) 853s # Testing script Gonm (code 1198485101) 853s # Testing script Nshu (code 1316186229) 853s # Testing script Soyo (code 1399814511) 853s # Testing script Zanb (code 1516334690) 853s # Testing script Dogr (code 1148151666) 853s # Testing script Gong (code 1198485095) 853s # Testing script Rohg (code 1383032935) 853s # Testing script Maka (code 1298230113) 853s # Testing script Medf (code 1298490470) 853s # Testing script Sogo (code 1399809903) 853s # Testing script Sogd (code 1399809892) 853s # Testing script Elym (code 1164736877) 853s # Testing script Nand (code 1315008100) 853s # Testing script Hmnp (code 1215131248) 853s # Testing script Wcho (code 1466132591) 853s # Testing script Chrs (code 1130918515) 853s # Testing script Diak (code 1147756907) 853s # Testing script Kits (code 1265202291) 853s # Testing script Yezi (code 1499822697) 853s # Testing script Cpmn (code 1131441518) 853s # Testing script Ougr (code 1333094258) 853s # Testing script Tnsa (code 1416524641) 853s # Testing script Toto (code 1416590447) 853s # Testing script Vith (code 1449751656) 853s # Testing script Kawi (code 1264678761) 853s # Testing script Nagm (code 1315006317) 853s ok 21 /unicode/iso15924 853s ok 22 /unicode/lower 853s ok 23 /unicode/mark 853s ok 24 /unicode/mirror 853s ok 25 /unicode/print 853s ok 26 /unicode/punctuation 853s ok 27 /unicode/script 853s ok 28 /unicode/space 853s ok 29 /unicode/strdown 853s ok 30 /unicode/strup 853s ok 31 /unicode/turkish-strupdown 853s ok 32 /unicode/title 853s ok 33 /unicode/upper 853s ok 34 /unicode/validate 853s ok 35 /unicode/wide 853s ok 36 /unicode/xdigit 853s ok 37 /unicode/xdigit-value 853s ok 38 /unicode/zero-width 853s ok 39 /unicode/normalize 853s # End of unicode tests 853s ok - glib/unicode.test 853s # Running test: glib/basics-gobject.test 853s TAP version 13 853s # random seed: R02Sa0700d820a4a82028805b77e15438a4e 853s 1..1 853s # Start of gobject tests 853s # private data during initialization: 54321 == 54321 853s # MAIN: emit test-signal: 853s # ::test_signal default_handler called 853s # ::test_signal default_handler called 853s # ::test_signal default_handler called 853s # signal return: "" 853s # MAIN: call iface print-string on test and derived object: 853s # Iface-FOO: "iface-string-from-test-type" from 0x1fda31c7f7a0 853s # Iface-BAR: "iface-string-from-derived-type" from 0x1fda31c7f6c0 853s # chaining: 853s # Iface-FOO: "iface-string-from-derived-type" from 0x1fda31c7f6c0 853s # private data after initialization: 54321 == 54321 853s ok 1 /gobject/basics 853s # End of gobject tests 853s ok - glib/basics-gobject.test 853s # Running test: glib/spawn-test.test 853s TAP version 13 853s # random seed: R02S47247841888448fe6b7e2ba4ea08128d 853s 1..2 853s # Start of spawn tests 853s ok 1 /spawn/basics 853s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 853s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 853s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 853s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 853s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 853s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 853s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 853s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 853s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 853s # Fetching GSpawn result output with stdin open, stdout open, stderr open 853s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 853s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 853s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 853s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 853s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 853s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 853s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 853s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 853s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 853s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 853s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 853s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 853s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 853s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 853s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 853s # Fetching GSpawn result with stdin open, stdout open, stderr open 853s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 853s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 853s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 853s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 853s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 853s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 853s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 853s ok 2 /spawn/stdio-overwrite 853s # End of spawn tests 853s ok - glib/spawn-test.test 853s # Running test: glib/stream-rw_all.test 853s TAP version 13 853s # random seed: R02Sc65f667928931326446e0b84d8f8633f 853s 1..3 853s # Start of stream tests 853s # Start of read_all_async tests 853s ok 1 /stream/read_all_async/memory 853s # End of read_all_async tests 853s # Start of write_all_async tests 853s ok 2 /stream/write_all_async/memory 853s # End of write_all_async tests 853s # Start of read_write_all_async tests 853s ok 3 /stream/read_write_all_async/pipe 853s # End of read_write_all_async tests 853s # End of stream tests 853s ok - glib/stream-rw_all.test 853s # Running test: glib/properties.test 853s TAP version 13 853s # random seed: R02S76491daf496401d3bf8fb5a50b39d308 853s 1..13 853s # Start of properties tests 853s ok 1 /properties/install 853s ok 2 /properties/install-many 853s ok 3 /properties/notify 853s ok 4 /properties/notify-queue 853s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 853s ok 5 /properties/construct 853s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 853s # Test g_object_get_property with an initialized value 853s # Test g_object_get_property with an uninitialized value 853s # Test g_object_get_property with a transformable value 853s ok 6 /properties/get-property 853s ok 7 /properties/testv_with_no_properties 853s ok 8 /properties/testv_with_valid_properties 853s ok 9 /properties/testv_with_invalid_property_type 853s ok 10 /properties/testv_with_invalid_property_names 853s ok 11 /properties/testv_getv 853s ok 12 /properties/testv_notify_queue 853s # Start of set-property tests 853s # Start of variant tests 853s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 853s ok 13 /properties/set-property/variant/floating 853s # End of variant tests 853s # End of set-property tests 853s # End of properties tests 853s ok - glib/properties.test 853s # Running test: glib/date.test 853s TAP version 13 853s # random seed: R02S9407a8b525e9bad0221ed6acfb342a01 853s 1..121 853s # Start of date tests 853s ok 1 /date/basic 853s ok 2 /date/empty 853s ok 3 /date/dmy 853s ok 4 /date/julian 853s ok 5 /date/compare 853s ok 6 /date/dates 853s ok 7 /date/strftime 853s ok 8 /date/two-digit-years 853s ok 9 /date/parse 853s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 853s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 853s ok 11 /date/month_substring 853s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 853s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 853s ok 13 /date/clamp 853s ok 14 /date/order 853s ok 15 /date/copy 853s # Vector 0: 0000-00-00, invalid 853s # Vector 1: 0001-01-01, valid 853s # Vector 2: 0000-01-01, invalid 853s # Vector 3: 2000-02-30, invalid 853s # Vector 4: 2000-02-29, valid 853s # Vector 5: 2001-02-29, invalid 853s # Vector 6: 65535-01-01, valid 853s ok 16 /date/valid-dmy 853s # Start of parse tests 853s # Test 0 853s # Test 1 853s ok 17 /date/parse/invalid 853s # End of parse tests 853s # Start of year tests 853s ok 18 /date/year/1 853s ok 19 /date/year/2 853s ok 20 /date/year/3 853s ok 21 /date/year/4 853s ok 22 /date/year/5 853s ok 23 /date/year/6 853s ok 24 /date/year/7 853s ok 25 /date/year/8 853s ok 26 /date/year/9 853s ok 27 /date/year/10 853s ok 28 /date/year/11 853s ok 29 /date/year/12 853s ok 30 /date/year/13 853s ok 31 /date/year/14 853s ok 32 /date/year/98 853s ok 33 /date/year/99 853s ok 34 /date/year/100 853s ok 35 /date/year/101 853s ok 36 /date/year/102 853s ok 37 /date/year/103 853s ok 38 /date/year/397 853s ok 39 /date/year/398 853s ok 40 /date/year/399 853s ok 41 /date/year/400 853s ok 42 /date/year/401 853s ok 43 /date/year/402 853s ok 44 /date/year/403 853s ok 45 /date/year/404 853s ok 46 /date/year/405 853s ok 47 /date/year/406 853s ok 48 /date/year/1598 853s ok 49 /date/year/1599 853s ok 50 /date/year/1600 853s ok 51 /date/year/1601 853s ok 52 /date/year/1602 853s ok 53 /date/year/1650 853s ok 54 /date/year/1651 853s ok 55 /date/year/1897 853s ok 56 /date/year/1898 853s ok 57 /date/year/1899 853s ok 58 /date/year/1900 853s ok 59 /date/year/1901 853s ok 60 /date/year/1902 853s ok 61 /date/year/1903 853s ok 62 /date/year/1961 853s ok 63 /date/year/1962 853s ok 64 /date/year/1963 853s ok 65 /date/year/1964 853s ok 66 /date/year/1965 853s ok 67 /date/year/1967 853s ok 68 /date/year/1968 853s ok 69 /date/year/1969 853s ok 70 /date/year/1970 853s ok 71 /date/year/1971 853s ok 72 /date/year/1972 853s ok 73 /date/year/1973 853s ok 74 /date/year/1974 853s ok 75 /date/year/1975 853s ok 76 /date/year/1976 853s ok 77 /date/year/1977 853s ok 78 /date/year/1978 853s ok 79 /date/year/1979 853s ok 80 /date/year/1980 853s ok 81 /date/year/1981 853s ok 82 /date/year/1982 853s ok 83 /date/year/1983 853s ok 84 /date/year/1984 853s ok 85 /date/year/1985 853s ok 86 /date/year/1986 853s ok 87 /date/year/1987 853s ok 88 /date/year/1988 853s ok 89 /date/year/1989 853s ok 90 /date/year/1990 853s ok 91 /date/year/1991 853s ok 92 /date/year/1992 853s ok 93 /date/year/1993 853s ok 94 /date/year/1994 853s ok 95 /date/year/1995 853s ok 96 /date/year/1996 853s ok 97 /date/year/1997 853s ok 98 /date/year/1998 853s ok 99 /date/year/1999 853s ok 100 /date/year/2000 853s ok 101 /date/year/2001 853s ok 102 /date/year/2002 853s ok 103 /date/year/2003 853s ok 104 /date/year/2004 853s ok 105 /date/year/2005 853s ok 106 /date/year/2006 853s ok 107 /date/year/2007 853s ok 108 /date/year/2008 853s ok 109 /date/year/2009 853s ok 110 /date/year/2010 853s ok 111 /date/year/2011 853s ok 112 /date/year/2012 853s ok 113 /date/year/3000 853s ok 114 /date/year/3001 853s ok 115 /date/year/3002 853s ok 116 /date/year/3998 853s ok 117 /date/year/3999 853s ok 118 /date/year/4000 853s ok 119 /date/year/4001 853s ok 120 /date/year/4002 853s ok 121 /date/year/4003 853s # End of year tests 853s # End of date tests 853s ok - glib/date.test 853s # Running test: glib/autoptr-gio.test 853s TAP version 13 853s # random seed: R02S6a63757f673b7297734d111d829388f1 853s 1..1 853s # Start of autoptr tests 853s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 853s ok 1 /autoptr/autoptr 853s # End of autoptr tests 853s ok - glib/autoptr-gio.test 853s # Running test: glib/network-monitor-race.test 853s TAP version 13 853s # random seed: R02Sd016aea49b19700568f4bd0ce3e549e8 853s 1..1 853s # Start of network-monitor tests 853s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 854s # Executing: glib/network-monitor-race.test 855s ok 1 /network-monitor/create-in-thread 855s # slow test /network-monitor/create-in-thread executed in 2.16 secs 855s # End of network-monitor tests 855s ok - glib/network-monitor-race.test 855s # Running test: glib/messages-low-memory.py.test 855s TAP version 13 855s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 855s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 855s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 855s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 855s # Return code: -6 855s # Output: 855s # Error: GLib-Message: 06:06:33.717: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 855s # GLib-Message: 06:06:33.717: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 855s # ../../../glib/gprintf.c:350: failed to allocate memory 855s 1..1 855s ok - glib/messages-low-memory.py.test 855s # Running test: glib/portal-support-flatpak-network-only.test 855s TAP version 13 855s # random seed: R02S2f790d3b561f7bac9fcb484ccb328b90 855s 1..1 855s # Start of portal-support tests 855s # Start of flatpak tests 855s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_S1AKK2/portal-support/flatpak/network/.dirs/home 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_S1AKK2/portal-support/flatpak/network/.dirs/cache 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_S1AKK2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_S1AKK2/portal-support/flatpak/network/.dirs/system-config2 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_S1AKK2/portal-support/flatpak/network/.dirs/config 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_S1AKK2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_S1AKK2/portal-support/flatpak/network/.dirs/system-data2 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_S1AKK2/portal-support/flatpak/network/.dirs/data 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_S1AKK2/portal-support/flatpak/network/.dirs/state 855s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_S1AKK2/portal-support/flatpak/network/.dirs/runtime 855s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_S1AKK2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 855s ok 1 /portal-support/flatpak/network 855s # End of flatpak tests 855s # End of portal-support tests 855s ok - glib/portal-support-flatpak-network-only.test 855s # Running test: glib/io-channel-basic.test 855s TAP version 13 855s # random seed: R02Sd984bbc076327f125c21045025f04b66 855s 1..1 855s # Start of gio tests 855s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 855s # # random seed: R02S29b6f5f67df9be097d348db25d7fcd54 856s # # GLib-DEBUG: io-channel-basic: child writing 8+3255 bytes to 6 856s # GLib-DEBUG: io-channel-basic: ...from 5: IN 856s # GLib-DEBUG: io-channel-basic: ...from 5: 3255 bytes 856s # GLib-DEBUG: io-channel-basic: ...from 5: OK 856s # # GLib-DEBUG: io-channel-basic: child writing 8+872 bytes to 6 856s # GLib-DEBUG: io-channel-basic: ...from 5: IN 856s # GLib-DEBUG: io-channel-basic: ...from 5: 872 bytes 856s # GLib-DEBUG: io-channel-basic: ...from 5: OK 856s # # GLib-DEBUG: io-channel-basic: child writing 8+4922 bytes to 6 856s # GLib-DEBUG: io-channel-basic: ...from 5: IN 856s # GLib-DEBUG: io-channel-basic: ...from 5: 4922 bytes 856s # GLib-DEBUG: io-channel-basic: ...from 5: OK 856s # # GLib-DEBUG: io-channel-basic: child writing 8+929 bytes to 6 856s # GLib-DEBUG: io-channel-basic: ...from 5: IN 856s # GLib-DEBUG: io-channel-basic: ...from 5: 929 bytes 856s # GLib-DEBUG: io-channel-basic: ...from 5: OK 857s # # GLib-DEBUG: io-channel-basic: child writing 8+3606 bytes to 6 857s # GLib-DEBUG: io-channel-basic: ...from 5: IN 857s # GLib-DEBUG: io-channel-basic: ...from 5: 3606 bytes 857s # GLib-DEBUG: io-channel-basic: ...from 5: OK 857s # # GLib-DEBUG: io-channel-basic: child writing 8+3893 bytes to 6 857s # GLib-DEBUG: io-channel-basic: ...from 5: IN 857s # GLib-DEBUG: io-channel-basic: ...from 5: 3893 bytes 857s # GLib-DEBUG: io-channel-basic: ...from 5: OK 857s # # GLib-DEBUG: io-channel-basic: child writing 8+2545 bytes to 6 857s # GLib-DEBUG: io-channel-basic: ...from 5: IN 857s # GLib-DEBUG: io-channel-basic: ...from 5: 2545 bytes 857s # GLib-DEBUG: io-channel-basic: ...from 5: OK 857s # # GLib-DEBUG: io-channel-basic: child writing 8+4314 bytes to 6 857s # GLib-DEBUG: io-channel-basic: ...from 5: IN 857s # GLib-DEBUG: io-channel-basic: ...from 5: 4314 bytes 857s # GLib-DEBUG: io-channel-basic: ...from 5: OK 858s # # GLib-DEBUG: io-channel-basic: child writing 8+4371 bytes to 6 858s # GLib-DEBUG: io-channel-basic: ...from 5: IN 858s # GLib-DEBUG: io-channel-basic: ...from 5: 4371 bytes 858s # GLib-DEBUG: io-channel-basic: ...from 5: OK 858s # # GLib-DEBUG: io-channel-basic: child writing 8+543 bytes to 6 858s # GLib-DEBUG: io-channel-basic: ...from 5: IN 858s # GLib-DEBUG: io-channel-basic: ...from 5: 543 bytes 858s # GLib-DEBUG: io-channel-basic: ...from 5: OK 858s # # GLib-DEBUG: io-channel-basic: child writing 8+516 bytes to 6 858s # GLib-DEBUG: io-channel-basic: ...from 5: IN 858s # GLib-DEBUG: io-channel-basic: ...from 5: 516 bytes 858s # GLib-DEBUG: io-channel-basic: ...from 5: OK 858s # # GLib-DEBUG: io-channel-basic: child writing 8+4832 bytes to 6 858s # GLib-DEBUG: io-channel-basic: ...from 5: IN 858s # GLib-DEBUG: io-channel-basic: ...from 5: 4832 bytes 858s # GLib-DEBUG: io-channel-basic: ...from 5: OK 859s # # GLib-DEBUG: io-channel-basic: child writing 8+279 bytes to 6 859s # GLib-DEBUG: io-channel-basic: ...from 5: IN 859s # GLib-DEBUG: io-channel-basic: ...from 5: 279 bytes 859s # GLib-DEBUG: io-channel-basic: ...from 5: OK 859s # # GLib-DEBUG: io-channel-basic: child writing 8+2474 bytes to 6 859s # GLib-DEBUG: io-channel-basic: ...from 5: IN 859s # GLib-DEBUG: io-channel-basic: ...from 5: 2474 bytes 859s # GLib-DEBUG: io-channel-basic: ...from 5: OK 859s # # GLib-DEBUG: io-channel-basic: child writing 8+4508 bytes to 6 859s # GLib-DEBUG: io-channel-basic: ...from 5: IN 859s # GLib-DEBUG: io-channel-basic: ...from 5: 4508 bytes 859s # GLib-DEBUG: io-channel-basic: ...from 5: OK 859s # Executing: glib/io-channel-basic.test 859s # # GLib-DEBUG: io-channel-basic: child writing 8+279 bytes to 6 859s # GLib-DEBUG: io-channel-basic: ...from 5: IN 859s # GLib-DEBUG: io-channel-basic: ...from 5: 279 bytes 859s # GLib-DEBUG: io-channel-basic: ...from 5: OK 860s # # GLib-DEBUG: io-channel-basic: child writing 8+1774 bytes to 6 860s # GLib-DEBUG: io-channel-basic: ...from 5: IN 860s # GLib-DEBUG: io-channel-basic: ...from 5: 1774 bytes 860s # GLib-DEBUG: io-channel-basic: ...from 5: OK 860s # # GLib-DEBUG: io-channel-basic: child writing 8+3127 bytes to 6 860s # GLib-DEBUG: io-channel-basic: ...from 5: IN 860s # GLib-DEBUG: io-channel-basic: ...from 5: 3127 bytes 860s # GLib-DEBUG: io-channel-basic: ...from 5: OK 860s # # GLib-DEBUG: io-channel-basic: child writing 8+3865 bytes to 6 860s # GLib-DEBUG: io-channel-basic: ...from 5: IN 860s # GLib-DEBUG: io-channel-basic: ...from 5: 3865 bytes 860s # GLib-DEBUG: io-channel-basic: ...from 5: OK 860s # # GLib-DEBUG: io-channel-basic: child writing 8+4151 bytes to 6 860s # GLib-DEBUG: io-channel-basic: ...from 5: IN 860s # GLib-DEBUG: io-channel-basic: ...from 5: 4151 bytes 860s # GLib-DEBUG: io-channel-basic: ...from 5: OK 861s # # GLib-DEBUG: io-channel-basic: child writing 8+2773 bytes to 6 861s # # GLib-DEBUG: io-channel-basic: child exiting, closing 6 861s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 861s # GLib-DEBUG: io-channel-basic: ...from 5: 2773 bytes 861s # GLib-DEBUG: io-channel-basic: ...from 5: OK 861s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 861s # # random seed: R02S7ef5128e4c3aee1fcbc28d6ede97c7fb 861s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 861s # # random seed: R02Sbe0b5bb53231b3d3a2d6fc6894963f58 861s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 861s # # random seed: R02S207741974edf1045e661f905cab562a4 861s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 861s # # random seed: R02Sede578d41072dfa8abd5b36e582d8209 861s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 861s # # random seed: R02S60581066ad1a7c915fc8f21e1cfc37eb 861s # # GLib-DEBUG: io-channel-basic: child writing 8+538 bytes to 15 861s # GLib-DEBUG: io-channel-basic: ...from 14: IN 861s # GLib-DEBUG: io-channel-basic: ...from 14: 538 bytes 861s # GLib-DEBUG: io-channel-basic: ...from 14: OK 861s # # GLib-DEBUG: io-channel-basic: child writing 8+4655 bytes to 13 861s # # GLib-DEBUG: io-channel-basic: child writing 8+3196 bytes to 17 861s # GLib-DEBUG: io-channel-basic: ...from 16: IN 861s # GLib-DEBUG: io-channel-basic: ...from 16: 3196 bytes 861s # GLib-DEBUG: io-channel-basic: ...from 16: OK 861s # GLib-DEBUG: io-channel-basic: ...from 12: IN 861s # GLib-DEBUG: io-channel-basic: ...from 12: 4655 bytes 861s # GLib-DEBUG: io-channel-basic: ...from 12: OK 861s # # GLib-DEBUG: io-channel-basic: child writing 8+3784 bytes to 11 861s # GLib-DEBUG: io-channel-basic: ...from 10: IN 861s # GLib-DEBUG: io-channel-basic: ...from 10: 3784 bytes 861s # GLib-DEBUG: io-channel-basic: ...from 10: OK 861s # # GLib-DEBUG: io-channel-basic: child writing 8+4862 bytes to 9 861s # GLib-DEBUG: io-channel-basic: ...from 8: IN 861s # GLib-DEBUG: io-channel-basic: ...from 8: 4862 bytes 861s # GLib-DEBUG: io-channel-basic: ...from 8: OK 861s # # GLib-DEBUG: io-channel-basic: child writing 8+2508 bytes to 15 861s # GLib-DEBUG: io-channel-basic: ...from 14: IN 861s # GLib-DEBUG: io-channel-basic: ...from 14: 2508 bytes 861s # GLib-DEBUG: io-channel-basic: ...from 14: OK 861s # # GLib-DEBUG: io-channel-basic: child writing 8+3689 bytes to 13 861s # GLib-DEBUG: io-channel-basic: ...from 12: IN 861s # GLib-DEBUG: io-channel-basic: ...from 12: 3689 bytes 861s # # GLib-DEBUG: io-channel-basic: child writing 8+2278 bytes to 11 861s # GLib-DEBUG: io-channel-basic: ...from 12: OK 861s # GLib-DEBUG: io-channel-basic: ...from 10: IN 861s # GLib-DEBUG: io-channel-basic: ...from 10: 2278 bytes 861s # GLib-DEBUG: io-channel-basic: ...from 10: OK 861s # # GLib-DEBUG: io-channel-basic: child writing 8+1255 bytes to 17 861s # GLib-DEBUG: io-channel-basic: ...from 16: IN 861s # GLib-DEBUG: io-channel-basic: ...from 16: 1255 bytes 861s # GLib-DEBUG: io-channel-basic: ...from 16: OK 861s # # GLib-DEBUG: io-channel-basic: child writing 8+4286 bytes to 9 861s # GLib-DEBUG: io-channel-basic: ...from 8: IN 861s # GLib-DEBUG: io-channel-basic: ...from 8: 4286 bytes 861s # GLib-DEBUG: io-channel-basic: ...from 8: OK 862s # # GLib-DEBUG: io-channel-basic: child writing 8+2670 bytes to 15 862s # GLib-DEBUG: io-channel-basic: ...from 14: IN 862s # GLib-DEBUG: io-channel-basic: ...from 14: 2670 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 14: OK 862s # # GLib-DEBUG: io-channel-basic: child writing 8+3431 bytes to 13 862s # GLib-DEBUG: io-channel-basic: ...from 12: IN 862s # GLib-DEBUG: io-channel-basic: ...from 12: 3431 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 12: OK 862s # # GLib-DEBUG: io-channel-basic: child writing 8+3634 bytes to 17 862s # GLib-DEBUG: io-channel-basic: ...from 16: IN 862s # GLib-DEBUG: io-channel-basic: ...from 16: 3634 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 16: OK 862s # # GLib-DEBUG: io-channel-basic: child writing 8+1204 bytes to 11 862s # GLib-DEBUG: io-channel-basic: ...from 10: IN 862s # GLib-DEBUG: io-channel-basic: ...from 10: 1204 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 10: OK 862s # # GLib-DEBUG: io-channel-basic: child writing 8+4898 bytes to 9 862s # GLib-DEBUG: io-channel-basic: ...from 8: IN 862s # GLib-DEBUG: io-channel-basic: ...from 8: 4898 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 8: OK 862s # # GLib-DEBUG: io-channel-basic: child writing 8+672 bytes to 13 862s # GLib-DEBUG: io-channel-basic: ...from 12: IN 862s # GLib-DEBUG: io-channel-basic: ...from 12: 672 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 12: OK 862s # # GLib-DEBUG: io-channel-basic: child writing 8+2721 bytes to 17 862s # GLib-DEBUG: io-channel-basic: ...from 16: IN 862s # GLib-DEBUG: io-channel-basic: ...from 16: 2721 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 16: OK 862s # # GLib-DEBUG: io-channel-basic: child writing 8+2205 bytes to 15 862s # GLib-DEBUG: io-channel-basic: ...from 14: IN 862s # GLib-DEBUG: io-channel-basic: ...from 14: 2205 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 14: OK 862s # # GLib-DEBUG: io-channel-basic: child writing 8+3527 bytes to 11 862s # GLib-DEBUG: io-channel-basic: ...from 10: IN 862s # GLib-DEBUG: io-channel-basic: ...from 10: 3527 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 10: OK 862s # # GLib-DEBUG: io-channel-basic: child writing 8+643 bytes to 9 862s # GLib-DEBUG: io-channel-basic: ...from 8: IN 862s # GLib-DEBUG: io-channel-basic: ...from 8: 643 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 8: OK 862s # # GLib-DEBUG: io-channel-basic: child writing 8+1057 bytes to 17 862s # GLib-DEBUG: io-channel-basic: ...from 16: IN 862s # GLib-DEBUG: io-channel-basic: ...from 16: 1057 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 16: OK 862s # # GLib-DEBUG: io-channel-basic: child writing 8+1620 bytes to 13 862s # GLib-DEBUG: io-channel-basic: ...from 12: IN 862s # GLib-DEBUG: io-channel-basic: ...from 12: 1620 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 12: OK 862s # # GLib-DEBUG: io-channel-basic: child writing 8+4707 bytes to 15 862s # GLib-DEBUG: io-channel-basic: ...from 14: IN 862s # GLib-DEBUG: io-channel-basic: ...from 14: 4707 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 14: OK 862s # # GLib-DEBUG: io-channel-basic: child writing 8+4710 bytes to 9 862s # GLib-DEBUG: io-channel-basic: ...from 8: IN 862s # GLib-DEBUG: io-channel-basic: ...from 8: 4710 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 8: OK 862s # # GLib-DEBUG: io-channel-basic: child writing 8+4949 bytes to 11 862s # GLib-DEBUG: io-channel-basic: ...from 10: IN 862s # GLib-DEBUG: io-channel-basic: ...from 10: 4949 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 10: OK 862s # # GLib-DEBUG: io-channel-basic: child writing 8+2613 bytes to 17 862s # GLib-DEBUG: io-channel-basic: ...from 16: IN 862s # GLib-DEBUG: io-channel-basic: ...from 16: 2613 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 16: OK 862s # # GLib-DEBUG: io-channel-basic: child writing 8+2170 bytes to 9 862s # GLib-DEBUG: io-channel-basic: ...from 8: IN 862s # GLib-DEBUG: io-channel-basic: ...from 8: 2170 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 8: OK 862s # # GLib-DEBUG: io-channel-basic: child writing 8+2373 bytes to 11 862s # # GLib-DEBUG: io-channel-basic: child writing 8+3375 bytes to 13 862s # GLib-DEBUG: io-channel-basic: ...from 10: IN 862s # GLib-DEBUG: io-channel-basic: ...from 10: 2373 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 10: OK 862s # GLib-DEBUG: io-channel-basic: ...from 12: IN 862s # GLib-DEBUG: io-channel-basic: ...from 12: 3375 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 12: OK 862s # # GLib-DEBUG: io-channel-basic: child writing 8+1903 bytes to 15 862s # GLib-DEBUG: io-channel-basic: ...from 14: IN 862s # GLib-DEBUG: io-channel-basic: ...from 14: 1903 bytes 862s # GLib-DEBUG: io-channel-basic: ...from 14: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+2933 bytes to 17 863s # GLib-DEBUG: io-channel-basic: ...from 16: IN 863s # GLib-DEBUG: io-channel-basic: ...from 16: 2933 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 16: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+4047 bytes to 9 863s # GLib-DEBUG: io-channel-basic: ...from 8: IN 863s # GLib-DEBUG: io-channel-basic: ...from 8: 4047 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 8: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+4451 bytes to 13 863s # GLib-DEBUG: io-channel-basic: ...from 12: IN 863s # GLib-DEBUG: io-channel-basic: ...from 12: 4451 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 12: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+3575 bytes to 11 863s # GLib-DEBUG: io-channel-basic: ...from 10: IN 863s # GLib-DEBUG: io-channel-basic: ...from 10: 3575 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 10: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+1281 bytes to 15 863s # GLib-DEBUG: io-channel-basic: ...from 14: IN 863s # GLib-DEBUG: io-channel-basic: ...from 14: 1281 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 14: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+4817 bytes to 17 863s # GLib-DEBUG: io-channel-basic: ...from 16: IN 863s # GLib-DEBUG: io-channel-basic: ...from 16: 4817 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 16: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+4779 bytes to 11 863s # GLib-DEBUG: io-channel-basic: ...from 10: IN 863s # GLib-DEBUG: io-channel-basic: ...from 10: 4779 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 10: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+4503 bytes to 9 863s # GLib-DEBUG: io-channel-basic: ...from 8: IN 863s # GLib-DEBUG: io-channel-basic: ...from 8: 4503 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 8: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+2843 bytes to 13 863s # GLib-DEBUG: io-channel-basic: ...from 12: IN 863s # GLib-DEBUG: io-channel-basic: ...from 12: 2843 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 12: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+802 bytes to 15 863s # GLib-DEBUG: io-channel-basic: ...from 14: IN 863s # GLib-DEBUG: io-channel-basic: ...from 14: 802 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 14: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+2602 bytes to 9 863s # GLib-DEBUG: io-channel-basic: ...from 8: IN 863s # GLib-DEBUG: io-channel-basic: ...from 8: 2602 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 8: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+1497 bytes to 17 863s # GLib-DEBUG: io-channel-basic: ...from 16: IN 863s # GLib-DEBUG: io-channel-basic: ...from 16: 1497 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 16: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+1021 bytes to 11 863s # GLib-DEBUG: io-channel-basic: ...from 10: IN 863s # GLib-DEBUG: io-channel-basic: ...from 10: 1021 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 10: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+3156 bytes to 13 863s # GLib-DEBUG: io-channel-basic: ...from 12: IN 863s # GLib-DEBUG: io-channel-basic: ...from 12: 3156 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 12: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+1255 bytes to 15 863s # GLib-DEBUG: io-channel-basic: ...from 14: IN 863s # GLib-DEBUG: io-channel-basic: ...from 14: 1255 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 14: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+3593 bytes to 9 863s # GLib-DEBUG: io-channel-basic: ...from 8: IN 863s # GLib-DEBUG: io-channel-basic: ...from 8: 3593 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 8: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+3895 bytes to 17 863s # GLib-DEBUG: io-channel-basic: ...from 16: IN 863s # GLib-DEBUG: io-channel-basic: ...from 16: 3895 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 16: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+974 bytes to 13 863s # GLib-DEBUG: io-channel-basic: ...from 12: IN 863s # GLib-DEBUG: io-channel-basic: ...from 12: 974 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 12: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+4439 bytes to 11 863s # GLib-DEBUG: io-channel-basic: ...from 10: IN 863s # GLib-DEBUG: io-channel-basic: ...from 10: 4439 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 10: OK 863s # # GLib-DEBUG: io-channel-basic: child writing 8+838 bytes to 15 863s # GLib-DEBUG: io-channel-basic: ...from 14: IN 863s # GLib-DEBUG: io-channel-basic: ...from 14: 838 bytes 863s # GLib-DEBUG: io-channel-basic: ...from 14: OK 864s # # GLib-DEBUG: io-channel-basic: child writing 8+1003 bytes to 9 864s # GLib-DEBUG: io-channel-basic: ...from 8: IN 864s # GLib-DEBUG: io-channel-basic: ...from 8: 1003 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 8: OK 864s # # GLib-DEBUG: io-channel-basic: child writing 8+2799 bytes to 17 864s # GLib-DEBUG: io-channel-basic: ...from 16: IN 864s # GLib-DEBUG: io-channel-basic: ...from 16: 2799 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 16: OK 864s # # GLib-DEBUG: io-channel-basic: child writing 8+2877 bytes to 13 864s # GLib-DEBUG: io-channel-basic: ...from 12: IN 864s # GLib-DEBUG: io-channel-basic: ...from 12: 2877 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 12: OK 864s # # GLib-DEBUG: io-channel-basic: child writing 8+3484 bytes to 11 864s # GLib-DEBUG: io-channel-basic: ...from 10: IN 864s # GLib-DEBUG: io-channel-basic: ...from 10: 3484 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 10: OK 864s # # GLib-DEBUG: io-channel-basic: child writing 8+3369 bytes to 15 864s # GLib-DEBUG: io-channel-basic: ...from 14: IN 864s # GLib-DEBUG: io-channel-basic: ...from 14: 3369 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 14: OK 864s # # GLib-DEBUG: io-channel-basic: child writing 8+812 bytes to 9 864s # GLib-DEBUG: io-channel-basic: ...from 8: IN 864s # GLib-DEBUG: io-channel-basic: ...from 8: 812 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 8: OK 864s # # GLib-DEBUG: io-channel-basic: child writing 8+2132 bytes to 17 864s # GLib-DEBUG: io-channel-basic: ...from 16: IN 864s # GLib-DEBUG: io-channel-basic: ...from 16: 2132 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 16: OK 864s # # GLib-DEBUG: io-channel-basic: child writing 8+2331 bytes to 13 864s # GLib-DEBUG: io-channel-basic: ...from 12: IN 864s # GLib-DEBUG: io-channel-basic: ...from 12: 2331 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 12: OK 864s # # GLib-DEBUG: io-channel-basic: child writing 8+3925 bytes to 11 864s # GLib-DEBUG: io-channel-basic: ...from 10: IN 864s # GLib-DEBUG: io-channel-basic: ...from 10: 3925 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 10: OK 864s # # GLib-DEBUG: io-channel-basic: child writing 8+3170 bytes to 15 864s # GLib-DEBUG: io-channel-basic: ...from 14: IN 864s # GLib-DEBUG: io-channel-basic: ...from 14: 3170 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 14: OK 864s # # GLib-DEBUG: io-channel-basic: child writing 8+1013 bytes to 9 864s # GLib-DEBUG: io-channel-basic: ...from 8: IN 864s # GLib-DEBUG: io-channel-basic: ...from 8: 1013 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 8: OK 864s # # GLib-DEBUG: io-channel-basic: child writing 8+2585 bytes to 13 864s # # GLib-DEBUG: io-channel-basic: child writing 8+152 bytes to 11 864s # GLib-DEBUG: io-channel-basic: ...from 10: IN 864s # GLib-DEBUG: io-channel-basic: ...from 10: 152 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 10: OK 864s # GLib-DEBUG: io-channel-basic: ...from 12: IN 864s # GLib-DEBUG: io-channel-basic: ...from 12: 2585 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 12: OK 864s # # GLib-DEBUG: io-channel-basic: child writing 8+218 bytes to 17 864s # GLib-DEBUG: io-channel-basic: ...from 16: IN 864s # GLib-DEBUG: io-channel-basic: ...from 16: 218 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 16: OK 864s # # GLib-DEBUG: io-channel-basic: child writing 8+1274 bytes to 15 864s # GLib-DEBUG: io-channel-basic: ...from 14: IN 864s # GLib-DEBUG: io-channel-basic: ...from 14: 1274 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 14: OK 864s # Executing: glib/io-channel-basic.test 864s # # GLib-DEBUG: io-channel-basic: child writing 8+3476 bytes to 9 864s # # GLib-DEBUG: io-channel-basic: child writing 8+3756 bytes to 13 864s # GLib-DEBUG: io-channel-basic: ...from 12: IN 864s # GLib-DEBUG: io-channel-basic: ...from 12: 3756 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 12: OK 864s # GLib-DEBUG: io-channel-basic: ...from 8: IN 864s # GLib-DEBUG: io-channel-basic: ...from 8: 3476 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 8: OK 864s # # GLib-DEBUG: io-channel-basic: child writing 8+4281 bytes to 11 864s # GLib-DEBUG: io-channel-basic: ...from 10: IN 864s # GLib-DEBUG: io-channel-basic: ...from 10: 4281 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 10: OK 864s # # GLib-DEBUG: io-channel-basic: child writing 8+4989 bytes to 17 864s # GLib-DEBUG: io-channel-basic: ...from 16: IN 864s # GLib-DEBUG: io-channel-basic: ...from 16: 4989 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 16: OK 864s # # GLib-DEBUG: io-channel-basic: child writing 8+2344 bytes to 15 864s # GLib-DEBUG: io-channel-basic: ...from 14: IN 864s # GLib-DEBUG: io-channel-basic: ...from 14: 2344 bytes 864s # GLib-DEBUG: io-channel-basic: ...from 14: OK 865s # # GLib-DEBUG: io-channel-basic: child writing 8+1562 bytes to 13 865s # GLib-DEBUG: io-channel-basic: ...from 12: IN 865s # GLib-DEBUG: io-channel-basic: ...from 12: 1562 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 12: OK 865s # # GLib-DEBUG: io-channel-basic: child writing 8+1184 bytes to 11 865s # GLib-DEBUG: io-channel-basic: ...from 10: IN 865s # GLib-DEBUG: io-channel-basic: ...from 10: 1184 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 10: OK 865s # # GLib-DEBUG: io-channel-basic: child writing 8+4427 bytes to 9 865s # GLib-DEBUG: io-channel-basic: ...from 8: IN 865s # GLib-DEBUG: io-channel-basic: ...from 8: 4427 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 8: OK 865s # # GLib-DEBUG: io-channel-basic: child writing 8+3972 bytes to 17 865s # GLib-DEBUG: io-channel-basic: ...from 16: IN 865s # GLib-DEBUG: io-channel-basic: ...from 16: 3972 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 16: OK 865s # # GLib-DEBUG: io-channel-basic: child writing 8+1229 bytes to 15 865s # GLib-DEBUG: io-channel-basic: ...from 14: IN 865s # GLib-DEBUG: io-channel-basic: ...from 14: 1229 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 14: OK 865s # # GLib-DEBUG: io-channel-basic: child writing 8+1716 bytes to 11 865s # GLib-DEBUG: io-channel-basic: ...from 10: IN 865s # GLib-DEBUG: io-channel-basic: ...from 10: 1716 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 10: OK 865s # # GLib-DEBUG: io-channel-basic: child writing 8+2928 bytes to 13 865s # # GLib-DEBUG: io-channel-basic: child writing 8+3997 bytes to 9 865s # GLib-DEBUG: io-channel-basic: ...from 8: IN 865s # GLib-DEBUG: io-channel-basic: ...from 8: 3997 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 8: OK 865s # GLib-DEBUG: io-channel-basic: ...from 12: IN 865s # GLib-DEBUG: io-channel-basic: ...from 12: 2928 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 12: OK 865s # # GLib-DEBUG: io-channel-basic: child writing 8+4124 bytes to 17 865s # GLib-DEBUG: io-channel-basic: ...from 16: IN 865s # GLib-DEBUG: io-channel-basic: ...from 16: 4124 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 16: OK 865s # # GLib-DEBUG: io-channel-basic: child writing 8+2548 bytes to 15 865s # GLib-DEBUG: io-channel-basic: ...from 14: IN 865s # GLib-DEBUG: io-channel-basic: ...from 14: 2548 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 14: OK 865s # # GLib-DEBUG: io-channel-basic: child writing 8+3364 bytes to 11 865s # GLib-DEBUG: io-channel-basic: ...from 10: IN 865s # GLib-DEBUG: io-channel-basic: ...from 10: 3364 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 10: OK 865s # # GLib-DEBUG: io-channel-basic: child writing 8+4279 bytes to 9 865s # GLib-DEBUG: io-channel-basic: ...from 8: IN 865s # GLib-DEBUG: io-channel-basic: ...from 8: 4279 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 8: OK 865s # # GLib-DEBUG: io-channel-basic: child writing 8+2015 bytes to 13 865s # GLib-DEBUG: io-channel-basic: ...from 12: IN 865s # GLib-DEBUG: io-channel-basic: ...from 12: 2015 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 12: OK 865s # # GLib-DEBUG: io-channel-basic: child writing 8+2827 bytes to 17 865s # GLib-DEBUG: io-channel-basic: ...from 16: IN 865s # GLib-DEBUG: io-channel-basic: ...from 16: 2827 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 16: OK 865s # # GLib-DEBUG: io-channel-basic: child writing 8+1288 bytes to 15 865s # GLib-DEBUG: io-channel-basic: ...from 14: IN 865s # GLib-DEBUG: io-channel-basic: ...from 14: 1288 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 14: OK 865s # # GLib-DEBUG: io-channel-basic: child writing 8+1259 bytes to 11 865s # GLib-DEBUG: io-channel-basic: ...from 10: IN 865s # GLib-DEBUG: io-channel-basic: ...from 10: 1259 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 10: OK 865s # # GLib-DEBUG: io-channel-basic: child writing 8+4960 bytes to 9 865s # GLib-DEBUG: io-channel-basic: ...from 8: IN 865s # GLib-DEBUG: io-channel-basic: ...from 8: 4960 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 8: OK 865s # # GLib-DEBUG: io-channel-basic: child writing 8+4504 bytes to 13 865s # GLib-DEBUG: io-channel-basic: ...from 12: IN 865s # GLib-DEBUG: io-channel-basic: ...from 12: 4504 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 12: OK 865s # # GLib-DEBUG: io-channel-basic: child writing 8+1796 bytes to 17 865s # GLib-DEBUG: io-channel-basic: ...from 16: IN 865s # GLib-DEBUG: io-channel-basic: ...from 16: 1796 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 16: OK 865s # # GLib-DEBUG: io-channel-basic: child writing 8+181 bytes to 15 865s # GLib-DEBUG: io-channel-basic: ...from 14: IN 865s # GLib-DEBUG: io-channel-basic: ...from 14: 181 bytes 865s # GLib-DEBUG: io-channel-basic: ...from 14: OK 866s # # GLib-DEBUG: io-channel-basic: child writing 8+4416 bytes to 11 866s # GLib-DEBUG: io-channel-basic: ...from 10: IN 866s # GLib-DEBUG: io-channel-basic: ...from 10: 4416 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 10: OK 866s # # GLib-DEBUG: io-channel-basic: child writing 8+3695 bytes to 13 866s # GLib-DEBUG: io-channel-basic: ...from 12: IN 866s # GLib-DEBUG: io-channel-basic: ...from 12: 3695 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 12: OK 866s # # GLib-DEBUG: io-channel-basic: child writing 8+3931 bytes to 9 866s # GLib-DEBUG: io-channel-basic: ...from 8: IN 866s # GLib-DEBUG: io-channel-basic: ...from 8: 3931 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 8: OK 866s # # GLib-DEBUG: io-channel-basic: child writing 8+2367 bytes to 17 866s # GLib-DEBUG: io-channel-basic: ...from 16: IN 866s # GLib-DEBUG: io-channel-basic: ...from 16: 2367 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 16: OK 866s # # GLib-DEBUG: io-channel-basic: child writing 8+3382 bytes to 15 866s # GLib-DEBUG: io-channel-basic: ...from 14: IN 866s # GLib-DEBUG: io-channel-basic: ...from 14: 3382 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 14: OK 866s # # GLib-DEBUG: io-channel-basic: child writing 8+514 bytes to 11 866s # GLib-DEBUG: io-channel-basic: ...from 10: IN 866s # GLib-DEBUG: io-channel-basic: ...from 10: 514 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 10: OK 866s # # GLib-DEBUG: io-channel-basic: child writing 8+2797 bytes to 13 866s # GLib-DEBUG: io-channel-basic: ...from 12: IN 866s # GLib-DEBUG: io-channel-basic: ...from 12: 2797 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 12: OK 866s # # GLib-DEBUG: io-channel-basic: child writing 8+4786 bytes to 9 866s # GLib-DEBUG: io-channel-basic: ...from 8: IN 866s # GLib-DEBUG: io-channel-basic: ...from 8: 4786 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 8: OK 866s # # GLib-DEBUG: io-channel-basic: child writing 8+1860 bytes to 17 866s # GLib-DEBUG: io-channel-basic: ...from 16: IN 866s # GLib-DEBUG: io-channel-basic: ...from 16: 1860 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 16: OK 866s # # GLib-DEBUG: io-channel-basic: child writing 8+550 bytes to 15 866s # GLib-DEBUG: io-channel-basic: ...from 14: IN 866s # GLib-DEBUG: io-channel-basic: ...from 14: 550 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 14: OK 866s # # GLib-DEBUG: io-channel-basic: child writing 8+2523 bytes to 11 866s # # GLib-DEBUG: io-channel-basic: child exiting, closing 11 866s # GLib-DEBUG: io-channel-basic: ...from 10: IN 866s # GLib-DEBUG: io-channel-basic: ...from 10: 2523 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 10: OK 866s # GLib-DEBUG: io-channel-basic: ...from 10: HUP 866s # # GLib-DEBUG: io-channel-basic: child writing 8+4863 bytes to 9 866s # GLib-DEBUG: io-channel-basic: ...from 8: IN 866s # GLib-DEBUG: io-channel-basic: ...from 8: 4863 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 8: OK 866s # # GLib-DEBUG: io-channel-basic: child writing 8+154 bytes to 13 866s # GLib-DEBUG: io-channel-basic: ...from 12: IN 866s # GLib-DEBUG: io-channel-basic: ...from 12: 154 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 12: OK 866s # # GLib-DEBUG: io-channel-basic: child writing 8+4300 bytes to 17 866s # GLib-DEBUG: io-channel-basic: ...from 16: IN 866s # GLib-DEBUG: io-channel-basic: ...from 16: 4300 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 16: OK 866s # # GLib-DEBUG: io-channel-basic: child writing 8+808 bytes to 15 866s # GLib-DEBUG: io-channel-basic: ...from 14: IN 866s # GLib-DEBUG: io-channel-basic: ...from 14: 808 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 14: OK 866s # # GLib-DEBUG: io-channel-basic: child writing 8+1398 bytes to 17 866s # GLib-DEBUG: io-channel-basic: ...from 16: IN 866s # GLib-DEBUG: io-channel-basic: ...from 16: 1398 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 16: OK 866s # # GLib-DEBUG: io-channel-basic: child writing 8+3211 bytes to 13 866s # GLib-DEBUG: io-channel-basic: ...from 12: IN 866s # GLib-DEBUG: io-channel-basic: ...from 12: 3211 bytes 866s # GLib-DEBUG: io-channel-basic: ...from 12: OK 867s # # GLib-DEBUG: io-channel-basic: child writing 8+143 bytes to 15 867s # # GLib-DEBUG: io-channel-basic: child exiting, closing 15 867s # GLib-DEBUG: io-channel-basic: ...from 14: IN 867s # GLib-DEBUG: io-channel-basic: ...from 14: 143 bytes 867s # GLib-DEBUG: io-channel-basic: ...from 14: OK 867s # GLib-DEBUG: io-channel-basic: ...from 14: HUP 867s # # GLib-DEBUG: io-channel-basic: child writing 8+1938 bytes to 9 867s # GLib-DEBUG: io-channel-basic: ...from 8: IN 867s # GLib-DEBUG: io-channel-basic: ...from 8: 1938 bytes 867s # GLib-DEBUG: io-channel-basic: ...from 8: OK 867s # # GLib-DEBUG: io-channel-basic: child writing 8+1406 bytes to 17 867s # GLib-DEBUG: io-channel-basic: ...from 16: IN 867s # GLib-DEBUG: io-channel-basic: ...from 16: 1406 bytes 867s # GLib-DEBUG: io-channel-basic: ...from 16: OK 867s # # GLib-DEBUG: io-channel-basic: child writing 8+4103 bytes to 13 867s # GLib-DEBUG: io-channel-basic: ...from 12: IN 867s # # GLib-DEBUG: io-channel-basic: child exiting, closing 13 867s # GLib-DEBUG: io-channel-basic: ...from 12: 4103 bytes 867s # GLib-DEBUG: io-channel-basic: ...from 12: OK 867s # GLib-DEBUG: io-channel-basic: ...from 12: HUP 867s # # GLib-DEBUG: io-channel-basic: child writing 8+4316 bytes to 9 867s # # GLib-DEBUG: io-channel-basic: child exiting, closing 9 867s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 867s # GLib-DEBUG: io-channel-basic: ...from 8: 4316 bytes 867s # GLib-DEBUG: io-channel-basic: ...from 8: OK 867s # # GLib-DEBUG: io-channel-basic: child writing 8+4983 bytes to 17 867s # GLib-DEBUG: io-channel-basic: ...from 16: IN 867s # GLib-DEBUG: io-channel-basic: ...from 16: 4983 bytes 867s # GLib-DEBUG: io-channel-basic: ...from 16: OK 867s # # GLib-DEBUG: io-channel-basic: child writing 8+4685 bytes to 17 867s # # GLib-DEBUG: io-channel-basic: child exiting, closing 17 867s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 867s # GLib-DEBUG: io-channel-basic: ...from 16: 4685 bytes 867s # GLib-DEBUG: io-channel-basic: ...from 16: OK 867s ok 1 /gio/io-basics 867s # slow test /gio/io-basics executed in 12.01 secs 867s # End of gio tests 867s ok - glib/io-channel-basic.test 867s # Running test: glib/gdbus-exit-on-close.test 867s TAP version 13 867s # random seed: R02Sb0715d3da3fae49f13cd6e53505f6dbf 867s 1..4 867s # Start of gdbus tests 867s # Start of exit-on-close tests 867s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/default/.dirs/home 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/default/.dirs/cache 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/default/.dirs/system-config2 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/default/.dirs/config 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/default/.dirs/system-data2 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/default/.dirs/data 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/default/.dirs/state 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/default/.dirs/runtime 867s ok 1 /gdbus/exit-on-close/default 867s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/true/.dirs/home 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/true/.dirs/cache 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/true/.dirs/system-config2 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/true/.dirs/config 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/true/.dirs/system-data2 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/true/.dirs/data 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/true/.dirs/state 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/true/.dirs/runtime 867s ok 2 /gdbus/exit-on-close/true 867s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/false/.dirs/home 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/false/.dirs/cache 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/false/.dirs/system-config2 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/false/.dirs/config 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/false/.dirs/system-data2 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/false/.dirs/data 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/false/.dirs/state 867s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/false/.dirs/runtime 868s ok 3 /gdbus/exit-on-close/false 868s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/we-close/.dirs/home 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/we-close/.dirs/cache 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/we-close/.dirs/system-config2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/we-close/.dirs/config 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/we-close/.dirs/system-data2 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/we-close/.dirs/data 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/we-close/.dirs/state 868s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_B8XJK2/gdbus/exit-on-close/we-close/.dirs/runtime 868s ok 4 /gdbus/exit-on-close/we-close 868s # Start of default tests 868s # End of default tests 868s # Start of true tests 868s # End of true tests 868s # Start of false tests 868s # End of false tests 868s # Start of we-close tests 868s # End of we-close tests 868s # End of exit-on-close tests 868s # End of gdbus tests 868s ok - glib/gdbus-exit-on-close.test 868s # Running test: glib/include.test 868s TAP version 13 868s # random seed: R02Sd31571d2a6e89d52f1014fadb398955e 868s 1..1 868s # Start of include tests 868s ok 1 /include/rwlock 868s # End of include tests 868s ok - glib/include.test 868s # Running test: glib/objects-refcount2.test 868s TAP version 13 868s # random seed: R02S497c02fa442ef75cd1c5dbf139573942 868s 1..1 868s # Start of gobject tests 868s # Start of refcount tests 868s # init 0x6186981e740 868s # 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 868s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # . 869s # Executing: glib/objects-refcount2.test 869s # . 869s # . 869s # . 869s # . 869s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 870s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 871s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 872s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 873s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # . 874s # Executing: glib/objects-refcount2.test 874s # . 874s # . 874s # . 874s # . 874s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 875s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 876s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 877s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 878s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # . 879s # Executing: glib/objects-refcount2.test 879s # . 879s # . 879s # . 879s # . 879s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 880s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 881s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 882s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 883s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 884s # Executing: glib/objects-refcount2.test 884s # . 884s # . 884s # . 884s # . 884s # . 884s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 885s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 886s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 887s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 888s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # . 889s # Executing: glib/objects-refcount2.test 889s # . 889s # . 889s # . 889s # . 889s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 890s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 891s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 892s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 893s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 894s # Executing: glib/objects-refcount2.test 894s # . 894s # . 894s # . 894s # . 894s # . 894s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 895s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 896s # . 897s # . 897s # . 897s # . 897s # . 897s # . 897s # . 897s # . 897s # . 897s # . 897s # . 897s # . 897s # . 897s # . 897s # . 897s # . 897s # . 897s # . 897s # . 897s # . 897s # . 897s # . 897s # . 897s # . 897s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 898s # . 899s # . 899s # . 899s # . 899s # . 899s # . 899s # . 899s # . 899s # . 899s # . 899s # . 899s # . 899s # . 899s # . 899s # . 899s # . 899s # . 899s # . 899s # . 899s # Executing: glib/objects-refcount2.test 899s # . 899s # . 899s # . 899s # . 899s # . 899s # . 900s # . 900s # . 900s # . 900s # . 900s # . 900s # . 900s # . 900s # . 900s # . 900s # . 900s # . 900s # . 900s # . 900s # . 900s # . 900s # . 900s # . 900s # . 900s # . 900s # . 900s # . 900s # . 900s # . 900s # . 901s # . 901s # . 901s # . 901s # . 901s # . 901s # . 901s # . 901s # . 901s # . 901s # . 901s # . 901s # . 901s # . 901s # . 901s # . 901s # . 901s # . 901s # . 901s # . 901s # . 901s # . 901s # . 901s # . 901s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 902s # . 903s # . 903s # . 903s # . 903s # . 903s # . 903s # . 903s # . 903s # . 903s # . 903s # . 903s # . 903s # . 903s # . 903s # . 903s # . 903s # . 903s # . 903s # . 903s # . 903s # . 903s # . 903s # . 903s # . 903s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # . 904s # Executing: glib/objects-refcount2.test 904s # . 904s # . 904s # . 904s # . 904s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 905s # . 906s # . 906s # . 906s # . 906s # . 906s # . 906s # . 906s # . 906s # . 906s # . 906s # . 906s # . 906s # . 906s # . 906s # . 906s # . 906s # . 906s # . 906s # . 906s # . 906s # . 906s # . 906s # . 906s # . 906s # . 907s # . 907s # . 907s # . 907s # . 907s # . 907s # . 907s # . 907s # . 907s # . 907s # . 907s # . 907s # . 907s # . 907s # . 907s # . 907s # . 907s # . 907s # . 907s # . 907s # . 907s # . 907s # . 907s # . 907s # . 908s # . 908s # . 908s # . 908s # . 908s # . 908s # . 908s # . 908s # . 908s # . 908s # . 908s # . 908s # . 908s # . 908s # . 908s # . 908s # . 908s # . 908s # . 908s # . 908s # . 908s # . 908s # . 908s # . 908s # . 909s # . 909s # . 909s # . 909s # . 909s # . 909s # . 909s # . 909s # dispose 0x6186981e740! 909s # 909s ok 1 /gobject/refcount/object-advanced 909s # slow test /gobject/refcount/object-advanced executed in 41.14 secs 909s # End of refcount tests 909s # End of gobject tests 909s ok - glib/objects-refcount2.test 909s # Running test: glib/function-info.test 909s TAP version 13 909s # random seed: R02S2e8013d303ea5a39217211e06fab426d 909s 1..1 909s # Start of function-info tests 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_ID5VK2/function-info/invoker/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_ID5VK2/function-info/invoker/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_ID5VK2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_ID5VK2/function-info/invoker/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_ID5VK2/function-info/invoker/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_ID5VK2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_ID5VK2/function-info/invoker/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_ID5VK2/function-info/invoker/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_ID5VK2/function-info/invoker/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_ID5VK2/function-info/invoker/.dirs/runtime 909s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 909s # /function-info/invoker summary: Test preparing a function invoker 909s ok 1 /function-info/invoker 909s # End of function-info tests 909s ok - glib/function-info.test 909s # Running test: glib/properties-introspection.test 909s TAP version 13 909s # random seed: R02S1878741894807a8d9ad91dbc8e1b5424 909s 1..2 909s # Start of properties tests 909s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 909s ok 1 /properties/introspection 909s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 909s ok 2 /properties/collision 909s # End of properties tests 909s ok - glib/properties-introspection.test 909s # Running test: glib/fileattributematcher.test 909s TAP version 13 909s # random seed: R02S91787f3e1c7557a33b9d3a62a8c5d7c5 909s 1..3 909s # Start of fileattributematcher tests 909s ok 1 /fileattributematcher/exact 909s ok 2 /fileattributematcher/equality 909s ok 3 /fileattributematcher/subtract 909s # End of fileattributematcher tests 909s ok - glib/fileattributematcher.test 909s # Running test: glib/credentials.test 909s TAP version 13 909s # random seed: R02Sa3127eb73538e1f396056d67f8f02f32 909s 1..1 909s # Start of credentials tests 909s # GCredentials:linux-ucred:pid=12603,uid=1000,gid=1000 909s # GCredentials:linux-ucred:pid=12603,uid=0,gid=1000 909s ok 1 /credentials/basic 909s # End of credentials tests 909s ok - glib/credentials.test 909s # Running test: glib/tls-certificate.test 909s TAP version 13 909s # random seed: R02S62b1f5afdee60cc55f0810f4920c1c52 909s 1..19 909s # Start of tls-certificate tests 909s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 909s ok 1 /tls-certificate/pem-parser 909s ok 2 /tls-certificate/pem-parser-handles-chain 909s ok 3 /tls-certificate/from_file 909s ok 4 /tls-certificate/from_files 909s ok 5 /tls-certificate/from_files_crlf 909s ok 6 /tls-certificate/from_files_pkcs8 909s ok 7 /tls-certificate/from_files_pkcs8enc 909s ok 8 /tls-certificate/list_from_file 909s ok 9 /tls-certificate/pkcs11-uri 909s ok 10 /tls-certificate/pkcs11-uri-unsupported 909s ok 11 /tls-certificate/from_pkcs12 909s ok 12 /tls-certificate/from_pkcs12_file 909s ok 13 /tls-certificate/not-valid-before 909s ok 14 /tls-certificate/not-valid-after 909s ok 15 /tls-certificate/subject-name 909s ok 16 /tls-certificate/issuer-name 909s ok 17 /tls-certificate/dns-names 909s ok 18 /tls-certificate/ip-addresses 909s ok 19 /tls-certificate/pem-parser-no-sentinel 909s # End of tls-certificate tests 909s ok - glib/tls-certificate.test 909s # Running test: glib/unicode-normalize.test 909s TAP version 13 909s # random seed: R02S342e4b00926b1e82126324aefbc8082a 909s 1..3 909s # Start of unicode tests 909s # Processing Part0 # Specific cases 909s # Processing Part1 # Character by character test 909s # Processing Part2 # Canonical Order Test 909s # Processing Part3 # PRI #29 Test 909s ok 1 /unicode/normalize 909s # Invalid UTF-8 vector 0 909s # Invalid UTF-8 vector 1 909s # Invalid UTF-8 vector 2 909s # Invalid UTF-8 vector 3 909s # Invalid UTF-8 vector 4 909s # Invalid UTF-8 vector 5 909s # Invalid UTF-8 vector 6 909s # Invalid UTF-8 vector 7 909s # Invalid UTF-8 vector 8 909s # Invalid UTF-8 vector 9 909s # Invalid UTF-8 vector 10 909s # Invalid UTF-8 vector 11 909s # Invalid UTF-8 vector 12 909s ok 2 /unicode/normalize-invalid 909s # Start of normalize tests 909s ok 3 /unicode/normalize/bad-length 909s # End of normalize tests 909s # End of unicode tests 909s ok - glib/unicode-normalize.test 909s # Running test: glib/resolver-parsing.test 909s TAP version 13 909s # random seed: R02S28a6e22f05f17c758df4719e200c7480 909s 1..20 909s # Start of gresolver tests 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/invalid-header/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/invalid-header/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/invalid-header/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/invalid-header/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/invalid-header/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/invalid-header/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/invalid-header/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/invalid-header/.dirs/runtime 909s ok 1 /gresolver/invalid-header 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/unknown-record-type/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/unknown-record-type/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/unknown-record-type/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/unknown-record-type/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/unknown-record-type/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/unknown-record-type/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/unknown-record-type/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/unknown-record-type/.dirs/runtime 909s # GLib-GIO-DEBUG: Unrecognised DNS record type 20 909s ok 2 /gresolver/unknown-record-type 909s # Start of mx tests 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/valid/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/valid/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/mx/valid/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/valid/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/mx/valid/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/valid/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/valid/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/valid/.dirs/runtime 909s ok 3 /gresolver/mx/valid 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/.dirs/runtime 909s ok 4 /gresolver/mx/invalid 909s # Start of invalid tests 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short/.dirs/runtime 909s ok 5 /gresolver/mx/invalid/too-short 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short2/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short2/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short2/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short2/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short2/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short2/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short2/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/mx/invalid/too-short2/.dirs/runtime 909s ok 6 /gresolver/mx/invalid/too-short2 909s # End of invalid tests 909s # End of mx tests 909s # Start of ns tests 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/ns/valid/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/ns/valid/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/ns/valid/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/ns/valid/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/ns/valid/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/ns/valid/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/ns/valid/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/ns/valid/.dirs/runtime 909s ok 7 /gresolver/ns/valid 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/ns/invalid/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/ns/invalid/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/ns/invalid/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/ns/invalid/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/ns/invalid/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/ns/invalid/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/ns/invalid/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/ns/invalid/.dirs/runtime 909s ok 8 /gresolver/ns/invalid 909s # End of ns tests 909s # Start of soa tests 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/valid/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/valid/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/soa/valid/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/valid/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/soa/valid/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/valid/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/valid/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/valid/.dirs/runtime 909s ok 9 /gresolver/soa/valid 909s # Start of invalid tests 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/mname/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/mname/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/mname/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/mname/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/mname/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/mname/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/mname/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/mname/.dirs/runtime 909s ok 10 /gresolver/soa/invalid/mname 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/rname/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/rname/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/rname/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/rname/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/rname/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/rname/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/rname/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/rname/.dirs/runtime 909s ok 11 /gresolver/soa/invalid/rname 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/too-short/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/too-short/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/too-short/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/too-short/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/too-short/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/too-short/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/too-short/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/soa/invalid/too-short/.dirs/runtime 909s ok 12 /gresolver/soa/invalid/too-short 909s # End of invalid tests 909s # End of soa tests 909s # Start of srv tests 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/valid/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/valid/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/srv/valid/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/valid/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/srv/valid/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/valid/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/valid/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/valid/.dirs/runtime 909s ok 13 /gresolver/srv/valid 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/.dirs/runtime 909s ok 14 /gresolver/srv/invalid 909s # Start of invalid tests 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short/.dirs/runtime 909s ok 15 /gresolver/srv/invalid/too-short 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short2/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short2/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short2/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short2/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short2/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short2/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short2/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/srv/invalid/too-short2/.dirs/runtime 909s ok 16 /gresolver/srv/invalid/too-short2 909s # End of invalid tests 909s # End of srv tests 909s # Start of txt tests 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/.dirs/runtime 909s ok 17 /gresolver/txt/valid 909s # Start of valid tests 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/multiple-strings/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/multiple-strings/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/multiple-strings/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/multiple-strings/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/multiple-strings/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/valid/multiple-strings/.dirs/runtime 909s ok 18 /gresolver/txt/valid/multiple-strings 909s # End of valid tests 909s # Start of invalid tests 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/empty/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/empty/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/empty/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/empty/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/empty/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/empty/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/empty/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/empty/.dirs/runtime 909s ok 19 /gresolver/txt/invalid/empty 909s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/overflow/.dirs/home 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/overflow/.dirs/cache 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/overflow/.dirs/system-config2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/overflow/.dirs/config 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/overflow/.dirs/system-data2 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/overflow/.dirs/data 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/overflow/.dirs/state 909s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_DVY0K2/gresolver/txt/invalid/overflow/.dirs/runtime 909s ok 20 /gresolver/txt/invalid/overflow 909s # End of invalid tests 909s # End of txt tests 909s # End of gresolver tests 909s ok - glib/resolver-parsing.test 909s # Running test: glib/glistmodel.test 909s TAP version 13 909s # random seed: R02S90c648267f92fa7af6fe29b11d7812bf 909s 1..18 909s # Start of glistmodel tests 909s # Start of store tests 909s ok 1 /glistmodel/store/properties 909s ok 2 /glistmodel/store/non-gobjects 909s ok 3 /glistmodel/store/boundaries 909s ok 4 /glistmodel/store/refcounts 909s ok 5 /glistmodel/store/sorted 909s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 909s ok 6 /glistmodel/store/splice-replace-middle 909s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 909s ok 7 /glistmodel/store/splice-replace-all 909s ok 8 /glistmodel/store/splice-noop 909s ok 9 /glistmodel/store/splice-remove-multiple 909s ok 10 /glistmodel/store/splice-add-multiple 909s ok 11 /glistmodel/store/splice-wrong-type 909s ok 12 /glistmodel/store/item-type 909s ok 13 /glistmodel/store/remove-all 909s ok 14 /glistmodel/store/sort 909s ok 15 /glistmodel/store/get-item-cache 909s ok 16 /glistmodel/store/items-changed 909s ok 17 /glistmodel/store/past-end 909s ok 18 /glistmodel/store/find 909s # End of store tests 909s # End of glistmodel tests 909s ok - glib/glistmodel.test 909s # Running test: glib/hmac.test 909s TAP version 13 909s # random seed: R02S9c6f9ac26cd35ad2907989c9ad78d505 909s 1..37 909s # Start of hmac tests 909s ok 1 /hmac/sha1-1 909s ok 2 /hmac/sha1-2 909s ok 3 /hmac/sha1-3 909s ok 4 /hmac/sha1-4 909s ok 5 /hmac/sha1-5 909s ok 6 /hmac/sha1-6 909s ok 7 /hmac/sha1-7 909s ok 8 /hmac/sha256-1 909s ok 9 /hmac/sha256-2 909s ok 10 /hmac/sha256-3 909s ok 11 /hmac/sha256-4 909s ok 12 /hmac/sha256-5 909s ok 13 /hmac/sha256-6 909s ok 14 /hmac/sha384-1 909s ok 15 /hmac/sha384-2 909s ok 16 /hmac/sha384-3 909s ok 17 /hmac/sha384-4 909s ok 18 /hmac/sha384-5 909s ok 19 /hmac/sha384-6 909s ok 20 /hmac/sha512-1 909s ok 21 /hmac/sha512-2 909s ok 22 /hmac/sha512-3 909s ok 23 /hmac/sha512-4 909s ok 24 /hmac/sha512-5 909s ok 25 /hmac/sha512-6 909s ok 26 /hmac/md5-1 909s ok 27 /hmac/md5-2 909s ok 28 /hmac/md5-3 909s ok 29 /hmac/md5-4 909s ok 30 /hmac/md5-5 909s ok 31 /hmac/md5-6 909s ok 32 /hmac/md5-7 909s ok 33 /hmac/ref-unref 909s ok 34 /hmac/copy 909s ok 35 /hmac/for-data 909s ok 36 /hmac/for-string 909s ok 37 /hmac/for-bytes 909s # End of hmac tests 909s ok - glib/hmac.test 909s # Running test: glib/gmenumodel.test 909s TAP version 13 909s # random seed: R02Saf73533d18ba9b4972cc6327c0f9f0a9 909s 1..14 909s # Start of gmenu tests 909s # Executing: glib/gmenumodel.test 911s ok 1 /gmenu/equality 911s # slow test /gmenu/equality executed in 2.01 secs 913s ok 2 /gmenu/random 913s # slow test /gmenu/random executed in 2.10 secs 913s ok 3 /gmenu/attributes 913s ok 4 /gmenu/links 913s ok 5 /gmenu/mutable 913s ok 6 /gmenu/convenience 913s ok 7 /gmenu/menuitem 913s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 913s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 913s ok 8 /gmenu/input-validation 913s # Start of dbus tests 913s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 914s # Executing: glib/gmenumodel.test 914s ok 9 /gmenu/dbus/roundtrip 914s # slow test /gmenu/dbus/roundtrip executed in 1.07 secs 915s ok 10 /gmenu/dbus/subscriptions 917s ok 11 /gmenu/dbus/threaded 917s # slow test /gmenu/dbus/threaded executed in 2.73 secs 917s # Start of peer tests 919s ok 12 /gmenu/dbus/peer/roundtrip 919s # slow test /gmenu/dbus/peer/roundtrip executed in 1.06 secs 919s ok 13 /gmenu/dbus/peer/subscriptions # SKIP Not reliable? #932678 919s # End of peer tests 919s # End of dbus tests 919s # Start of attributes tests 919s ok 14 /gmenu/attributes/iterate 919s # End of attributes tests 919s # End of gmenu tests 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 919s ok - glib/gmenumodel.test 919s # Running test: glib/option-context.test 919s TAP version 13 919s # random seed: R02S598f853141955967e714b837a43455d1 919s 1..57 919s # Start of option tests 919s ok 1 /option/basic 919s ok 2 /option/translate 919s ok 3 /option/strict-posix 919s # Start of help tests 919s ok 4 /option/help/options 919s ok 5 /option/help/no-options 919s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 919s ok 6 /option/help/no-help-options 919s # End of help tests 919s # Start of group tests 919s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 919s ok 7 /option/group/captions 919s ok 8 /option/group/main 919s ok 9 /option/group/error-hook 919s ok 10 /option/group/parse 919s # Start of captions tests 919s # Start of subprocess tests 919s # End of subprocess tests 919s # End of captions tests 919s # End of group tests 919s # Start of restoration tests 919s ok 11 /option/restoration/int 919s ok 12 /option/restoration/string 919s ok 13 /option/restoration/boolean 919s # End of restoration tests 919s # Start of arg tests 919s ok 14 /option/arg/reverse-string 919s ok 15 /option/arg/optional-int 919s # Start of repetition tests 919s ok 16 /option/arg/repetition/int 919s ok 17 /option/arg/repetition/string 919s ok 18 /option/arg/repetition/filename 919s ok 19 /option/arg/repetition/double 919s ok 20 /option/arg/repetition/locale 919s ok 21 /option/arg/repetition/int64 919s # End of repetition tests 919s # Start of array tests 919s ok 22 /option/arg/array/string 919s # End of array tests 919s # Start of callback tests 919s ok 23 /option/arg/callback/string 919s ok 24 /option/arg/callback/count 919s ok 25 /option/arg/callback/optional1 919s ok 26 /option/arg/callback/optional2 919s ok 27 /option/arg/callback/optional3 919s ok 28 /option/arg/callback/optional4 919s ok 29 /option/arg/callback/optional5 919s ok 30 /option/arg/callback/optional6 919s ok 31 /option/arg/callback/optional7 919s ok 32 /option/arg/callback/optional8 919s # End of callback tests 919s # Start of remaining tests 919s ok 33 /option/arg/remaining/callback 919s ok 34 /option/arg/remaining/callback-false 919s ok 35 /option/arg/remaining/non-option 919s ok 36 /option/arg/remaining/separator 919s ok 37 /option/arg/remaining/array 919s # End of remaining tests 919s # Start of ignore tests 919s ok 38 /option/arg/ignore/long 919s ok 39 /option/arg/ignore/short 919s ok 40 /option/arg/ignore/arg 919s # End of ignore tests 919s # Start of rest tests 919s ok 41 /option/arg/rest/non-option 919s ok 42 /option/arg/rest/separator1 919s ok 43 /option/arg/rest/separator2 919s ok 44 /option/arg/rest/separator3 919s ok 45 /option/arg/rest/separator4 919s ok 46 /option/arg/rest/separator5 919s # End of rest tests 919s # End of arg tests 919s # Start of context tests 919s ok 47 /option/context/add 919s ok 48 /option/context/empty2 919s ok 49 /option/context/empty3 919s # End of context tests 919s # Start of bug tests 919s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 919s ok 50 /option/bug/unknown-short 919s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 919s ok 51 /option/bug/lonely-dash 919s ok 52 /option/bug/triple-dash 919s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 919s ok 53 /option/bug/missing-arg 919s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 919s ok 54 /option/bug/dash-arg 919s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 919s ok 55 /option/bug/short-remaining 919s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 919s ok 56 /option/bug/double-free 919s ok 57 /option/bug/double-zero 919s # End of bug tests 919s # End of option tests 919s ok - glib/option-context.test 919s # Running test: glib/gdbus-non-socket.test 919s TAP version 13 919s # random seed: R02Sba3ffb3655410bd357a7ed9ed53e74d7 919s 1..1 919s # Start of gdbus tests 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_QMLXK2/gdbus/non-socket/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_QMLXK2/gdbus/non-socket/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_QMLXK2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_QMLXK2/gdbus/non-socket/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_QMLXK2/gdbus/non-socket/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_QMLXK2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_QMLXK2/gdbus/non-socket/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_QMLXK2/gdbus/non-socket/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_QMLXK2/gdbus/non-socket/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_QMLXK2/gdbus/non-socket/.dirs/runtime 919s ok 1 /gdbus/non-socket 919s # End of gdbus tests 919s ok - glib/gdbus-non-socket.test 919s # Running test: glib/gdbus-address-get-session.test 919s TAP version 13 919s # random seed: R02S4d9af0503aba9dd5ddd7080cc68ee6db 919s 1..2 919s # Start of gdbus tests 919s ok 1 /gdbus/x11-autolaunch 919s ok 2 /gdbus/xdg-runtime 919s # End of gdbus tests 919s ok - glib/gdbus-address-get-session.test 919s # Running test: glib/mimeapps.test 919s TAP version 13 919s # random seed: R02S775db425734fc04c876ecf5c6a99498c 919s 1..7 919s # Start of appinfo tests 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/runtime 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/system-data1/applications' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/data/applications' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/data/applications/myapp.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/data/applications/myapp2.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/data/applications/myapp3.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/data/applications/myapp4.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/data/applications/myapp5.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 919s # removing '/tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/data/applications/mimeapps.list' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 919s ok 1 /appinfo/all 919s # Start of mime tests 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/runtime 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/system-data1/applications' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/data/applications' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 919s # removing '/tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/config 919s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5BJYK2/appinfo/all/.dirs/config to /tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/config 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/config 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/config 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/config 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/config 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/config 919s ok 2 /appinfo/mime/api 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/runtime 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/system-data1/applications' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/data/applications' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 919s # removing '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/config 919s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5BJYK2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/config 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/config 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/config 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/config 919s ok 3 /appinfo/mime/default 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/runtime 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/system-data1/applications' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/data/applications' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 919s # removing '/tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/config 919s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5BJYK2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/config 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/config 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/config 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/config 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/config 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/config 919s ok 4 /appinfo/mime/file 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/runtime 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/data/applications' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 919s # removing '/tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 919s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5BJYK2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/config 919s ok 5 /appinfo/mime/scheme-handler 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/runtime 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/data/applications' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 919s # removing '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/config 919s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5BJYK2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/config 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/config 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/config 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/config 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/config 919s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/config 919s ok 6 /appinfo/mime/default-last-used 919s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/home 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/cache 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/config 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/data 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/state 919s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/runtime 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 919s # removing '/tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 919s # creating '/tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 919s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_5BJYK2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_5BJYK2/appinfo/mime/ignore-nonexisting/.dirs/config 919s ok 7 /appinfo/mime/ignore-nonexisting 919s # End of mime tests 919s # End of appinfo tests 919s ok - glib/mimeapps.test 919s # Running test: glib/cancellable.test 919s TAP version 13 919s # random seed: R02Sed9f303bfc1f76ff82d88ca46c9a8729 919s 1..10 919s # Start of cancellable tests 919s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 919s ok 2 /cancellable/null 919s # /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 919s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 919s # /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 919s ok 4 /cancellable/resets-on-cancel-callback-hangs 919s ok 5 /cancellable/poll-fd 919s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 919s ok 6 /cancellable/poll-fd-cancelled 919s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 919s ok 7 /cancellable/poll-fd-cancelled-threaded 919s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 919s ok 8 /cancellable/cancel-reset-races 919s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 919s ok 9 /cancellable/cancel-reset-connect-races 919s # End of cancellable tests 919s # Start of cancellable-source tests 919s # /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) 919s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 919s # Executing: glib/cancellable.test 920s ok 10 /cancellable-source/threaded-dispose 920s # slow test /cancellable-source/threaded-dispose executed in 0.95 secs 920s # End of cancellable-source tests 920s ok - glib/cancellable.test 920s # Running test: glib/spawn-path-search.test 920s TAP version 13 920s # random seed: R02Sfe228d50e3bf86240936a03e2b644a7c 920s 1..7 920s # Start of spawn tests 920s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 920s # 920s # this is spawn-test-helper from glib/tests 920s # 920s ok 1 /spawn/do-not-search 920s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 920s # 920s # this is spawn-test-helper from path-test-subdir 920s # 920s ok 2 /spawn/search-path 920s # /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. 920s # 920s # this is spawn-test-helper from path-test-subdir 920s # 920s ok 3 /spawn/search-path-from-envp 920s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 920s # 920s # this is spawn-test-helper from path-test-subdir 920s # 920s ok 4 /spawn/search-path-ambiguous 920s # 920s # this is spawn-test-helper from path-test-subdir 920s # 920s ok 5 /spawn/search-path-heap-allocation 920s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 920s # 920s # this is spawn-test-helper from glib/tests 920s # 920s ok 6 /spawn/search-path-fallback-in-environ 920s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 920s # 920s # this is spawn-test-helper from glib/tests 920s # 920s ok 7 /spawn/search-path-fallback-in-envp 920s # End of spawn tests 920s ok - glib/spawn-path-search.test 920s # Running test: glib/utf8-performance.test 920s TAP version 13 920s # random seed: R02S7319367cda78c0d88ca4da674c565eb8 920s 1..36 920s # Start of utf8 tests 920s # Start of perf tests 920s # Start of get_char tests 920s # max perf: inf MB/s 920s ok 1 /utf8/perf/get_char/ascii 920s # max perf: 67.0 MB/s 920s ok 2 /utf8/perf/get_char/latin1 920s # max perf: 160.0 MB/s 920s ok 3 /utf8/perf/get_char/cyrillic 920s # max perf: 156.0 MB/s 920s ok 4 /utf8/perf/get_char/han 920s # End of get_char tests 920s # Start of get_char-backwards tests 920s # max perf: inf MB/s 920s ok 5 /utf8/perf/get_char-backwards/ascii 920s # max perf: inf MB/s 920s ok 6 /utf8/perf/get_char-backwards/latin1 920s # max perf: 160.0 MB/s 920s ok 7 /utf8/perf/get_char-backwards/cyrillic 920s # max perf: inf MB/s 920s ok 8 /utf8/perf/get_char-backwards/han 920s # End of get_char-backwards tests 920s # Start of get_char_validated tests 920s # max perf: 43.0 MB/s 920s ok 9 /utf8/perf/get_char_validated/ascii 920s # max perf: inf MB/s 920s ok 10 /utf8/perf/get_char_validated/latin1 920s # max perf: 160.0 MB/s 920s ok 11 /utf8/perf/get_char_validated/cyrillic 920s # max perf: inf MB/s 920s ok 12 /utf8/perf/get_char_validated/han 920s # End of get_char_validated tests 920s # Start of utf8_to_ucs4 tests 920s # max perf: 21.5 MB/s 920s ok 13 /utf8/perf/utf8_to_ucs4/ascii 920s # max perf: 67.0 MB/s 920s ok 14 /utf8/perf/utf8_to_ucs4/latin1 920s # max perf: 80.0 MB/s 920s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 920s # max perf: 156.0 MB/s 920s ok 16 /utf8/perf/utf8_to_ucs4/han 920s # End of utf8_to_ucs4 tests 920s # Start of utf8_to_ucs4-sized tests 920s # max perf: 43.0 MB/s 920s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 920s # max perf: 67.0 MB/s 920s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 920s # max perf: 80.0 MB/s 920s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 920s # max perf: 156.0 MB/s 920s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 920s # End of utf8_to_ucs4-sized tests 920s # Start of utf8_to_ucs4_fast tests 920s # max perf: 43.0 MB/s 920s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 920s # max perf: 67.0 MB/s 920s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 920s # max perf: 160.0 MB/s 920s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 920s # max perf: inf MB/s 920s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 920s # End of utf8_to_ucs4_fast tests 920s # Start of utf8_to_ucs4_fast-sized tests 920s # max perf: inf MB/s 920s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 920s # max perf: 67.0 MB/s 920s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 920s # max perf: 160.0 MB/s 920s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 920s # max perf: 156.0 MB/s 920s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 920s # End of utf8_to_ucs4_fast-sized tests 920s # Start of utf8_validate tests 920s # max perf: inf MB/s 920s ok 29 /utf8/perf/utf8_validate/ascii 920s # max perf: inf MB/s 920s ok 30 /utf8/perf/utf8_validate/latin1 920s # max perf: inf MB/s 920s ok 31 /utf8/perf/utf8_validate/cyrillic 920s # max perf: inf MB/s 920s ok 32 /utf8/perf/utf8_validate/han 920s # End of utf8_validate tests 920s # Start of utf8_validate-sized tests 920s # max perf: inf MB/s 920s ok 33 /utf8/perf/utf8_validate-sized/ascii 920s # max perf: inf MB/s 920s ok 34 /utf8/perf/utf8_validate-sized/latin1 920s # max perf: 160.0 MB/s 920s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 920s # max perf: inf MB/s 920s ok 36 /utf8/perf/utf8_validate-sized/han 920s # End of utf8_validate-sized tests 920s # End of perf tests 920s # End of utf8 tests 920s ok - glib/utf8-performance.test 920s # Running test: glib/contenttype.test 920s TAP version 13 920s # random seed: R02S25135531be4df28e83498c8ca42b09c9 920s 1..13 920s # Start of contenttype tests 920s ok 1 /contenttype/guess 920s ok 2 /contenttype/guess_svg_from_data 920s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 920s ok 4 /contenttype/unknown 920s ok 5 /contenttype/subtype 920s ok 6 /contenttype/list 920s ok 7 /contenttype/executable 920s ok 8 /contenttype/description 920s ok 9 /contenttype/icon 920s ok 10 /contenttype/symbolic-icon 920s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 920s ok 11 /contenttype/tree 920s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 920s ok 12 /contenttype/tree_invalid_encoding 920s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 920s ok 13 /contenttype/test_type_is_a_special_case 920s # End of contenttype tests 920s ok - glib/contenttype.test 920s # Running test: glib/socket-service.test 920s TAP version 13 920s # random seed: R02S267bd9cb44db3724817cf100d30c0d9f 920s 1..4 920s # Start of socket-service tests 920s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 920s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xf584911c330 and GSocketClientAsyncConnectData 0xf5849114620 920s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 920s ok 1 /socket-service/start-stop 920s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xf584911de90 and GSocketClientAsyncConnectData 0xf584911dc30 920s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 920s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 920s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xf584911e3a0 for GSocketClientAsyncConnectData 0xf5849114620 920s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 920s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 920s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 920s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 920s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 920s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xf584911f220 for GSocketClientAsyncConnectData 0xf584911dc30 920s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 920s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 920s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 920s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 920s ok 2 /socket-service/read_write_async 920s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xf584911df70 and GSocketClientAsyncConnectData 0xf584911c900 920s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 920s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 920s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xf5849120160 for GSocketClientAsyncConnectData 0xf584911c900 920s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 920s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 920s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 920s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 920s ok 3 /socket-service/read_writev_async 920s # Start of threaded tests 920s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 920s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xf58491236f0 and GSocketClientAsyncConnectData 0xf5849114620 920s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 920s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 920s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xf5849123870 for GSocketClientAsyncConnectData 0xf5849114620 920s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 920s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 920s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 920s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 920s ok 4 /socket-service/threaded/712570 920s # End of threaded tests 920s # End of socket-service tests 920s ok - glib/socket-service.test 920s # Running test: glib/utils-c-90.test 920s TAP version 13 920s # random seed: R02S368427d5b836d1c555087985b80c5629 920s 1..40 920s # Start of utils tests 920s ok 1 /utils/language-names 920s ok 2 /utils/locale-variants 920s ok 3 /utils/version 920s ok 4 /utils/appname 920s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 920s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 920s ok 5 /utils/prgname-thread-safety 920s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 920s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 920s ok 6 /utils/tmpdir 920s ok 7 /utils/basic_bits 920s ok 8 /utils/bits 920s ok 9 /utils/swap 920s ok 10 /utils/find-program 920s ok 11 /utils/find-program-for-path 920s ok 12 /utils/debug 920s ok 13 /utils/codeset 920s ok 14 /utils/codeset2 920s ok 15 /utils/console-charset 920s ok 16 /utils/gettext 920s ok 17 /utils/username 920s ok 18 /utils/realname 920s ok 19 /utils/hostname 920s ok 20 /utils/xdgdirs 920s ok 21 /utils/specialdir 920s # NAME: Ubuntu 920s ok 22 /utils/os-info 920s ok 23 /utils/clear-pointer 920s ok 24 /utils/clear-pointer-cast 920s ok 25 /utils/take-pointer 920s ok 26 /utils/clear-source 920s ok 27 /utils/misc-mem 920s # /utils/aligned-mem summary: Aligned memory allocator 920s # Alignment must not be zero 920s # Alignment must be a power of two 920s # Alignment must be a multiple of sizeof(void*) 920s ok 28 /utils/aligned-mem 920s # /utils/free-sized summary: Check that g_free_sized() works 920s ok 29 /utils/free-sized 920s ok 30 /utils/nullify 920s ok 31 /utils/atexit 920s ok 32 /utils/check-setuid 920s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 920s ok 33 /utils/int-limits 920s ok 34 /utils/clear-list 920s ok 35 /utils/clear-slist 920s # Start of specialdir tests 920s ok 36 /utils/specialdir/desktop 920s # End of specialdir tests 920s # Start of clear-pointer tests 920s ok 37 /utils/clear-pointer/side-effects 920s # End of clear-pointer tests 920s # Start of aligned-mem tests 920s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 920s ok 38 /utils/aligned-mem/alignment 920s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 920s ok 39 /utils/aligned-mem/zeroed 920s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 920s ok 40 /utils/aligned-mem/free-sized 920s # Start of subprocess tests 920s # End of subprocess tests 920s # End of aligned-mem tests 920s # End of utils tests 920s ok - glib/utils-c-90.test 920s # Running test: glib/filter-streams.test 920s TAP version 13 920s # random seed: R02Sfa981f73d574cc7eb33931292654cd0a 920s 1..4 920s # Start of filter-stream tests 920s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 920s ok 1 /filter-stream/input 920s ok 2 /filter-stream/output 920s ok 3 /filter-stream/async-input 920s ok 4 /filter-stream/async-output 920s # End of filter-stream tests 920s ok - glib/filter-streams.test 920s # Running test: glib/completion.test 920s TAP version 13 920s # random seed: R02S4c4221f0b29534c3345721f0499df026 920s 1..1 920s # Start of completion tests 920s ok 1 /completion/test-completion 920s # End of completion tests 920s ok - glib/completion.test 920s # Running test: glib/queue.test 920s TAP version 13 920s # random seed: R02Scd01617150450f3e80f1e826a40e5a01 920s 1..12 920s # Start of queue tests 920s ok 1 /queue/basic 920s ok 2 /queue/copy 920s ok 3 /queue/off-by-one 920s ok 4 /queue/find-custom 920s ok 5 /queue/static 920s ok 6 /queue/clear 920s ok 7 /queue/free-full 920s ok 8 /queue/clear-full 920s ok 9 /queue/insert-sibling-link 920s ok 10 /queue/push-nth-link 920s # Start of clear-full tests 920s ok 11 /queue/clear-full/noop 920s # End of clear-full tests 920s # Start of random tests 920s ok 12 /queue/random/seed:1786263088 920s # End of random tests 920s # End of queue tests 920s ok - glib/queue.test 920s # Running test: glib/search-utils.test 920s TAP version 13 920s # random seed: R02Sfa563cbf12c3586824b56e9b642aad2d 920s # GLib-DEBUG: Current user locale: C.UTF-8 920s 1..6 920s # Start of search tests 920s # GLib-DEBUG: Started 920s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 920s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 920s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 920s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 920s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 920s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 920s ok 1 /search/basic 920s # GLib-DEBUG: Started 920s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 920s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 920s # GLib-DEBUG: 'ele' - 'élève' should match: OK 920s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 920s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 920s ok 2 /search/composed 920s # GLib-DEBUG: Started 920s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 920s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 920s ok 3 /search/decomposed 920s # GLib-DEBUG: Started 920s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 920s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 920s ok 4 /search/turkish 920s # GLib-DEBUG: Started 920s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 920s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 920s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 920s ok 5 /search/c_locale_unicode 920s # GLib-DEBUG: Started 920s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 920s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 920s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 920s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 920s ok 6 /search/multi_words 920s # End of search tests 920s ok - glib/search-utils.test 920s # Running test: glib/genmarshal.py.test 920s TAP version 13 920s ok 1 __main__.TestGenmarshal.test_empty_list 920s # tmpdir: /tmp/tmpt_4n1n7c 920s # genmarshal: /usr/bin/glib-genmarshal 920s # /tmp/tmpt_4n1n7c/tmpwo6js67q.list: 920s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpt_4n1n7c/tmpwo6js67q.list', '--header', '--quiet'] 920s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 920s # 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. */ 920s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 920s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 920s # 920s # #include 920s # 920s # G_BEGIN_DECLS 920s # 920s # 920s # G_END_DECLS 920s # 920s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 920s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpt_4n1n7c/tmpwo6js67q.list', '--body', '--quiet'] 920s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 920s # 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. */ 920s # #include 920s # 920s # #ifdef G_ENABLE_DEBUG 920s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 920s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 920s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 920s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 920s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 920s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 920s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 920s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 920s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 920s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 920s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 920s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 920s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 920s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 920s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 920s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 920s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 920s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 920s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 920s # #else /* !G_ENABLE_DEBUG */ 920s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 920s # * Do not access GValues directly in your code. Instead, use the 920s # * g_value_get_*() functions 920s # */ 920s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 920s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 920s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 920s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 920s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 920s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 920s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 920s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 920s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 920s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 920s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 920s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 920s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 920s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 920s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 920s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 920s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 920s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 920s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 920s # #endif /* !G_ENABLE_DEBUG */ 920s ok 2 __main__.TestGenmarshal.test_help 920s # tmpdir: /tmp/tmpllmugbiv 920s # genmarshal: /usr/bin/glib-genmarshal 920s # Running: ['/usr/bin/glib-genmarshal', '--help'] 920s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 920s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 920s # [--internal] [--valist-marshallers] [-v] 920s # [--g-fatal-warnings] [--include-header [HEADER]] 920s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 920s # [--prototypes] [--header] [--body] 920s # [--stdinc | --nostdinc] [--quiet | --verbose] 920s # [FILE ...] 920s # 920s # Generate signal marshallers for GObject 920s # 920s # positional arguments: 920s # FILE Files with lists of marshallers to generate, or "-" 920s # for standard input 920s # 920s # options: 920s # -h, --help show this help message and exit 920s # --prefix STRING Specify marshaller prefix 920s # --output FILE Write output into the specified file 920s # --skip-source Skip source location comments 920s # --internal Mark generated functions as internal 920s # --valist-marshallers Generate va_list marshallers 920s # -v, --version Print version information, and exit 920s # --g-fatal-warnings Make warnings fatal 920s # --include-header [HEADER] 920s # Include the specified header in the body 920s # --pragma-once Use "pragma once" as the inclusion guard 920s # -D CPP_DEFINES Pre-processor define 920s # -U CPP_UNDEFINES Pre-processor undefine 920s # --prototypes Generate the marshallers prototype in the C code 920s # --header Generate C headers 920s # --body Generate C code 920s # --stdinc Include standard marshallers 920s # --nostdinc Use standard marshallers 920s # --quiet Only print warnings and errors 920s # --verbose Be verbose, and include debugging information 920s ok 3 __main__.TestGenmarshal.test_no_args 920s # tmpdir: /tmp/tmpx_jv492c 920s # genmarshal: /usr/bin/glib-genmarshal 920s # Running: ['/usr/bin/glib-genmarshal'] 920s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 920s # Output: 921s ok 4 __main__.TestGenmarshal.test_void_boolean 921s # tmpdir: /tmp/tmp54v7gzjc 921s # genmarshal: /usr/bin/glib-genmarshal 921s # /tmp/tmp54v7gzjc/tmpzd5u7nbh.list: VOID:BOOLEAN 921s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp54v7gzjc/tmpzd5u7nbh.list', '--header', '--quiet'] 921s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 921s # 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. */ 921s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 921s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 921s # 921s # #include 921s # 921s # G_BEGIN_DECLS 921s # 921s # /* VOID:BOOLEAN (/tmp/tmp54v7gzjc/tmpzd5u7nbh.list:1) */ 921s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 921s # 921s # 921s # G_END_DECLS 921s # 921s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 921s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp54v7gzjc/tmpzd5u7nbh.list', '--body', '--quiet'] 921s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 921s # 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. */ 921s # #include 921s # 921s # #ifdef G_ENABLE_DEBUG 921s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 921s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 921s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 921s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 921s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 921s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 921s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 921s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 921s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 921s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 921s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 921s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 921s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 921s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 921s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 921s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 921s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 921s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 921s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 921s # #else /* !G_ENABLE_DEBUG */ 921s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 921s # * Do not access GValues directly in your code. Instead, use the 921s # * g_value_get_*() functions 921s # */ 921s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 921s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 921s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 921s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 921s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 921s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 921s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 921s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 921s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 921s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 921s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 921s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 921s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 921s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 921s # #endif /* !G_ENABLE_DEBUG */ 921s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 921s # tmpdir: /tmp/tmp_w7gt630 921s # genmarshal: /usr/bin/glib-genmarshal 921s # /tmp/tmp_w7gt630/tmp9gbbmxw6.list: VOID:BOOLEAN,INT64 921s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_w7gt630/tmp9gbbmxw6.list', '--header', '--quiet'] 921s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 921s # 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. */ 921s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 921s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 921s # 921s # #include 921s # 921s # G_BEGIN_DECLS 921s # 921s # /* VOID:BOOLEAN,INT64 (/tmp/tmp_w7gt630/tmp9gbbmxw6.list:1) */ 921s # extern 921s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 921s # GValue *return_value, 921s # guint n_param_values, 921s # const GValue *param_values, 921s # gpointer invocation_hint, 921s # gpointer marshal_data); 921s # 921s # 921s # G_END_DECLS 921s # 921s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 921s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp_w7gt630/tmp9gbbmxw6.list', '--body', '--quiet'] 921s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 921s # 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. */ 921s # #include 921s # 921s # #ifdef G_ENABLE_DEBUG 921s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 921s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 921s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 921s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 921s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 921s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 921s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 921s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 921s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 921s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 921s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 921s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 921s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 921s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 921s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 921s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 921s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 921s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 921s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 921s # #else /* !G_ENABLE_DEBUG */ 921s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 921s # * Do not access GValues directly in your code. Instead, use the 921s # * g_value_get_*() functions 921s # */ 921s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 921s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 921s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 921s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 921s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 921s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 921s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 921s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 921s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 921s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 921s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 921s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 921s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 921s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 921s # #endif /* !G_ENABLE_DEBUG */ 921s # 921s # /* VOID:BOOLEAN,INT64 (/tmp/tmp_w7gt630/tmp9gbbmxw6.list:1) */ 921s # void 921s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 921s # GValue *return_value G_GNUC_UNUSED, 921s # guint n_param_values, 921s # const GValue *param_values, 921s # gpointer invocation_hint G_GNUC_UNUSED, 921s # gpointer marshal_data) 921s # { 921s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 921s # gboolean arg1, 921s # gint64 arg2, 921s # gpointer data2); 921s # GCClosure *cc = (GCClosure *) closure; 921s # gpointer data1, data2; 921s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 921s # 921s # g_return_if_fail (n_param_values == 3); 921s # 921s # if (G_CCLOSURE_SWAP_DATA (closure)) 921s # { 921s # data1 = closure->data; 921s # data2 = g_value_peek_pointer (param_values + 0); 921s # } 921s # else 921s # { 921s # data1 = g_value_peek_pointer (param_values + 0); 921s # data2 = closure->data; 921s # } 921s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 921s # 921s # callback (data1, 921s # g_marshal_value_peek_boolean (param_values + 1), 921s # g_marshal_value_peek_int64 (param_values + 2), 921s # data2); 921s # } 921s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 921s # tmpdir: /tmp/tmpf3iigx5i 921s # genmarshal: /usr/bin/glib-genmarshal 921s # /tmp/tmpf3iigx5i/tmp494a1bqn.list: VOID:PARAM 921s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpf3iigx5i/tmp494a1bqn.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 921s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 921s # 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. */ 921s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 921s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 921s # 921s # G_BEGIN_DECLS 921s # 921s # /* VOID:PARAM (/tmp/tmpf3iigx5i/tmp494a1bqn.list:1) */ 921s # extern 921s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 921s # GValue *return_value, 921s # guint n_param_values, 921s # const GValue *param_values, 921s # gpointer invocation_hint, 921s # gpointer marshal_data); 921s # extern 921s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 921s # GValue *return_value, 921s # gpointer instance, 921s # va_list args, 921s # gpointer marshal_data, 921s # int n_params, 921s # GType *param_types); 921s # 921s # 921s # G_END_DECLS 921s # 921s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 921s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpf3iigx5i/tmp494a1bqn.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 921s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 921s # 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. */ 921s # #ifdef G_ENABLE_DEBUG 921s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 921s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 921s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 921s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 921s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 921s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 921s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 921s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 921s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 921s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 921s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 921s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 921s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 921s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 921s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 921s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 921s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 921s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 921s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 921s # #else /* !G_ENABLE_DEBUG */ 921s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 921s # * Do not access GValues directly in your code. Instead, use the 921s # * g_value_get_*() functions 921s # */ 921s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 921s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 921s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 921s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 921s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 921s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 921s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 921s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 921s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 921s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 921s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 921s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 921s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 921s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 921s # #endif /* !G_ENABLE_DEBUG */ 921s # 921s # /* VOID:PARAM (/tmp/tmpf3iigx5i/tmp494a1bqn.list:1) */ 921s # void 921s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 921s # GValue *return_value G_GNUC_UNUSED, 921s # guint n_param_values, 921s # const GValue *param_values, 921s # gpointer invocation_hint G_GNUC_UNUSED, 921s # gpointer marshal_data) 921s # { 921s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 921s # gpointer arg1, 921s # gpointer data2); 921s # GCClosure *cc = (GCClosure *) closure; 921s # gpointer data1, data2; 921s # GMarshalFunc_VOID__PARAM callback; 921s # 921s # g_return_if_fail (n_param_values == 2); 921s # 921s # if (G_CCLOSURE_SWAP_DATA (closure)) 921s # { 921s # data1 = closure->data; 921s # data2 = g_value_peek_pointer (param_values + 0); 921s # } 921s # else 921s # { 921s # data1 = g_value_peek_pointer (param_values + 0); 921s # data2 = closure->data; 921s # } 921s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 921s # 921s # callback (data1, 921s # g_marshal_value_peek_param (param_values + 1), 921s # data2); 921s # } 921s # 921s # void 921s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 921s # GValue *return_value G_GNUC_UNUSED, 921s # gpointer instance, 921s # va_list args, 921s # gpointer marshal_data, 921s # int n_params, 921s # GType *param_types) 921s # { 921s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 921s # gpointer arg1, 921s # gpointer data2); 921s # GCClosure *cc = (GCClosure *) closure; 921s # gpointer data1, data2; 921s # GMarshalFunc_VOID__PARAM callback; 921s # gpointer arg0; 921s # va_list args_copy; 921s # 921s # va_copy (args_copy, args); 921s # arg0 = (gpointer) va_arg (args_copy, gpointer); 921s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 921s # arg0 = g_param_spec_ref (arg0); 921s # va_end (args_copy); 921s # 921s # 921s # if (G_CCLOSURE_SWAP_DATA (closure)) 921s # { 921s # data1 = closure->data; 921s # data2 = instance; 921s # } 921s # else 921s # { 921s # data1 = instance; 921s # data2 = closure->data; 921s # } 921s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 921s # 921s # callback (data1, 921s # arg0, 921s # data2); 921s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 921s # g_param_spec_unref (arg0); 921s # } 921s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 921s # tmpdir: /tmp/tmpwu0_zva6 921s # genmarshal: /usr/bin/glib-genmarshal 921s # /tmp/tmpwu0_zva6/tmpz20h7n2v.list: VOID:STRING 921s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpwu0_zva6/tmpz20h7n2v.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 921s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 921s # 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. */ 921s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 921s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 921s # 921s # G_BEGIN_DECLS 921s # 921s # /* VOID:STRING (/tmp/tmpwu0_zva6/tmpz20h7n2v.list:1) */ 921s # extern 921s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 921s # GValue *return_value, 921s # guint n_param_values, 921s # const GValue *param_values, 921s # gpointer invocation_hint, 921s # gpointer marshal_data); 921s # extern 921s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 921s # GValue *return_value, 921s # gpointer instance, 921s # va_list args, 921s # gpointer marshal_data, 921s # int n_params, 921s # GType *param_types); 921s # 921s # 921s # G_END_DECLS 921s # 921s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 921s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpwu0_zva6/tmpz20h7n2v.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 921s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 921s # 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. */ 921s # #ifdef G_ENABLE_DEBUG 921s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 921s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 921s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 921s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 921s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 921s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 921s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 921s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 921s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 921s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 921s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 921s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 921s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 921s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 921s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 921s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 921s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 921s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 921s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 921s # #else /* !G_ENABLE_DEBUG */ 921s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 921s # * Do not access GValues directly in your code. Instead, use the 921s # * g_value_get_*() functions 921s # */ 921s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 921s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 921s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 921s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 921s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 921s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 921s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 921s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 921s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 921s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 921s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 921s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 921s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 921s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 921s # #endif /* !G_ENABLE_DEBUG */ 921s # 921s # /* VOID:STRING (/tmp/tmpwu0_zva6/tmpz20h7n2v.list:1) */ 921s # void 921s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 921s # GValue *return_value G_GNUC_UNUSED, 921s # guint n_param_values, 921s # const GValue *param_values, 921s # gpointer invocation_hint G_GNUC_UNUSED, 921s # gpointer marshal_data) 921s # { 921s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 921s # gpointer arg1, 921s # gpointer data2); 921s # GCClosure *cc = (GCClosure *) closure; 921s # gpointer data1, data2; 921s # GMarshalFunc_VOID__STRING callback; 921s # 921s # g_return_if_fail (n_param_values == 2); 921s # 921s # if (G_CCLOSURE_SWAP_DATA (closure)) 921s # { 921s # data1 = closure->data; 921s # data2 = g_value_peek_pointer (param_values + 0); 921s # } 921s # else 921s # { 921s # data1 = g_value_peek_pointer (param_values + 0); 921s # data2 = closure->data; 921s # } 921s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 921s # 921s # callback (data1, 921s # g_marshal_value_peek_string (param_values + 1), 921s # data2); 921s # } 921s # 921s # void 921s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 921s # GValue *return_value G_GNUC_UNUSED, 921s # gpointer instance, 921s # va_list args, 921s # gpointer marshal_data, 921s # int n_params, 921s # GType *param_types) 921s # { 921s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 921s # gpointer arg1, 921s # gpointer data2); 921s # GCClosure *cc = (GCClosure *) closure; 921s # gpointer data1, data2; 921s # GMarshalFunc_VOID__STRING callback; 921s # gpointer arg0; 921s # va_list args_copy; 921s # 921s # va_copy (args_copy, args); 921s # arg0 = (gpointer) va_arg (args_copy, gpointer); 921s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 921s # arg0 = g_strdup (arg0); 921s # va_end (args_copy); 921s # 921s # 921s # if (G_CCLOSURE_SWAP_DATA (closure)) 921s # { 921s # data1 = closure->data; 921s # data2 = instance; 921s # } 921s # else 921s # { 921s # data1 = instance; 921s # data2 = closure->data; 921s # } 921s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 921s # 921s # callback (data1, 921s # arg0, 921s # data2); 921s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 921s # g_free (arg0); 921s # } 921s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 921s # tmpdir: /tmp/tmpy3qelfln 921s # genmarshal: /usr/bin/glib-genmarshal 921s # /tmp/tmpy3qelfln/tmp8zc4f7jt.list: VOID:VARIANT 921s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpy3qelfln/tmp8zc4f7jt.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 921s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 921s # 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. */ 921s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 921s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 921s # 921s # G_BEGIN_DECLS 921s # 921s # /* VOID:VARIANT (/tmp/tmpy3qelfln/tmp8zc4f7jt.list:1) */ 921s # extern 921s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 921s # GValue *return_value, 921s # guint n_param_values, 921s # const GValue *param_values, 921s # gpointer invocation_hint, 921s # gpointer marshal_data); 921s # extern 921s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 921s # GValue *return_value, 921s # gpointer instance, 921s # va_list args, 921s # gpointer marshal_data, 921s # int n_params, 921s # GType *param_types); 921s # 921s # 921s # G_END_DECLS 921s # 921s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 921s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpy3qelfln/tmp8zc4f7jt.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 921s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 921s # 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. */ 921s # #ifdef G_ENABLE_DEBUG 921s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 921s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 921s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 921s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 921s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 921s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 921s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 921s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 921s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 921s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 921s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 921s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 921s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 921s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 921s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 921s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 921s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 921s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 921s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 921s # #else /* !G_ENABLE_DEBUG */ 921s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 921s # * Do not access GValues directly in your code. Instead, use the 921s # * g_value_get_*() functions 921s # */ 921s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 921s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 921s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 921s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 921s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 921s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 921s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 921s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 921s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 921s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 921s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 921s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 921s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 921s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 921s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 921s # #endif /* !G_ENABLE_DEBUG */ 921s # 921s # /* VOID:VARIANT (/tmp/tmpy3qelfln/tmp8zc4f7jt.list:1) */ 921s # void 921s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 921s # GValue *return_value G_GNUC_UNUSED, 921s # guint n_param_values, 921s # const GValue *param_values, 921s # gpointer invocation_hint G_GNUC_UNUSED, 921s # gpointer marshal_data) 921s # { 921s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 921s # gpointer arg1, 921s # gpointer data2); 921s # GCClosure *cc = (GCClosure *) closure; 921s # gpointer data1, data2; 921s # GMarshalFunc_VOID__VARIANT callback; 921s # 921s # g_return_if_fail (n_param_values == 2); 921s # 921s # if (G_CCLOSURE_SWAP_DATA (closure)) 921s # { 921s # data1 = closure->data; 921s # data2 = g_value_peek_pointer (param_values + 0); 921s # } 921s # else 921s # { 921s # data1 = g_value_peek_pointer (param_values + 0); 921s # data2 = closure->data; 921s # } 921s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 921s # 921s # callback (data1, 921s # g_marshal_value_peek_variant (param_values + 1), 921s # data2); 921s # } 921s # 921s # void 921s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 921s # GValue *return_value G_GNUC_UNUSED, 921s # gpointer instance, 921s # va_list args, 921s # gpointer marshal_data, 921s # int n_params, 921s # GType *param_types) 921s # { 921s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 921s # gpointer arg1, 921s # gpointer data2); 921s # GCClosure *cc = (GCClosure *) closure; 921s # gpointer data1, data2; 921s # GMarshalFunc_VOID__VARIANT callback; 921s # gpointer arg0; 921s # va_list args_copy; 921s # 921s # va_copy (args_copy, args); 921s # arg0 = (gpointer) va_arg (args_copy, gpointer); 921s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 921s # arg0 = g_variant_ref_sink (arg0); 921s # va_end (args_copy); 921s # 921s # 921s # if (G_CCLOSURE_SWAP_DATA (closure)) 921s # { 921s # data1 = closure->data; 921s # data2 = instance; 921s # } 921s # else 921s # { 921s # data1 = instance; 921s # data2 = closure->data; 921s # } 921s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 921s # 921s # callback (data1, 921s # arg0, 921s # data2); 921s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 921s # g_variant_unref (arg0); 921s # } 921s 1..8 921s ok - glib/genmarshal.py.test 921s # Running test: glib/642026.test 921s TAP version 13 921s # random seed: R02S860a67b8d805bcf6890ef41026847393 921s 1..1 921s # Start of glib tests 921s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 921s ok 1 /glib/642026 921s # End of glib tests 921s ok - glib/642026.test 921s # Running test: glib/protocol.test 921s TAP version 13 921s # random seed: R02S1d0fc13ecd39f6837d1f8e938b799d2b 921s 1..9 921s # Start of glib tests 921s # Start of testing tests 921s # Start of protocol tests 921s ok 1 /glib/testing/protocol/debug 921s ok 2 /glib/testing/protocol/info 921s ok 3 /glib/testing/protocol/message 921s ok 4 /glib/testing/protocol/warning 921s ok 5 /glib/testing/protocol/critical 921s ok 6 /glib/testing/protocol/error 921s ok 7 /glib/testing/protocol/gtest-message 921s ok 8 /glib/testing/protocol/test-message 921s ok 9 /glib/testing/protocol/test-error 921s # End of protocol tests 921s # End of testing tests 921s # End of glib tests 921s ok - glib/protocol.test 921s # Running test: glib/option-argv0.test 921s TAP version 13 921s # random seed: R02Sbdd5a838ddf9810154fa03fbb136b657 921s 1..1 921s # Start of option tests 921s ok 1 /option/argv0 921s # End of option tests 921s ok - glib/option-argv0.test 921s # Running test: glib/gapplication.test 921s TAP version 13 921s # random seed: R02S85af1cddb01060f7d1bd89b79257efa5 921s 1..24 921s # Start of gapplication tests 921s ok 1 /gapplication/no-dbus 921s ok 2 /gapplication/no-appid 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s ok 3 /gapplication/properties 921s ok 4 /gapplication/app-id 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s ok 5 /gapplication/quit 921s ok 6 /gapplication/registered 921s ok 7 /gapplication/local-actions 921s ok 8 /gapplication/local-command-line 921s ok 9 /gapplication/resource-path 921s ok 10 /gapplication/test-help 921s ok 11 /gapplication/command-line-done 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s ok 12 /gapplication/test-busy 921s ok 13 /gapplication/test-handle-local-options1 921s ok 14 /gapplication/test-handle-local-options2 921s ok 15 /gapplication/test-handle-local-options3 921s ok 16 /gapplication/api 921s ok 17 /gapplication/version 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 921s # launching subprocess 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s ok 18 /gapplication/replace 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 921s # launching subprocess 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s ok 19 /gapplication/no-replace 921s # slow test /gapplication/no-replace executed in 0.51 secs 921s # Start of dbus tests 921s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # Message 0 921s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 921s # Message 1 921s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 921s # Message 2 921s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s ok 20 /gapplication/dbus/activate 921s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 921s # Message 0 921s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 921s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 921s # Message 1 921s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 921s # Message 2 921s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 921s # Message 3 921s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 921s ok 21 /gapplication/dbus/open 921s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # Message 0 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # Message 1 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # Message 2 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s ok 22 /gapplication/dbus/command-line 922s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s ok 23 /gapplication/dbus/command-line-done 922s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # Message 0 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # Message 1 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # Message 2 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # Message 3 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # Message 4 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # Message 5 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s ok 24 /gapplication/dbus/activate-action 922s # End of dbus tests 922s # End of gapplication tests 922s ok - glib/gapplication.test 922s # Running test: glib/deprecated-properties.test 922s TAP version 13 922s # random seed: R02S44f5877da1704a020b2f3a5851065d63 922s 1..3 922s # Start of deprecated-properties tests 922s ok 1 /deprecated-properties/construct 922s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 922s ok 2 /deprecated-properties/default-construct 922s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 922s ok 3 /deprecated-properties/set 922s # End of deprecated-properties tests 922s ok - glib/deprecated-properties.test 922s # Running test: glib/type.test 922s TAP version 13 922s # random seed: R02S8f3992fa901b8ef7838bfc350d6fa20c 922s 1..6 922s # Start of type tests 922s ok 1 /type/registration-serial 922s ok 2 /type/interface-prerequisite 922s ok 3 /type/interface-check 922s ok 4 /type/next-base 922s ok 5 /type/is-a 922s # Invalid types can?t be queried. 922s # Unclassed types can?t be queried. 922s ok 6 /type/query 922s # End of type tests 922s ok - glib/type.test 922s # Running test: glib/gdbus-error.test 922s TAP version 13 922s # random seed: R02Sd050dbf50566d7873867c605b6a34efc 922s 1..4 922s # Start of gdbus tests 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/registered-errors/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/registered-errors/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_VKLWK2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_VKLWK2/gdbus/registered-errors/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/registered-errors/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_VKLWK2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_VKLWK2/gdbus/registered-errors/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/registered-errors/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/registered-errors/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_VKLWK2/gdbus/registered-errors/.dirs/runtime 922s ok 1 /gdbus/registered-errors 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/unregistered-errors/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/unregistered-errors/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_VKLWK2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_VKLWK2/gdbus/unregistered-errors/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/unregistered-errors/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_VKLWK2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_VKLWK2/gdbus/unregistered-errors/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/unregistered-errors/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/unregistered-errors/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_VKLWK2/gdbus/unregistered-errors/.dirs/runtime 922s ok 2 /gdbus/unregistered-errors 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/transparent-gerror/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/transparent-gerror/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_VKLWK2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_VKLWK2/gdbus/transparent-gerror/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/transparent-gerror/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_VKLWK2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_VKLWK2/gdbus/transparent-gerror/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/transparent-gerror/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/transparent-gerror/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_VKLWK2/gdbus/transparent-gerror/.dirs/runtime 922s ok 3 /gdbus/transparent-gerror 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/register-error/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/register-error/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_VKLWK2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_VKLWK2/gdbus/register-error/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/register-error/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_VKLWK2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_VKLWK2/gdbus/register-error/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/register-error/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_VKLWK2/gdbus/register-error/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_VKLWK2/gdbus/register-error/.dirs/runtime 922s ok 4 /gdbus/register-error 922s # End of gdbus tests 922s ok - glib/gdbus-error.test 922s # Running test: glib/convert.test 922s TAP version 13 922s # random seed: R02S5f9c79d9551b3241873d88295b9cdad0 922s 1..14 922s # Start of conversion tests 922s ok 1 /conversion/no-conv 922s ok 2 /conversion/iconv-state 922s ok 3 /conversion/illegal-sequence 922s ok 4 /conversion/byte-order 922s ok 5 /conversion/unicode 922s ok 6 /conversion/filename-utf8 922s ok 7 /conversion/filename-display 922s ok 8 /conversion/convert-embedded-nul 922s # Start of locale-to-utf8 tests 922s ok 9 /conversion/locale-to-utf8/embedded-nul 922s # Start of embedded-nul tests 922s # Start of subprocess tests 922s # End of subprocess tests 922s # End of embedded-nul tests 922s # End of locale-to-utf8 tests 922s # Start of locale-from-utf8 tests 922s ok 10 /conversion/locale-from-utf8/embedded-nul 922s # Start of embedded-nul tests 922s # Start of subprocess tests 922s # End of subprocess tests 922s # End of embedded-nul tests 922s # End of locale-from-utf8 tests 922s # Start of filename-to-utf8 tests 922s ok 11 /conversion/filename-to-utf8/embedded-nul 922s # Start of embedded-nul tests 922s # Start of subprocess tests 922s # End of subprocess tests 922s # End of embedded-nul tests 922s # End of filename-to-utf8 tests 922s # Start of filename-from-utf8 tests 922s ok 12 /conversion/filename-from-utf8/embedded-nul 922s # Start of embedded-nul tests 922s # Start of subprocess tests 922s # End of subprocess tests 922s # End of embedded-nul tests 922s # End of filename-from-utf8 tests 922s # Start of filename-from-uri tests 922s ok 13 /conversion/filename-from-uri/query-is-ignored 922s ok 14 /conversion/filename-from-uri/fragment-is-ignored 922s # End of filename-from-uri tests 922s # End of conversion tests 922s ok - glib/convert.test 922s # Running test: glib/checksum.test 922s TAP version 13 922s # random seed: R02Sa1b8295677ffb71eb852693003c04892 922s 1..1851 922s # Start of checksum tests 922s ok 1 /checksum/unsupported 922s # Start of MD5 tests 922s ok 2 /checksum/MD5/0 922s ok 3 /checksum/MD5/1 922s ok 4 /checksum/MD5/2 922s ok 5 /checksum/MD5/3 922s ok 6 /checksum/MD5/4 922s ok 7 /checksum/MD5/5 922s ok 8 /checksum/MD5/6 922s ok 9 /checksum/MD5/7 922s ok 10 /checksum/MD5/8 922s ok 11 /checksum/MD5/9 922s ok 12 /checksum/MD5/10 922s ok 13 /checksum/MD5/11 922s ok 14 /checksum/MD5/12 922s ok 15 /checksum/MD5/13 922s ok 16 /checksum/MD5/14 922s ok 17 /checksum/MD5/15 922s ok 18 /checksum/MD5/16 922s ok 19 /checksum/MD5/17 922s ok 20 /checksum/MD5/18 922s ok 21 /checksum/MD5/19 922s ok 22 /checksum/MD5/20 922s ok 23 /checksum/MD5/21 922s ok 24 /checksum/MD5/22 922s ok 25 /checksum/MD5/23 922s ok 26 /checksum/MD5/24 922s ok 27 /checksum/MD5/25 922s ok 28 /checksum/MD5/26 922s ok 29 /checksum/MD5/27 922s ok 30 /checksum/MD5/28 922s ok 31 /checksum/MD5/29 922s ok 32 /checksum/MD5/30 922s ok 33 /checksum/MD5/31 922s ok 34 /checksum/MD5/32 922s ok 35 /checksum/MD5/33 922s ok 36 /checksum/MD5/34 922s ok 37 /checksum/MD5/35 922s ok 38 /checksum/MD5/36 922s ok 39 /checksum/MD5/37 922s ok 40 /checksum/MD5/38 922s ok 41 /checksum/MD5/39 922s ok 42 /checksum/MD5/40 922s ok 43 /checksum/MD5/41 922s ok 44 /checksum/MD5/42 922s ok 45 /checksum/MD5/43 922s ok 46 /checksum/MD5/44 922s ok 47 /checksum/MD5/45 922s ok 48 /checksum/MD5/46 922s ok 49 /checksum/MD5/47 922s ok 50 /checksum/MD5/48 922s ok 51 /checksum/MD5/49 922s ok 52 /checksum/MD5/50 922s ok 53 /checksum/MD5/51 922s ok 54 /checksum/MD5/52 922s ok 55 /checksum/MD5/53 922s ok 56 /checksum/MD5/54 922s ok 57 /checksum/MD5/55 922s ok 58 /checksum/MD5/56 922s ok 59 /checksum/MD5/57 922s ok 60 /checksum/MD5/58 922s ok 61 /checksum/MD5/59 922s ok 62 /checksum/MD5/60 922s ok 63 /checksum/MD5/61 922s ok 64 /checksum/MD5/62 922s ok 65 /checksum/MD5/63 922s ok 66 /checksum/MD5/64 922s ok 67 /checksum/MD5/65 922s ok 68 /checksum/MD5/66 922s ok 69 /checksum/MD5/67 922s ok 70 /checksum/MD5/68 922s ok 71 /checksum/MD5/69 922s ok 72 /checksum/MD5/70 922s ok 73 /checksum/MD5/71 922s ok 74 /checksum/MD5/72 922s ok 75 /checksum/MD5/73 922s ok 76 /checksum/MD5/74 922s ok 77 /checksum/MD5/75 922s ok 78 /checksum/MD5/76 922s ok 79 /checksum/MD5/77 922s ok 80 /checksum/MD5/78 922s ok 81 /checksum/MD5/79 922s ok 82 /checksum/MD5/80 922s ok 83 /checksum/MD5/81 922s ok 84 /checksum/MD5/82 922s ok 85 /checksum/MD5/83 922s ok 86 /checksum/MD5/84 922s ok 87 /checksum/MD5/85 922s ok 88 /checksum/MD5/86 922s ok 89 /checksum/MD5/87 922s ok 90 /checksum/MD5/88 922s ok 91 /checksum/MD5/89 922s ok 92 /checksum/MD5/90 922s ok 93 /checksum/MD5/91 922s ok 94 /checksum/MD5/92 922s ok 95 /checksum/MD5/93 922s ok 96 /checksum/MD5/94 922s ok 97 /checksum/MD5/95 922s ok 98 /checksum/MD5/96 922s ok 99 /checksum/MD5/97 922s ok 100 /checksum/MD5/98 922s ok 101 /checksum/MD5/99 922s ok 102 /checksum/MD5/100 922s ok 103 /checksum/MD5/101 922s ok 104 /checksum/MD5/102 922s ok 105 /checksum/MD5/103 922s ok 106 /checksum/MD5/104 922s ok 107 /checksum/MD5/105 922s ok 108 /checksum/MD5/106 922s ok 109 /checksum/MD5/107 922s ok 110 /checksum/MD5/108 922s ok 111 /checksum/MD5/109 922s ok 112 /checksum/MD5/110 922s ok 113 /checksum/MD5/111 922s ok 114 /checksum/MD5/112 922s ok 115 /checksum/MD5/113 922s ok 116 /checksum/MD5/114 922s ok 117 /checksum/MD5/115 922s ok 118 /checksum/MD5/116 922s ok 119 /checksum/MD5/117 922s ok 120 /checksum/MD5/118 922s ok 121 /checksum/MD5/119 922s ok 122 /checksum/MD5/120 922s ok 123 /checksum/MD5/121 922s ok 124 /checksum/MD5/122 922s ok 125 /checksum/MD5/123 922s ok 126 /checksum/MD5/124 922s ok 127 /checksum/MD5/125 922s ok 128 /checksum/MD5/126 922s ok 129 /checksum/MD5/127 922s ok 130 /checksum/MD5/128 922s ok 131 /checksum/MD5/129 922s ok 132 /checksum/MD5/130 922s ok 133 /checksum/MD5/131 922s ok 134 /checksum/MD5/132 922s ok 135 /checksum/MD5/133 922s ok 136 /checksum/MD5/134 922s ok 137 /checksum/MD5/135 922s ok 138 /checksum/MD5/136 922s ok 139 /checksum/MD5/137 922s ok 140 /checksum/MD5/138 922s ok 141 /checksum/MD5/139 922s ok 142 /checksum/MD5/140 922s ok 143 /checksum/MD5/141 922s ok 144 /checksum/MD5/142 922s ok 145 /checksum/MD5/143 922s ok 146 /checksum/MD5/144 922s ok 147 /checksum/MD5/145 922s ok 148 /checksum/MD5/146 922s ok 149 /checksum/MD5/147 922s ok 150 /checksum/MD5/148 922s ok 151 /checksum/MD5/149 922s ok 152 /checksum/MD5/150 922s ok 153 /checksum/MD5/151 922s ok 154 /checksum/MD5/152 922s ok 155 /checksum/MD5/153 922s ok 156 /checksum/MD5/154 922s ok 157 /checksum/MD5/155 922s ok 158 /checksum/MD5/156 922s ok 159 /checksum/MD5/157 922s ok 160 /checksum/MD5/158 922s ok 161 /checksum/MD5/159 922s ok 162 /checksum/MD5/160 922s ok 163 /checksum/MD5/161 922s ok 164 /checksum/MD5/162 922s ok 165 /checksum/MD5/163 922s ok 166 /checksum/MD5/164 922s ok 167 /checksum/MD5/165 922s ok 168 /checksum/MD5/166 922s ok 169 /checksum/MD5/167 922s ok 170 /checksum/MD5/168 922s ok 171 /checksum/MD5/169 922s ok 172 /checksum/MD5/170 922s ok 173 /checksum/MD5/171 922s ok 174 /checksum/MD5/172 922s ok 175 /checksum/MD5/173 922s ok 176 /checksum/MD5/174 922s ok 177 /checksum/MD5/175 922s ok 178 /checksum/MD5/176 922s ok 179 /checksum/MD5/177 922s ok 180 /checksum/MD5/178 922s ok 181 /checksum/MD5/179 922s ok 182 /checksum/MD5/180 922s ok 183 /checksum/MD5/181 922s ok 184 /checksum/MD5/182 922s ok 185 /checksum/MD5/183 922s ok 186 /checksum/MD5/string 922s ok 187 /checksum/MD5/bytes 922s # Start of reset tests 922s ok 188 /checksum/MD5/reset/0 922s ok 189 /checksum/MD5/reset/1 922s ok 190 /checksum/MD5/reset/2 922s ok 191 /checksum/MD5/reset/3 922s ok 192 /checksum/MD5/reset/4 922s ok 193 /checksum/MD5/reset/5 922s ok 194 /checksum/MD5/reset/6 922s ok 195 /checksum/MD5/reset/7 922s ok 196 /checksum/MD5/reset/8 922s ok 197 /checksum/MD5/reset/9 922s ok 198 /checksum/MD5/reset/10 922s ok 199 /checksum/MD5/reset/11 922s ok 200 /checksum/MD5/reset/12 922s ok 201 /checksum/MD5/reset/13 922s ok 202 /checksum/MD5/reset/14 922s ok 203 /checksum/MD5/reset/15 922s ok 204 /checksum/MD5/reset/16 922s ok 205 /checksum/MD5/reset/17 922s ok 206 /checksum/MD5/reset/18 922s ok 207 /checksum/MD5/reset/19 922s ok 208 /checksum/MD5/reset/20 922s ok 209 /checksum/MD5/reset/21 922s ok 210 /checksum/MD5/reset/22 922s ok 211 /checksum/MD5/reset/23 922s ok 212 /checksum/MD5/reset/24 922s ok 213 /checksum/MD5/reset/25 922s ok 214 /checksum/MD5/reset/26 922s ok 215 /checksum/MD5/reset/27 922s ok 216 /checksum/MD5/reset/28 922s ok 217 /checksum/MD5/reset/29 922s ok 218 /checksum/MD5/reset/30 922s ok 219 /checksum/MD5/reset/31 922s ok 220 /checksum/MD5/reset/32 922s ok 221 /checksum/MD5/reset/33 922s ok 222 /checksum/MD5/reset/34 922s ok 223 /checksum/MD5/reset/35 922s ok 224 /checksum/MD5/reset/36 922s ok 225 /checksum/MD5/reset/37 922s ok 226 /checksum/MD5/reset/38 922s ok 227 /checksum/MD5/reset/39 922s ok 228 /checksum/MD5/reset/40 922s ok 229 /checksum/MD5/reset/41 922s ok 230 /checksum/MD5/reset/42 922s ok 231 /checksum/MD5/reset/43 922s ok 232 /checksum/MD5/reset/44 922s ok 233 /checksum/MD5/reset/45 922s ok 234 /checksum/MD5/reset/46 922s ok 235 /checksum/MD5/reset/47 922s ok 236 /checksum/MD5/reset/48 922s ok 237 /checksum/MD5/reset/49 922s ok 238 /checksum/MD5/reset/50 922s ok 239 /checksum/MD5/reset/51 922s ok 240 /checksum/MD5/reset/52 922s ok 241 /checksum/MD5/reset/53 922s ok 242 /checksum/MD5/reset/54 922s ok 243 /checksum/MD5/reset/55 922s ok 244 /checksum/MD5/reset/56 922s ok 245 /checksum/MD5/reset/57 922s ok 246 /checksum/MD5/reset/58 922s ok 247 /checksum/MD5/reset/59 922s ok 248 /checksum/MD5/reset/60 922s ok 249 /checksum/MD5/reset/61 922s ok 250 /checksum/MD5/reset/62 922s ok 251 /checksum/MD5/reset/63 922s ok 252 /checksum/MD5/reset/64 922s ok 253 /checksum/MD5/reset/65 922s ok 254 /checksum/MD5/reset/66 922s ok 255 /checksum/MD5/reset/67 922s ok 256 /checksum/MD5/reset/68 922s ok 257 /checksum/MD5/reset/69 922s ok 258 /checksum/MD5/reset/70 922s ok 259 /checksum/MD5/reset/71 922s ok 260 /checksum/MD5/reset/72 922s ok 261 /checksum/MD5/reset/73 922s ok 262 /checksum/MD5/reset/74 922s ok 263 /checksum/MD5/reset/75 922s ok 264 /checksum/MD5/reset/76 922s ok 265 /checksum/MD5/reset/77 922s ok 266 /checksum/MD5/reset/78 922s ok 267 /checksum/MD5/reset/79 922s ok 268 /checksum/MD5/reset/80 922s ok 269 /checksum/MD5/reset/81 922s ok 270 /checksum/MD5/reset/82 922s ok 271 /checksum/MD5/reset/83 922s ok 272 /checksum/MD5/reset/84 922s ok 273 /checksum/MD5/reset/85 922s ok 274 /checksum/MD5/reset/86 922s ok 275 /checksum/MD5/reset/87 922s ok 276 /checksum/MD5/reset/88 922s ok 277 /checksum/MD5/reset/89 922s ok 278 /checksum/MD5/reset/90 922s ok 279 /checksum/MD5/reset/91 922s ok 280 /checksum/MD5/reset/92 922s ok 281 /checksum/MD5/reset/93 922s ok 282 /checksum/MD5/reset/94 922s ok 283 /checksum/MD5/reset/95 922s ok 284 /checksum/MD5/reset/96 922s ok 285 /checksum/MD5/reset/97 922s ok 286 /checksum/MD5/reset/98 922s ok 287 /checksum/MD5/reset/99 922s ok 288 /checksum/MD5/reset/100 922s ok 289 /checksum/MD5/reset/101 922s ok 290 /checksum/MD5/reset/102 922s ok 291 /checksum/MD5/reset/103 922s ok 292 /checksum/MD5/reset/104 922s ok 293 /checksum/MD5/reset/105 922s ok 294 /checksum/MD5/reset/106 922s ok 295 /checksum/MD5/reset/107 922s ok 296 /checksum/MD5/reset/108 922s ok 297 /checksum/MD5/reset/109 922s ok 298 /checksum/MD5/reset/110 922s ok 299 /checksum/MD5/reset/111 922s ok 300 /checksum/MD5/reset/112 922s ok 301 /checksum/MD5/reset/113 922s ok 302 /checksum/MD5/reset/114 922s ok 303 /checksum/MD5/reset/115 922s ok 304 /checksum/MD5/reset/116 922s ok 305 /checksum/MD5/reset/117 922s ok 306 /checksum/MD5/reset/118 922s ok 307 /checksum/MD5/reset/119 922s ok 308 /checksum/MD5/reset/120 922s ok 309 /checksum/MD5/reset/121 922s ok 310 /checksum/MD5/reset/122 922s ok 311 /checksum/MD5/reset/123 922s ok 312 /checksum/MD5/reset/124 922s ok 313 /checksum/MD5/reset/125 922s ok 314 /checksum/MD5/reset/126 922s ok 315 /checksum/MD5/reset/127 922s ok 316 /checksum/MD5/reset/128 922s ok 317 /checksum/MD5/reset/129 922s ok 318 /checksum/MD5/reset/130 922s ok 319 /checksum/MD5/reset/131 922s ok 320 /checksum/MD5/reset/132 922s ok 321 /checksum/MD5/reset/133 922s ok 322 /checksum/MD5/reset/134 922s ok 323 /checksum/MD5/reset/135 922s ok 324 /checksum/MD5/reset/136 922s ok 325 /checksum/MD5/reset/137 922s ok 326 /checksum/MD5/reset/138 922s ok 327 /checksum/MD5/reset/139 922s ok 328 /checksum/MD5/reset/140 922s ok 329 /checksum/MD5/reset/141 922s ok 330 /checksum/MD5/reset/142 922s ok 331 /checksum/MD5/reset/143 922s ok 332 /checksum/MD5/reset/144 922s ok 333 /checksum/MD5/reset/145 922s ok 334 /checksum/MD5/reset/146 922s ok 335 /checksum/MD5/reset/147 922s ok 336 /checksum/MD5/reset/148 922s ok 337 /checksum/MD5/reset/149 922s ok 338 /checksum/MD5/reset/150 922s ok 339 /checksum/MD5/reset/151 922s ok 340 /checksum/MD5/reset/152 922s ok 341 /checksum/MD5/reset/153 922s ok 342 /checksum/MD5/reset/154 922s ok 343 /checksum/MD5/reset/155 922s ok 344 /checksum/MD5/reset/156 922s ok 345 /checksum/MD5/reset/157 922s ok 346 /checksum/MD5/reset/158 922s ok 347 /checksum/MD5/reset/159 922s ok 348 /checksum/MD5/reset/160 922s ok 349 /checksum/MD5/reset/161 922s ok 350 /checksum/MD5/reset/162 922s ok 351 /checksum/MD5/reset/163 922s ok 352 /checksum/MD5/reset/164 922s ok 353 /checksum/MD5/reset/165 922s ok 354 /checksum/MD5/reset/166 922s ok 355 /checksum/MD5/reset/167 922s ok 356 /checksum/MD5/reset/168 922s ok 357 /checksum/MD5/reset/169 922s ok 358 /checksum/MD5/reset/170 922s ok 359 /checksum/MD5/reset/171 922s ok 360 /checksum/MD5/reset/172 922s ok 361 /checksum/MD5/reset/173 922s ok 362 /checksum/MD5/reset/174 922s ok 363 /checksum/MD5/reset/175 922s ok 364 /checksum/MD5/reset/176 922s ok 365 /checksum/MD5/reset/177 922s ok 366 /checksum/MD5/reset/178 922s ok 367 /checksum/MD5/reset/179 922s ok 368 /checksum/MD5/reset/180 922s ok 369 /checksum/MD5/reset/181 922s ok 370 /checksum/MD5/reset/182 922s ok 371 /checksum/MD5/reset/183 922s # End of reset tests 922s # End of MD5 tests 922s # Start of SHA1 tests 922s ok 372 /checksum/SHA1/0 922s ok 373 /checksum/SHA1/1 922s ok 374 /checksum/SHA1/2 922s ok 375 /checksum/SHA1/3 922s ok 376 /checksum/SHA1/4 922s ok 377 /checksum/SHA1/5 922s ok 378 /checksum/SHA1/6 922s ok 379 /checksum/SHA1/7 922s ok 380 /checksum/SHA1/8 922s ok 381 /checksum/SHA1/9 922s ok 382 /checksum/SHA1/10 922s ok 383 /checksum/SHA1/11 922s ok 384 /checksum/SHA1/12 922s ok 385 /checksum/SHA1/13 922s ok 386 /checksum/SHA1/14 922s ok 387 /checksum/SHA1/15 922s ok 388 /checksum/SHA1/16 922s ok 389 /checksum/SHA1/17 922s ok 390 /checksum/SHA1/18 922s ok 391 /checksum/SHA1/19 922s ok 392 /checksum/SHA1/20 922s ok 393 /checksum/SHA1/21 922s ok 394 /checksum/SHA1/22 922s ok 395 /checksum/SHA1/23 922s ok 396 /checksum/SHA1/24 922s ok 397 /checksum/SHA1/25 922s ok 398 /checksum/SHA1/26 922s ok 399 /checksum/SHA1/27 922s ok 400 /checksum/SHA1/28 922s ok 401 /checksum/SHA1/29 922s ok 402 /checksum/SHA1/30 922s ok 403 /checksum/SHA1/31 922s ok 404 /checksum/SHA1/32 922s ok 405 /checksum/SHA1/33 922s ok 406 /checksum/SHA1/34 922s ok 407 /checksum/SHA1/35 922s ok 408 /checksum/SHA1/36 922s ok 409 /checksum/SHA1/37 922s ok 410 /checksum/SHA1/38 922s ok 411 /checksum/SHA1/39 922s ok 412 /checksum/SHA1/40 922s ok 413 /checksum/SHA1/41 922s ok 414 /checksum/SHA1/42 922s ok 415 /checksum/SHA1/43 922s ok 416 /checksum/SHA1/44 922s ok 417 /checksum/SHA1/45 922s ok 418 /checksum/SHA1/46 922s ok 419 /checksum/SHA1/47 922s ok 420 /checksum/SHA1/48 922s ok 421 /checksum/SHA1/49 922s ok 422 /checksum/SHA1/50 922s ok 423 /checksum/SHA1/51 922s ok 424 /checksum/SHA1/52 922s ok 425 /checksum/SHA1/53 922s ok 426 /checksum/SHA1/54 922s ok 427 /checksum/SHA1/55 922s ok 428 /checksum/SHA1/56 922s ok 429 /checksum/SHA1/57 922s ok 430 /checksum/SHA1/58 922s ok 431 /checksum/SHA1/59 922s ok 432 /checksum/SHA1/60 922s ok 433 /checksum/SHA1/61 922s ok 434 /checksum/SHA1/62 922s ok 435 /checksum/SHA1/63 922s ok 436 /checksum/SHA1/64 922s ok 437 /checksum/SHA1/65 922s ok 438 /checksum/SHA1/66 922s ok 439 /checksum/SHA1/67 922s ok 440 /checksum/SHA1/68 922s ok 441 /checksum/SHA1/69 922s ok 442 /checksum/SHA1/70 922s ok 443 /checksum/SHA1/71 922s ok 444 /checksum/SHA1/72 922s ok 445 /checksum/SHA1/73 922s ok 446 /checksum/SHA1/74 922s ok 447 /checksum/SHA1/75 922s ok 448 /checksum/SHA1/76 922s ok 449 /checksum/SHA1/77 922s ok 450 /checksum/SHA1/78 922s ok 451 /checksum/SHA1/79 922s ok 452 /checksum/SHA1/80 922s ok 453 /checksum/SHA1/81 922s ok 454 /checksum/SHA1/82 922s ok 455 /checksum/SHA1/83 922s ok 456 /checksum/SHA1/84 922s ok 457 /checksum/SHA1/85 922s ok 458 /checksum/SHA1/86 922s ok 459 /checksum/SHA1/87 922s ok 460 /checksum/SHA1/88 922s ok 461 /checksum/SHA1/89 922s ok 462 /checksum/SHA1/90 922s ok 463 /checksum/SHA1/91 922s ok 464 /checksum/SHA1/92 922s ok 465 /checksum/SHA1/93 922s ok 466 /checksum/SHA1/94 922s ok 467 /checksum/SHA1/95 922s ok 468 /checksum/SHA1/96 922s ok 469 /checksum/SHA1/97 922s ok 470 /checksum/SHA1/98 922s ok 471 /checksum/SHA1/99 922s ok 472 /checksum/SHA1/100 922s ok 473 /checksum/SHA1/101 922s ok 474 /checksum/SHA1/102 922s ok 475 /checksum/SHA1/103 922s ok 476 /checksum/SHA1/104 922s ok 477 /checksum/SHA1/105 922s ok 478 /checksum/SHA1/106 922s ok 479 /checksum/SHA1/107 922s ok 480 /checksum/SHA1/108 922s ok 481 /checksum/SHA1/109 922s ok 482 /checksum/SHA1/110 922s ok 483 /checksum/SHA1/111 922s ok 484 /checksum/SHA1/112 922s ok 485 /checksum/SHA1/113 922s ok 486 /checksum/SHA1/114 922s ok 487 /checksum/SHA1/115 922s ok 488 /checksum/SHA1/116 922s ok 489 /checksum/SHA1/117 922s ok 490 /checksum/SHA1/118 922s ok 491 /checksum/SHA1/119 922s ok 492 /checksum/SHA1/120 922s ok 493 /checksum/SHA1/121 922s ok 494 /checksum/SHA1/122 922s ok 495 /checksum/SHA1/123 922s ok 496 /checksum/SHA1/124 922s ok 497 /checksum/SHA1/125 922s ok 498 /checksum/SHA1/126 922s ok 499 /checksum/SHA1/127 922s ok 500 /checksum/SHA1/128 922s ok 501 /checksum/SHA1/129 922s ok 502 /checksum/SHA1/130 922s ok 503 /checksum/SHA1/131 922s ok 504 /checksum/SHA1/132 922s ok 505 /checksum/SHA1/133 922s ok 506 /checksum/SHA1/134 922s ok 507 /checksum/SHA1/135 922s ok 508 /checksum/SHA1/136 922s ok 509 /checksum/SHA1/137 922s ok 510 /checksum/SHA1/138 922s ok 511 /checksum/SHA1/139 922s ok 512 /checksum/SHA1/140 922s ok 513 /checksum/SHA1/141 922s ok 514 /checksum/SHA1/142 922s ok 515 /checksum/SHA1/143 922s ok 516 /checksum/SHA1/144 922s ok 517 /checksum/SHA1/145 922s ok 518 /checksum/SHA1/146 922s ok 519 /checksum/SHA1/147 922s ok 520 /checksum/SHA1/148 922s ok 521 /checksum/SHA1/149 922s ok 522 /checksum/SHA1/150 922s ok 523 /checksum/SHA1/151 922s ok 524 /checksum/SHA1/152 922s ok 525 /checksum/SHA1/153 922s ok 526 /checksum/SHA1/154 922s ok 527 /checksum/SHA1/155 922s ok 528 /checksum/SHA1/156 922s ok 529 /checksum/SHA1/157 922s ok 530 /checksum/SHA1/158 922s ok 531 /checksum/SHA1/159 922s ok 532 /checksum/SHA1/160 922s ok 533 /checksum/SHA1/161 922s ok 534 /checksum/SHA1/162 922s ok 535 /checksum/SHA1/163 922s ok 536 /checksum/SHA1/164 922s ok 537 /checksum/SHA1/165 922s ok 538 /checksum/SHA1/166 922s ok 539 /checksum/SHA1/167 922s ok 540 /checksum/SHA1/168 922s ok 541 /checksum/SHA1/169 922s ok 542 /checksum/SHA1/170 922s ok 543 /checksum/SHA1/171 922s ok 544 /checksum/SHA1/172 922s ok 545 /checksum/SHA1/173 922s ok 546 /checksum/SHA1/174 922s ok 547 /checksum/SHA1/175 922s ok 548 /checksum/SHA1/176 922s ok 549 /checksum/SHA1/177 922s ok 550 /checksum/SHA1/178 922s ok 551 /checksum/SHA1/179 922s ok 552 /checksum/SHA1/180 922s ok 553 /checksum/SHA1/181 922s ok 554 /checksum/SHA1/182 922s ok 555 /checksum/SHA1/183 922s ok 556 /checksum/SHA1/string 922s ok 557 /checksum/SHA1/bytes 922s # Start of reset tests 922s ok 558 /checksum/SHA1/reset/0 922s ok 559 /checksum/SHA1/reset/1 922s ok 560 /checksum/SHA1/reset/2 922s ok 561 /checksum/SHA1/reset/3 922s ok 562 /checksum/SHA1/reset/4 922s ok 563 /checksum/SHA1/reset/5 922s ok 564 /checksum/SHA1/reset/6 922s ok 565 /checksum/SHA1/reset/7 922s ok 566 /checksum/SHA1/reset/8 922s ok 567 /checksum/SHA1/reset/9 922s ok 568 /checksum/SHA1/reset/10 922s ok 569 /checksum/SHA1/reset/11 922s ok 570 /checksum/SHA1/reset/12 922s ok 571 /checksum/SHA1/reset/13 922s ok 572 /checksum/SHA1/reset/14 922s ok 573 /checksum/SHA1/reset/15 922s ok 574 /checksum/SHA1/reset/16 922s ok 575 /checksum/SHA1/reset/17 922s ok 576 /checksum/SHA1/reset/18 922s ok 577 /checksum/SHA1/reset/19 922s ok 578 /checksum/SHA1/reset/20 922s ok 579 /checksum/SHA1/reset/21 922s ok 580 /checksum/SHA1/reset/22 922s ok 581 /checksum/SHA1/reset/23 922s ok 582 /checksum/SHA1/reset/24 922s ok 583 /checksum/SHA1/reset/25 922s ok 584 /checksum/SHA1/reset/26 922s ok 585 /checksum/SHA1/reset/27 922s ok 586 /checksum/SHA1/reset/28 922s ok 587 /checksum/SHA1/reset/29 922s ok 588 /checksum/SHA1/reset/30 922s ok 589 /checksum/SHA1/reset/31 922s ok 590 /checksum/SHA1/reset/32 922s ok 591 /checksum/SHA1/reset/33 922s ok 592 /checksum/SHA1/reset/34 922s ok 593 /checksum/SHA1/reset/35 922s ok 594 /checksum/SHA1/reset/36 922s ok 595 /checksum/SHA1/reset/37 922s ok 596 /checksum/SHA1/reset/38 922s ok 597 /checksum/SHA1/reset/39 922s ok 598 /checksum/SHA1/reset/40 922s ok 599 /checksum/SHA1/reset/41 922s ok 600 /checksum/SHA1/reset/42 922s ok 601 /checksum/SHA1/reset/43 922s ok 602 /checksum/SHA1/reset/44 922s ok 603 /checksum/SHA1/reset/45 922s ok 604 /checksum/SHA1/reset/46 922s ok 605 /checksum/SHA1/reset/47 922s ok 606 /checksum/SHA1/reset/48 922s ok 607 /checksum/SHA1/reset/49 922s ok 608 /checksum/SHA1/reset/50 922s ok 609 /checksum/SHA1/reset/51 922s ok 610 /checksum/SHA1/reset/52 922s ok 611 /checksum/SHA1/reset/53 922s ok 612 /checksum/SHA1/reset/54 922s ok 613 /checksum/SHA1/reset/55 922s ok 614 /checksum/SHA1/reset/56 922s ok 615 /checksum/SHA1/reset/57 922s ok 616 /checksum/SHA1/reset/58 922s ok 617 /checksum/SHA1/reset/59 922s ok 618 /checksum/SHA1/reset/60 922s ok 619 /checksum/SHA1/reset/61 922s ok 620 /checksum/SHA1/reset/62 922s ok 621 /checksum/SHA1/reset/63 922s ok 622 /checksum/SHA1/reset/64 922s ok 623 /checksum/SHA1/reset/65 922s ok 624 /checksum/SHA1/reset/66 922s ok 625 /checksum/SHA1/reset/67 922s ok 626 /checksum/SHA1/reset/68 922s ok 627 /checksum/SHA1/reset/69 922s ok 628 /checksum/SHA1/reset/70 922s ok 629 /checksum/SHA1/reset/71 922s ok 630 /checksum/SHA1/reset/72 922s ok 631 /checksum/SHA1/reset/73 922s ok 632 /checksum/SHA1/reset/74 922s ok 633 /checksum/SHA1/reset/75 922s ok 634 /checksum/SHA1/reset/76 922s ok 635 /checksum/SHA1/reset/77 922s ok 636 /checksum/SHA1/reset/78 922s ok 637 /checksum/SHA1/reset/79 922s ok 638 /checksum/SHA1/reset/80 922s ok 639 /checksum/SHA1/reset/81 922s ok 640 /checksum/SHA1/reset/82 922s ok 641 /checksum/SHA1/reset/83 922s ok 642 /checksum/SHA1/reset/84 922s ok 643 /checksum/SHA1/reset/85 922s ok 644 /checksum/SHA1/reset/86 922s ok 645 /checksum/SHA1/reset/87 922s ok 646 /checksum/SHA1/reset/88 922s ok 647 /checksum/SHA1/reset/89 922s ok 648 /checksum/SHA1/reset/90 922s ok 649 /checksum/SHA1/reset/91 922s ok 650 /checksum/SHA1/reset/92 922s ok 651 /checksum/SHA1/reset/93 922s ok 652 /checksum/SHA1/reset/94 922s ok 653 /checksum/SHA1/reset/95 922s ok 654 /checksum/SHA1/reset/96 922s ok 655 /checksum/SHA1/reset/97 922s ok 656 /checksum/SHA1/reset/98 922s ok 657 /checksum/SHA1/reset/99 922s ok 658 /checksum/SHA1/reset/100 922s ok 659 /checksum/SHA1/reset/101 922s ok 660 /checksum/SHA1/reset/102 922s ok 661 /checksum/SHA1/reset/103 922s ok 662 /checksum/SHA1/reset/104 922s ok 663 /checksum/SHA1/reset/105 922s ok 664 /checksum/SHA1/reset/106 922s ok 665 /checksum/SHA1/reset/107 922s ok 666 /checksum/SHA1/reset/108 922s ok 667 /checksum/SHA1/reset/109 922s ok 668 /checksum/SHA1/reset/110 922s ok 669 /checksum/SHA1/reset/111 922s ok 670 /checksum/SHA1/reset/112 922s ok 671 /checksum/SHA1/reset/113 922s ok 672 /checksum/SHA1/reset/114 922s ok 673 /checksum/SHA1/reset/115 922s ok 674 /checksum/SHA1/reset/116 922s ok 675 /checksum/SHA1/reset/117 922s ok 676 /checksum/SHA1/reset/118 922s ok 677 /checksum/SHA1/reset/119 922s ok 678 /checksum/SHA1/reset/120 922s ok 679 /checksum/SHA1/reset/121 922s ok 680 /checksum/SHA1/reset/122 922s ok 681 /checksum/SHA1/reset/123 922s ok 682 /checksum/SHA1/reset/124 922s ok 683 /checksum/SHA1/reset/125 922s ok 684 /checksum/SHA1/reset/126 922s ok 685 /checksum/SHA1/reset/127 922s ok 686 /checksum/SHA1/reset/128 922s ok 687 /checksum/SHA1/reset/129 922s ok 688 /checksum/SHA1/reset/130 922s ok 689 /checksum/SHA1/reset/131 922s ok 690 /checksum/SHA1/reset/132 922s ok 691 /checksum/SHA1/reset/133 922s ok 692 /checksum/SHA1/reset/134 922s ok 693 /checksum/SHA1/reset/135 922s ok 694 /checksum/SHA1/reset/136 922s ok 695 /checksum/SHA1/reset/137 922s ok 696 /checksum/SHA1/reset/138 922s ok 697 /checksum/SHA1/reset/139 922s ok 698 /checksum/SHA1/reset/140 922s ok 699 /checksum/SHA1/reset/141 922s ok 700 /checksum/SHA1/reset/142 922s ok 701 /checksum/SHA1/reset/143 922s ok 702 /checksum/SHA1/reset/144 922s ok 703 /checksum/SHA1/reset/145 922s ok 704 /checksum/SHA1/reset/146 922s ok 705 /checksum/SHA1/reset/147 922s ok 706 /checksum/SHA1/reset/148 922s ok 707 /checksum/SHA1/reset/149 922s ok 708 /checksum/SHA1/reset/150 922s ok 709 /checksum/SHA1/reset/151 922s ok 710 /checksum/SHA1/reset/152 922s ok 711 /checksum/SHA1/reset/153 922s ok 712 /checksum/SHA1/reset/154 922s ok 713 /checksum/SHA1/reset/155 922s ok 714 /checksum/SHA1/reset/156 922s ok 715 /checksum/SHA1/reset/157 922s ok 716 /checksum/SHA1/reset/158 922s ok 717 /checksum/SHA1/reset/159 922s ok 718 /checksum/SHA1/reset/160 922s ok 719 /checksum/SHA1/reset/161 922s ok 720 /checksum/SHA1/reset/162 922s ok 721 /checksum/SHA1/reset/163 922s ok 722 /checksum/SHA1/reset/164 922s ok 723 /checksum/SHA1/reset/165 922s ok 724 /checksum/SHA1/reset/166 922s ok 725 /checksum/SHA1/reset/167 922s ok 726 /checksum/SHA1/reset/168 922s ok 727 /checksum/SHA1/reset/169 922s ok 728 /checksum/SHA1/reset/170 922s ok 729 /checksum/SHA1/reset/171 922s ok 730 /checksum/SHA1/reset/172 922s ok 731 /checksum/SHA1/reset/173 922s ok 732 /checksum/SHA1/reset/174 922s ok 733 /checksum/SHA1/reset/175 922s ok 734 /checksum/SHA1/reset/176 922s ok 735 /checksum/SHA1/reset/177 922s ok 736 /checksum/SHA1/reset/178 922s ok 737 /checksum/SHA1/reset/179 922s ok 738 /checksum/SHA1/reset/180 922s ok 739 /checksum/SHA1/reset/181 922s ok 740 /checksum/SHA1/reset/182 922s ok 741 /checksum/SHA1/reset/183 922s # End of reset tests 922s # End of SHA1 tests 922s # Start of SHA256 tests 922s ok 742 /checksum/SHA256/0 922s ok 743 /checksum/SHA256/1 922s ok 744 /checksum/SHA256/2 922s ok 745 /checksum/SHA256/3 922s ok 746 /checksum/SHA256/4 922s ok 747 /checksum/SHA256/5 922s ok 748 /checksum/SHA256/6 922s ok 749 /checksum/SHA256/7 922s ok 750 /checksum/SHA256/8 922s ok 751 /checksum/SHA256/9 922s ok 752 /checksum/SHA256/10 922s ok 753 /checksum/SHA256/11 922s ok 754 /checksum/SHA256/12 922s ok 755 /checksum/SHA256/13 922s ok 756 /checksum/SHA256/14 922s ok 757 /checksum/SHA256/15 922s ok 758 /checksum/SHA256/16 922s ok 759 /checksum/SHA256/17 922s ok 760 /checksum/SHA256/18 922s ok 761 /checksum/SHA256/19 922s ok 762 /checksum/SHA256/20 922s ok 763 /checksum/SHA256/21 922s ok 764 /checksum/SHA256/22 922s ok 765 /checksum/SHA256/23 922s ok 766 /checksum/SHA256/24 922s ok 767 /checksum/SHA256/25 922s ok 768 /checksum/SHA256/26 922s ok 769 /checksum/SHA256/27 922s ok 770 /checksum/SHA256/28 922s ok 771 /checksum/SHA256/29 922s ok 772 /checksum/SHA256/30 922s ok 773 /checksum/SHA256/31 922s ok 774 /checksum/SHA256/32 922s ok 775 /checksum/SHA256/33 922s ok 776 /checksum/SHA256/34 922s ok 777 /checksum/SHA256/35 922s ok 778 /checksum/SHA256/36 922s ok 779 /checksum/SHA256/37 922s ok 780 /checksum/SHA256/38 922s ok 781 /checksum/SHA256/39 922s ok 782 /checksum/SHA256/40 922s ok 783 /checksum/SHA256/41 922s ok 784 /checksum/SHA256/42 922s ok 785 /checksum/SHA256/43 922s ok 786 /checksum/SHA256/44 922s ok 787 /checksum/SHA256/45 922s ok 788 /checksum/SHA256/46 922s ok 789 /checksum/SHA256/47 922s ok 790 /checksum/SHA256/48 922s ok 791 /checksum/SHA256/49 922s ok 792 /checksum/SHA256/50 922s ok 793 /checksum/SHA256/51 922s ok 794 /checksum/SHA256/52 922s ok 795 /checksum/SHA256/53 922s ok 796 /checksum/SHA256/54 922s ok 797 /checksum/SHA256/55 922s ok 798 /checksum/SHA256/56 922s ok 799 /checksum/SHA256/57 922s ok 800 /checksum/SHA256/58 922s ok 801 /checksum/SHA256/59 922s ok 802 /checksum/SHA256/60 922s ok 803 /checksum/SHA256/61 922s ok 804 /checksum/SHA256/62 922s ok 805 /checksum/SHA256/63 922s ok 806 /checksum/SHA256/64 922s ok 807 /checksum/SHA256/65 922s ok 808 /checksum/SHA256/66 922s ok 809 /checksum/SHA256/67 922s ok 810 /checksum/SHA256/68 922s ok 811 /checksum/SHA256/69 922s ok 812 /checksum/SHA256/70 922s ok 813 /checksum/SHA256/71 922s ok 814 /checksum/SHA256/72 922s ok 815 /checksum/SHA256/73 922s ok 816 /checksum/SHA256/74 922s ok 817 /checksum/SHA256/75 922s ok 818 /checksum/SHA256/76 922s ok 819 /checksum/SHA256/77 922s ok 820 /checksum/SHA256/78 922s ok 821 /checksum/SHA256/79 922s ok 822 /checksum/SHA256/80 922s ok 823 /checksum/SHA256/81 922s ok 824 /checksum/SHA256/82 922s ok 825 /checksum/SHA256/83 922s ok 826 /checksum/SHA256/84 922s ok 827 /checksum/SHA256/85 922s ok 828 /checksum/SHA256/86 922s ok 829 /checksum/SHA256/87 922s ok 830 /checksum/SHA256/88 922s ok 831 /checksum/SHA256/89 922s ok 832 /checksum/SHA256/90 922s ok 833 /checksum/SHA256/91 922s ok 834 /checksum/SHA256/92 922s ok 835 /checksum/SHA256/93 922s ok 836 /checksum/SHA256/94 922s ok 837 /checksum/SHA256/95 922s ok 838 /checksum/SHA256/96 922s ok 839 /checksum/SHA256/97 922s ok 840 /checksum/SHA256/98 922s ok 841 /checksum/SHA256/99 922s ok 842 /checksum/SHA256/100 922s ok 843 /checksum/SHA256/101 922s ok 844 /checksum/SHA256/102 922s ok 845 /checksum/SHA256/103 922s ok 846 /checksum/SHA256/104 922s ok 847 /checksum/SHA256/105 922s ok 848 /checksum/SHA256/106 922s ok 849 /checksum/SHA256/107 922s ok 850 /checksum/SHA256/108 922s ok 851 /checksum/SHA256/109 922s ok 852 /checksum/SHA256/110 922s ok 853 /checksum/SHA256/111 922s ok 854 /checksum/SHA256/112 922s ok 855 /checksum/SHA256/113 922s ok 856 /checksum/SHA256/114 922s ok 857 /checksum/SHA256/115 922s ok 858 /checksum/SHA256/116 922s ok 859 /checksum/SHA256/117 922s ok 860 /checksum/SHA256/118 922s ok 861 /checksum/SHA256/119 922s ok 862 /checksum/SHA256/120 922s ok 863 /checksum/SHA256/121 922s ok 864 /checksum/SHA256/122 922s ok 865 /checksum/SHA256/123 922s ok 866 /checksum/SHA256/124 922s ok 867 /checksum/SHA256/125 922s ok 868 /checksum/SHA256/126 922s ok 869 /checksum/SHA256/127 922s ok 870 /checksum/SHA256/128 922s ok 871 /checksum/SHA256/129 922s ok 872 /checksum/SHA256/130 922s ok 873 /checksum/SHA256/131 922s ok 874 /checksum/SHA256/132 922s ok 875 /checksum/SHA256/133 922s ok 876 /checksum/SHA256/134 922s ok 877 /checksum/SHA256/135 922s ok 878 /checksum/SHA256/136 922s ok 879 /checksum/SHA256/137 922s ok 880 /checksum/SHA256/138 922s ok 881 /checksum/SHA256/139 922s ok 882 /checksum/SHA256/140 922s ok 883 /checksum/SHA256/141 922s ok 884 /checksum/SHA256/142 922s ok 885 /checksum/SHA256/143 922s ok 886 /checksum/SHA256/144 922s ok 887 /checksum/SHA256/145 922s ok 888 /checksum/SHA256/146 922s ok 889 /checksum/SHA256/147 922s ok 890 /checksum/SHA256/148 922s ok 891 /checksum/SHA256/149 922s ok 892 /checksum/SHA256/150 922s ok 893 /checksum/SHA256/151 922s ok 894 /checksum/SHA256/152 922s ok 895 /checksum/SHA256/153 922s ok 896 /checksum/SHA256/154 922s ok 897 /checksum/SHA256/155 922s ok 898 /checksum/SHA256/156 922s ok 899 /checksum/SHA256/157 922s ok 900 /checksum/SHA256/158 922s ok 901 /checksum/SHA256/159 922s ok 902 /checksum/SHA256/160 922s ok 903 /checksum/SHA256/161 922s ok 904 /checksum/SHA256/162 922s ok 905 /checksum/SHA256/163 922s ok 906 /checksum/SHA256/164 922s ok 907 /checksum/SHA256/165 922s ok 908 /checksum/SHA256/166 922s ok 909 /checksum/SHA256/167 922s ok 910 /checksum/SHA256/168 922s ok 911 /checksum/SHA256/169 922s ok 912 /checksum/SHA256/170 922s ok 913 /checksum/SHA256/171 922s ok 914 /checksum/SHA256/172 922s ok 915 /checksum/SHA256/173 922s ok 916 /checksum/SHA256/174 922s ok 917 /checksum/SHA256/175 922s ok 918 /checksum/SHA256/176 922s ok 919 /checksum/SHA256/177 922s ok 920 /checksum/SHA256/178 922s ok 921 /checksum/SHA256/179 922s ok 922 /checksum/SHA256/180 922s ok 923 /checksum/SHA256/181 922s ok 924 /checksum/SHA256/182 922s ok 925 /checksum/SHA256/183 922s ok 926 /checksum/SHA256/string 922s ok 927 /checksum/SHA256/bytes 922s # Start of reset tests 922s ok 928 /checksum/SHA256/reset/0 922s ok 929 /checksum/SHA256/reset/1 922s ok 930 /checksum/SHA256/reset/2 922s ok 931 /checksum/SHA256/reset/3 922s ok 932 /checksum/SHA256/reset/4 922s ok 933 /checksum/SHA256/reset/5 922s ok 934 /checksum/SHA256/reset/6 922s ok 935 /checksum/SHA256/reset/7 922s ok 936 /checksum/SHA256/reset/8 922s ok 937 /checksum/SHA256/reset/9 922s ok 938 /checksum/SHA256/reset/10 922s ok 939 /checksum/SHA256/reset/11 922s ok 940 /checksum/SHA256/reset/12 922s ok 941 /checksum/SHA256/reset/13 922s ok 942 /checksum/SHA256/reset/14 922s ok 943 /checksum/SHA256/reset/15 922s ok 944 /checksum/SHA256/reset/16 922s ok 945 /checksum/SHA256/reset/17 922s ok 946 /checksum/SHA256/reset/18 922s ok 947 /checksum/SHA256/reset/19 922s ok 948 /checksum/SHA256/reset/20 922s ok 949 /checksum/SHA256/reset/21 922s ok 950 /checksum/SHA256/reset/22 922s ok 951 /checksum/SHA256/reset/23 922s ok 952 /checksum/SHA256/reset/24 922s ok 953 /checksum/SHA256/reset/25 922s ok 954 /checksum/SHA256/reset/26 922s ok 955 /checksum/SHA256/reset/27 922s ok 956 /checksum/SHA256/reset/28 922s ok 957 /checksum/SHA256/reset/29 922s ok 958 /checksum/SHA256/reset/30 922s ok 959 /checksum/SHA256/reset/31 922s ok 960 /checksum/SHA256/reset/32 922s ok 961 /checksum/SHA256/reset/33 922s ok 962 /checksum/SHA256/reset/34 922s ok 963 /checksum/SHA256/reset/35 922s ok 964 /checksum/SHA256/reset/36 922s ok 965 /checksum/SHA256/reset/37 922s ok 966 /checksum/SHA256/reset/38 922s ok 967 /checksum/SHA256/reset/39 922s ok 968 /checksum/SHA256/reset/40 922s ok 969 /checksum/SHA256/reset/41 922s ok 970 /checksum/SHA256/reset/42 922s ok 971 /checksum/SHA256/reset/43 922s ok 972 /checksum/SHA256/reset/44 922s ok 973 /checksum/SHA256/reset/45 922s ok 974 /checksum/SHA256/reset/46 922s ok 975 /checksum/SHA256/reset/47 922s ok 976 /checksum/SHA256/reset/48 922s ok 977 /checksum/SHA256/reset/49 922s ok 978 /checksum/SHA256/reset/50 922s ok 979 /checksum/SHA256/reset/51 922s ok 980 /checksum/SHA256/reset/52 922s ok 981 /checksum/SHA256/reset/53 922s ok 982 /checksum/SHA256/reset/54 922s ok 983 /checksum/SHA256/reset/55 922s ok 984 /checksum/SHA256/reset/56 922s ok 985 /checksum/SHA256/reset/57 922s ok 986 /checksum/SHA256/reset/58 922s ok 987 /checksum/SHA256/reset/59 922s ok 988 /checksum/SHA256/reset/60 922s ok 989 /checksum/SHA256/reset/61 922s ok 990 /checksum/SHA256/reset/62 922s ok 991 /checksum/SHA256/reset/63 922s ok 992 /checksum/SHA256/reset/64 922s ok 993 /checksum/SHA256/reset/65 922s ok 994 /checksum/SHA256/reset/66 922s ok 995 /checksum/SHA256/reset/67 922s ok 996 /checksum/SHA256/reset/68 922s ok 997 /checksum/SHA256/reset/69 922s ok 998 /checksum/SHA256/reset/70 922s ok 999 /checksum/SHA256/reset/71 922s ok 1000 /checksum/SHA256/reset/72 922s ok 1001 /checksum/SHA256/reset/73 922s ok 1002 /checksum/SHA256/reset/74 922s ok 1003 /checksum/SHA256/reset/75 922s ok 1004 /checksum/SHA256/reset/76 922s ok 1005 /checksum/SHA256/reset/77 922s ok 1006 /checksum/SHA256/reset/78 922s ok 1007 /checksum/SHA256/reset/79 922s ok 1008 /checksum/SHA256/reset/80 922s ok 1009 /checksum/SHA256/reset/81 922s ok 1010 /checksum/SHA256/reset/82 922s ok 1011 /checksum/SHA256/reset/83 922s ok 1012 /checksum/SHA256/reset/84 922s ok 1013 /checksum/SHA256/reset/85 922s ok 1014 /checksum/SHA256/reset/86 922s ok 1015 /checksum/SHA256/reset/87 922s ok 1016 /checksum/SHA256/reset/88 922s ok 1017 /checksum/SHA256/reset/89 922s ok 1018 /checksum/SHA256/reset/90 922s ok 1019 /checksum/SHA256/reset/91 922s ok 1020 /checksum/SHA256/reset/92 922s ok 1021 /checksum/SHA256/reset/93 922s ok 1022 /checksum/SHA256/reset/94 922s ok 1023 /checksum/SHA256/reset/95 922s ok 1024 /checksum/SHA256/reset/96 922s ok 1025 /checksum/SHA256/reset/97 922s ok 1026 /checksum/SHA256/reset/98 922s ok 1027 /checksum/SHA256/reset/99 922s ok 1028 /checksum/SHA256/reset/100 922s ok 1029 /checksum/SHA256/reset/101 922s ok 1030 /checksum/SHA256/reset/102 922s ok 1031 /checksum/SHA256/reset/103 922s ok 1032 /checksum/SHA256/reset/104 922s ok 1033 /checksum/SHA256/reset/105 922s ok 1034 /checksum/SHA256/reset/106 922s ok 1035 /checksum/SHA256/reset/107 922s ok 1036 /checksum/SHA256/reset/108 922s ok 1037 /checksum/SHA256/reset/109 922s ok 1038 /checksum/SHA256/reset/110 922s ok 1039 /checksum/SHA256/reset/111 922s ok 1040 /checksum/SHA256/reset/112 922s ok 1041 /checksum/SHA256/reset/113 922s ok 1042 /checksum/SHA256/reset/114 922s ok 1043 /checksum/SHA256/reset/115 922s ok 1044 /checksum/SHA256/reset/116 922s ok 1045 /checksum/SHA256/reset/117 922s ok 1046 /checksum/SHA256/reset/118 922s ok 1047 /checksum/SHA256/reset/119 922s ok 1048 /checksum/SHA256/reset/120 922s ok 1049 /checksum/SHA256/reset/121 922s ok 1050 /checksum/SHA256/reset/122 922s ok 1051 /checksum/SHA256/reset/123 922s ok 1052 /checksum/SHA256/reset/124 922s ok 1053 /checksum/SHA256/reset/125 922s ok 1054 /checksum/SHA256/reset/126 922s ok 1055 /checksum/SHA256/reset/127 922s ok 1056 /checksum/SHA256/reset/128 922s ok 1057 /checksum/SHA256/reset/129 922s ok 1058 /checksum/SHA256/reset/130 922s ok 1059 /checksum/SHA256/reset/131 922s ok 1060 /checksum/SHA256/reset/132 922s ok 1061 /checksum/SHA256/reset/133 922s ok 1062 /checksum/SHA256/reset/134 922s ok 1063 /checksum/SHA256/reset/135 922s ok 1064 /checksum/SHA256/reset/136 922s ok 1065 /checksum/SHA256/reset/137 922s ok 1066 /checksum/SHA256/reset/138 922s ok 1067 /checksum/SHA256/reset/139 922s ok 1068 /checksum/SHA256/reset/140 922s ok 1069 /checksum/SHA256/reset/141 922s ok 1070 /checksum/SHA256/reset/142 922s ok 1071 /checksum/SHA256/reset/143 922s ok 1072 /checksum/SHA256/reset/144 922s ok 1073 /checksum/SHA256/reset/145 922s ok 1074 /checksum/SHA256/reset/146 922s ok 1075 /checksum/SHA256/reset/147 922s ok 1076 /checksum/SHA256/reset/148 922s ok 1077 /checksum/SHA256/reset/149 922s ok 1078 /checksum/SHA256/reset/150 922s ok 1079 /checksum/SHA256/reset/151 922s ok 1080 /checksum/SHA256/reset/152 922s ok 1081 /checksum/SHA256/reset/153 922s ok 1082 /checksum/SHA256/reset/154 922s ok 1083 /checksum/SHA256/reset/155 922s ok 1084 /checksum/SHA256/reset/156 922s ok 1085 /checksum/SHA256/reset/157 922s ok 1086 /checksum/SHA256/reset/158 922s ok 1087 /checksum/SHA256/reset/159 922s ok 1088 /checksum/SHA256/reset/160 922s ok 1089 /checksum/SHA256/reset/161 922s ok 1090 /checksum/SHA256/reset/162 922s ok 1091 /checksum/SHA256/reset/163 922s ok 1092 /checksum/SHA256/reset/164 922s ok 1093 /checksum/SHA256/reset/165 922s ok 1094 /checksum/SHA256/reset/166 922s ok 1095 /checksum/SHA256/reset/167 922s ok 1096 /checksum/SHA256/reset/168 922s ok 1097 /checksum/SHA256/reset/169 922s ok 1098 /checksum/SHA256/reset/170 922s ok 1099 /checksum/SHA256/reset/171 922s ok 1100 /checksum/SHA256/reset/172 922s ok 1101 /checksum/SHA256/reset/173 922s ok 1102 /checksum/SHA256/reset/174 922s ok 1103 /checksum/SHA256/reset/175 922s ok 1104 /checksum/SHA256/reset/176 922s ok 1105 /checksum/SHA256/reset/177 922s ok 1106 /checksum/SHA256/reset/178 922s ok 1107 /checksum/SHA256/reset/179 922s ok 1108 /checksum/SHA256/reset/180 922s ok 1109 /checksum/SHA256/reset/181 922s ok 1110 /checksum/SHA256/reset/182 922s ok 1111 /checksum/SHA256/reset/183 922s # End of reset tests 922s # End of SHA256 tests 922s # Start of SHA384 tests 922s ok 1112 /checksum/SHA384/0 922s ok 1113 /checksum/SHA384/1 922s ok 1114 /checksum/SHA384/2 922s ok 1115 /checksum/SHA384/3 922s ok 1116 /checksum/SHA384/4 922s ok 1117 /checksum/SHA384/5 922s ok 1118 /checksum/SHA384/6 922s ok 1119 /checksum/SHA384/7 922s ok 1120 /checksum/SHA384/8 922s ok 1121 /checksum/SHA384/9 922s ok 1122 /checksum/SHA384/10 922s ok 1123 /checksum/SHA384/11 922s ok 1124 /checksum/SHA384/12 922s ok 1125 /checksum/SHA384/13 922s ok 1126 /checksum/SHA384/14 922s ok 1127 /checksum/SHA384/15 922s ok 1128 /checksum/SHA384/16 922s ok 1129 /checksum/SHA384/17 922s ok 1130 /checksum/SHA384/18 922s ok 1131 /checksum/SHA384/19 922s ok 1132 /checksum/SHA384/20 922s ok 1133 /checksum/SHA384/21 922s ok 1134 /checksum/SHA384/22 922s ok 1135 /checksum/SHA384/23 922s ok 1136 /checksum/SHA384/24 922s ok 1137 /checksum/SHA384/25 922s ok 1138 /checksum/SHA384/26 922s ok 1139 /checksum/SHA384/27 922s ok 1140 /checksum/SHA384/28 922s ok 1141 /checksum/SHA384/29 922s ok 1142 /checksum/SHA384/30 922s ok 1143 /checksum/SHA384/31 922s ok 1144 /checksum/SHA384/32 922s ok 1145 /checksum/SHA384/33 922s ok 1146 /checksum/SHA384/34 922s ok 1147 /checksum/SHA384/35 922s ok 1148 /checksum/SHA384/36 922s ok 1149 /checksum/SHA384/37 922s ok 1150 /checksum/SHA384/38 922s ok 1151 /checksum/SHA384/39 922s ok 1152 /checksum/SHA384/40 922s ok 1153 /checksum/SHA384/41 922s ok 1154 /checksum/SHA384/42 922s ok 1155 /checksum/SHA384/43 922s ok 1156 /checksum/SHA384/44 922s ok 1157 /checksum/SHA384/45 922s ok 1158 /checksum/SHA384/46 922s ok 1159 /checksum/SHA384/47 922s ok 1160 /checksum/SHA384/48 922s ok 1161 /checksum/SHA384/49 922s ok 1162 /checksum/SHA384/50 922s ok 1163 /checksum/SHA384/51 922s ok 1164 /checksum/SHA384/52 922s ok 1165 /checksum/SHA384/53 922s ok 1166 /checksum/SHA384/54 922s ok 1167 /checksum/SHA384/55 922s ok 1168 /checksum/SHA384/56 922s ok 1169 /checksum/SHA384/57 922s ok 1170 /checksum/SHA384/58 922s ok 1171 /checksum/SHA384/59 922s ok 1172 /checksum/SHA384/60 922s ok 1173 /checksum/SHA384/61 922s ok 1174 /checksum/SHA384/62 922s ok 1175 /checksum/SHA384/63 922s ok 1176 /checksum/SHA384/64 922s ok 1177 /checksum/SHA384/65 922s ok 1178 /checksum/SHA384/66 922s ok 1179 /checksum/SHA384/67 922s ok 1180 /checksum/SHA384/68 922s ok 1181 /checksum/SHA384/69 922s ok 1182 /checksum/SHA384/70 922s ok 1183 /checksum/SHA384/71 922s ok 1184 /checksum/SHA384/72 922s ok 1185 /checksum/SHA384/73 922s ok 1186 /checksum/SHA384/74 922s ok 1187 /checksum/SHA384/75 922s ok 1188 /checksum/SHA384/76 922s ok 1189 /checksum/SHA384/77 922s ok 1190 /checksum/SHA384/78 922s ok 1191 /checksum/SHA384/79 922s ok 1192 /checksum/SHA384/80 922s ok 1193 /checksum/SHA384/81 922s ok 1194 /checksum/SHA384/82 922s ok 1195 /checksum/SHA384/83 922s ok 1196 /checksum/SHA384/84 922s ok 1197 /checksum/SHA384/85 922s ok 1198 /checksum/SHA384/86 922s ok 1199 /checksum/SHA384/87 922s ok 1200 /checksum/SHA384/88 922s ok 1201 /checksum/SHA384/89 922s ok 1202 /checksum/SHA384/90 922s ok 1203 /checksum/SHA384/91 922s ok 1204 /checksum/SHA384/92 922s ok 1205 /checksum/SHA384/93 922s ok 1206 /checksum/SHA384/94 922s ok 1207 /checksum/SHA384/95 922s ok 1208 /checksum/SHA384/96 922s ok 1209 /checksum/SHA384/97 922s ok 1210 /checksum/SHA384/98 922s ok 1211 /checksum/SHA384/99 922s ok 1212 /checksum/SHA384/100 922s ok 1213 /checksum/SHA384/101 922s ok 1214 /checksum/SHA384/102 922s ok 1215 /checksum/SHA384/103 922s ok 1216 /checksum/SHA384/104 922s ok 1217 /checksum/SHA384/105 922s ok 1218 /checksum/SHA384/106 922s ok 1219 /checksum/SHA384/107 922s ok 1220 /checksum/SHA384/108 922s ok 1221 /checksum/SHA384/109 922s ok 1222 /checksum/SHA384/110 922s ok 1223 /checksum/SHA384/111 922s ok 1224 /checksum/SHA384/112 922s ok 1225 /checksum/SHA384/113 922s ok 1226 /checksum/SHA384/114 922s ok 1227 /checksum/SHA384/115 922s ok 1228 /checksum/SHA384/116 922s ok 1229 /checksum/SHA384/117 922s ok 1230 /checksum/SHA384/118 922s ok 1231 /checksum/SHA384/119 922s ok 1232 /checksum/SHA384/120 922s ok 1233 /checksum/SHA384/121 922s ok 1234 /checksum/SHA384/122 922s ok 1235 /checksum/SHA384/123 922s ok 1236 /checksum/SHA384/124 922s ok 1237 /checksum/SHA384/125 922s ok 1238 /checksum/SHA384/126 922s ok 1239 /checksum/SHA384/127 922s ok 1240 /checksum/SHA384/128 922s ok 1241 /checksum/SHA384/129 922s ok 1242 /checksum/SHA384/130 922s ok 1243 /checksum/SHA384/131 922s ok 1244 /checksum/SHA384/132 922s ok 1245 /checksum/SHA384/133 922s ok 1246 /checksum/SHA384/134 922s ok 1247 /checksum/SHA384/135 922s ok 1248 /checksum/SHA384/136 922s ok 1249 /checksum/SHA384/137 922s ok 1250 /checksum/SHA384/138 922s ok 1251 /checksum/SHA384/139 922s ok 1252 /checksum/SHA384/140 922s ok 1253 /checksum/SHA384/141 922s ok 1254 /checksum/SHA384/142 922s ok 1255 /checksum/SHA384/143 922s ok 1256 /checksum/SHA384/144 922s ok 1257 /checksum/SHA384/145 922s ok 1258 /checksum/SHA384/146 922s ok 1259 /checksum/SHA384/147 922s ok 1260 /checksum/SHA384/148 922s ok 1261 /checksum/SHA384/149 922s ok 1262 /checksum/SHA384/150 922s ok 1263 /checksum/SHA384/151 922s ok 1264 /checksum/SHA384/152 922s ok 1265 /checksum/SHA384/153 922s ok 1266 /checksum/SHA384/154 922s ok 1267 /checksum/SHA384/155 922s ok 1268 /checksum/SHA384/156 922s ok 1269 /checksum/SHA384/157 922s ok 1270 /checksum/SHA384/158 922s ok 1271 /checksum/SHA384/159 922s ok 1272 /checksum/SHA384/160 922s ok 1273 /checksum/SHA384/161 922s ok 1274 /checksum/SHA384/162 922s ok 1275 /checksum/SHA384/163 922s ok 1276 /checksum/SHA384/164 922s ok 1277 /checksum/SHA384/165 922s ok 1278 /checksum/SHA384/166 922s ok 1279 /checksum/SHA384/167 922s ok 1280 /checksum/SHA384/168 922s ok 1281 /checksum/SHA384/169 922s ok 1282 /checksum/SHA384/170 922s ok 1283 /checksum/SHA384/171 922s ok 1284 /checksum/SHA384/172 922s ok 1285 /checksum/SHA384/173 922s ok 1286 /checksum/SHA384/174 922s ok 1287 /checksum/SHA384/175 922s ok 1288 /checksum/SHA384/176 922s ok 1289 /checksum/SHA384/177 922s ok 1290 /checksum/SHA384/178 922s ok 1291 /checksum/SHA384/179 922s ok 1292 /checksum/SHA384/180 922s ok 1293 /checksum/SHA384/181 922s ok 1294 /checksum/SHA384/182 922s ok 1295 /checksum/SHA384/183 922s ok 1296 /checksum/SHA384/string 922s ok 1297 /checksum/SHA384/bytes 922s # Start of reset tests 922s ok 1298 /checksum/SHA384/reset/0 922s ok 1299 /checksum/SHA384/reset/1 922s ok 1300 /checksum/SHA384/reset/2 922s ok 1301 /checksum/SHA384/reset/3 922s ok 1302 /checksum/SHA384/reset/4 922s ok 1303 /checksum/SHA384/reset/5 922s ok 1304 /checksum/SHA384/reset/6 922s ok 1305 /checksum/SHA384/reset/7 922s ok 1306 /checksum/SHA384/reset/8 922s ok 1307 /checksum/SHA384/reset/9 922s ok 1308 /checksum/SHA384/reset/10 922s ok 1309 /checksum/SHA384/reset/11 922s ok 1310 /checksum/SHA384/reset/12 922s ok 1311 /checksum/SHA384/reset/13 922s ok 1312 /checksum/SHA384/reset/14 922s ok 1313 /checksum/SHA384/reset/15 922s ok 1314 /checksum/SHA384/reset/16 922s ok 1315 /checksum/SHA384/reset/17 922s ok 1316 /checksum/SHA384/reset/18 922s ok 1317 /checksum/SHA384/reset/19 922s ok 1318 /checksum/SHA384/reset/20 922s ok 1319 /checksum/SHA384/reset/21 922s ok 1320 /checksum/SHA384/reset/22 922s ok 1321 /checksum/SHA384/reset/23 922s ok 1322 /checksum/SHA384/reset/24 922s ok 1323 /checksum/SHA384/reset/25 922s ok 1324 /checksum/SHA384/reset/26 922s ok 1325 /checksum/SHA384/reset/27 922s ok 1326 /checksum/SHA384/reset/28 922s ok 1327 /checksum/SHA384/reset/29 922s ok 1328 /checksum/SHA384/reset/30 922s ok 1329 /checksum/SHA384/reset/31 922s ok 1330 /checksum/SHA384/reset/32 922s ok 1331 /checksum/SHA384/reset/33 922s ok 1332 /checksum/SHA384/reset/34 922s ok 1333 /checksum/SHA384/reset/35 922s ok 1334 /checksum/SHA384/reset/36 922s ok 1335 /checksum/SHA384/reset/37 922s ok 1336 /checksum/SHA384/reset/38 922s ok 1337 /checksum/SHA384/reset/39 922s ok 1338 /checksum/SHA384/reset/40 922s ok 1339 /checksum/SHA384/reset/41 922s ok 1340 /checksum/SHA384/reset/42 922s ok 1341 /checksum/SHA384/reset/43 922s ok 1342 /checksum/SHA384/reset/44 922s ok 1343 /checksum/SHA384/reset/45 922s ok 1344 /checksum/SHA384/reset/46 922s ok 1345 /checksum/SHA384/reset/47 922s ok 1346 /checksum/SHA384/reset/48 922s ok 1347 /checksum/SHA384/reset/49 922s ok 1348 /checksum/SHA384/reset/50 922s ok 1349 /checksum/SHA384/reset/51 922s ok 1350 /checksum/SHA384/reset/52 922s ok 1351 /checksum/SHA384/reset/53 922s ok 1352 /checksum/SHA384/reset/54 922s ok 1353 /checksum/SHA384/reset/55 922s ok 1354 /checksum/SHA384/reset/56 922s ok 1355 /checksum/SHA384/reset/57 922s ok 1356 /checksum/SHA384/reset/58 922s ok 1357 /checksum/SHA384/reset/59 922s ok 1358 /checksum/SHA384/reset/60 922s ok 1359 /checksum/SHA384/reset/61 922s ok 1360 /checksum/SHA384/reset/62 922s ok 1361 /checksum/SHA384/reset/63 922s ok 1362 /checksum/SHA384/reset/64 922s ok 1363 /checksum/SHA384/reset/65 922s ok 1364 /checksum/SHA384/reset/66 922s ok 1365 /checksum/SHA384/reset/67 922s ok 1366 /checksum/SHA384/reset/68 922s ok 1367 /checksum/SHA384/reset/69 922s ok 1368 /checksum/SHA384/reset/70 922s ok 1369 /checksum/SHA384/reset/71 922s ok 1370 /checksum/SHA384/reset/72 922s ok 1371 /checksum/SHA384/reset/73 922s ok 1372 /checksum/SHA384/reset/74 922s ok 1373 /checksum/SHA384/reset/75 922s ok 1374 /checksum/SHA384/reset/76 922s ok 1375 /checksum/SHA384/reset/77 922s ok 1376 /checksum/SHA384/reset/78 922s ok 1377 /checksum/SHA384/reset/79 922s ok 1378 /checksum/SHA384/reset/80 922s ok 1379 /checksum/SHA384/reset/81 922s ok 1380 /checksum/SHA384/reset/82 922s ok 1381 /checksum/SHA384/reset/83 922s ok 1382 /checksum/SHA384/reset/84 922s ok 1383 /checksum/SHA384/reset/85 922s ok 1384 /checksum/SHA384/reset/86 922s ok 1385 /checksum/SHA384/reset/87 922s ok 1386 /checksum/SHA384/reset/88 922s ok 1387 /checksum/SHA384/reset/89 922s ok 1388 /checksum/SHA384/reset/90 922s ok 1389 /checksum/SHA384/reset/91 922s ok 1390 /checksum/SHA384/reset/92 922s ok 1391 /checksum/SHA384/reset/93 922s ok 1392 /checksum/SHA384/reset/94 922s ok 1393 /checksum/SHA384/reset/95 922s ok 1394 /checksum/SHA384/reset/96 922s ok 1395 /checksum/SHA384/reset/97 922s ok 1396 /checksum/SHA384/reset/98 922s ok 1397 /checksum/SHA384/reset/99 922s ok 1398 /checksum/SHA384/reset/100 922s ok 1399 /checksum/SHA384/reset/101 922s ok 1400 /checksum/SHA384/reset/102 922s ok 1401 /checksum/SHA384/reset/103 922s ok 1402 /checksum/SHA384/reset/104 922s ok 1403 /checksum/SHA384/reset/105 922s ok 1404 /checksum/SHA384/reset/106 922s ok 1405 /checksum/SHA384/reset/107 922s ok 1406 /checksum/SHA384/reset/108 922s ok 1407 /checksum/SHA384/reset/109 922s ok 1408 /checksum/SHA384/reset/110 922s ok 1409 /checksum/SHA384/reset/111 922s ok 1410 /checksum/SHA384/reset/112 922s ok 1411 /checksum/SHA384/reset/113 922s ok 1412 /checksum/SHA384/reset/114 922s ok 1413 /checksum/SHA384/reset/115 922s ok 1414 /checksum/SHA384/reset/116 922s ok 1415 /checksum/SHA384/reset/117 922s ok 1416 /checksum/SHA384/reset/118 922s ok 1417 /checksum/SHA384/reset/119 922s ok 1418 /checksum/SHA384/reset/120 922s ok 1419 /checksum/SHA384/reset/121 922s ok 1420 /checksum/SHA384/reset/122 922s ok 1421 /checksum/SHA384/reset/123 922s ok 1422 /checksum/SHA384/reset/124 922s ok 1423 /checksum/SHA384/reset/125 922s ok 1424 /checksum/SHA384/reset/126 922s ok 1425 /checksum/SHA384/reset/127 922s ok 1426 /checksum/SHA384/reset/128 922s ok 1427 /checksum/SHA384/reset/129 922s ok 1428 /checksum/SHA384/reset/130 922s ok 1429 /checksum/SHA384/reset/131 922s ok 1430 /checksum/SHA384/reset/132 922s ok 1431 /checksum/SHA384/reset/133 922s ok 1432 /checksum/SHA384/reset/134 922s ok 1433 /checksum/SHA384/reset/135 922s ok 1434 /checksum/SHA384/reset/136 922s ok 1435 /checksum/SHA384/reset/137 922s ok 1436 /checksum/SHA384/reset/138 922s ok 1437 /checksum/SHA384/reset/139 922s ok 1438 /checksum/SHA384/reset/140 922s ok 1439 /checksum/SHA384/reset/141 922s ok 1440 /checksum/SHA384/reset/142 922s ok 1441 /checksum/SHA384/reset/143 922s ok 1442 /checksum/SHA384/reset/144 922s ok 1443 /checksum/SHA384/reset/145 922s ok 1444 /checksum/SHA384/reset/146 922s ok 1445 /checksum/SHA384/reset/147 922s ok 1446 /checksum/SHA384/reset/148 922s ok 1447 /checksum/SHA384/reset/149 922s ok 1448 /checksum/SHA384/reset/150 922s ok 1449 /checksum/SHA384/reset/151 922s ok 1450 /checksum/SHA384/reset/152 922s ok 1451 /checksum/SHA384/reset/153 922s ok 1452 /checksum/SHA384/reset/154 922s ok 1453 /checksum/SHA384/reset/155 922s ok 1454 /checksum/SHA384/reset/156 922s ok 1455 /checksum/SHA384/reset/157 922s ok 1456 /checksum/SHA384/reset/158 922s ok 1457 /checksum/SHA384/reset/159 922s ok 1458 /checksum/SHA384/reset/160 922s ok 1459 /checksum/SHA384/reset/161 922s ok 1460 /checksum/SHA384/reset/162 922s ok 1461 /checksum/SHA384/reset/163 922s ok 1462 /checksum/SHA384/reset/164 922s ok 1463 /checksum/SHA384/reset/165 922s ok 1464 /checksum/SHA384/reset/166 922s ok 1465 /checksum/SHA384/reset/167 922s ok 1466 /checksum/SHA384/reset/168 922s ok 1467 /checksum/SHA384/reset/169 922s ok 1468 /checksum/SHA384/reset/170 922s ok 1469 /checksum/SHA384/reset/171 922s ok 1470 /checksum/SHA384/reset/172 922s ok 1471 /checksum/SHA384/reset/173 922s ok 1472 /checksum/SHA384/reset/174 922s ok 1473 /checksum/SHA384/reset/175 922s ok 1474 /checksum/SHA384/reset/176 922s ok 1475 /checksum/SHA384/reset/177 922s ok 1476 /checksum/SHA384/reset/178 922s ok 1477 /checksum/SHA384/reset/179 922s ok 1478 /checksum/SHA384/reset/180 922s ok 1479 /checksum/SHA384/reset/181 922s ok 1480 /checksum/SHA384/reset/182 922s ok 1481 /checksum/SHA384/reset/183 922s # End of reset tests 922s # End of SHA384 tests 922s # Start of SHA512 tests 922s ok 1482 /checksum/SHA512/0 922s ok 1483 /checksum/SHA512/1 922s ok 1484 /checksum/SHA512/2 922s ok 1485 /checksum/SHA512/3 922s ok 1486 /checksum/SHA512/4 922s ok 1487 /checksum/SHA512/5 922s ok 1488 /checksum/SHA512/6 922s ok 1489 /checksum/SHA512/7 922s ok 1490 /checksum/SHA512/8 922s ok 1491 /checksum/SHA512/9 922s ok 1492 /checksum/SHA512/10 922s ok 1493 /checksum/SHA512/11 922s ok 1494 /checksum/SHA512/12 922s ok 1495 /checksum/SHA512/13 922s ok 1496 /checksum/SHA512/14 922s ok 1497 /checksum/SHA512/15 922s ok 1498 /checksum/SHA512/16 922s ok 1499 /checksum/SHA512/17 922s ok 1500 /checksum/SHA512/18 922s ok 1501 /checksum/SHA512/19 922s ok 1502 /checksum/SHA512/20 922s ok 1503 /checksum/SHA512/21 922s ok 1504 /checksum/SHA512/22 922s ok 1505 /checksum/SHA512/23 922s ok 1506 /checksum/SHA512/24 922s ok 1507 /checksum/SHA512/25 922s ok 1508 /checksum/SHA512/26 922s ok 1509 /checksum/SHA512/27 922s ok 1510 /checksum/SHA512/28 922s ok 1511 /checksum/SHA512/29 922s ok 1512 /checksum/SHA512/30 922s ok 1513 /checksum/SHA512/31 922s ok 1514 /checksum/SHA512/32 922s ok 1515 /checksum/SHA512/33 922s ok 1516 /checksum/SHA512/34 922s ok 1517 /checksum/SHA512/35 922s ok 1518 /checksum/SHA512/36 922s ok 1519 /checksum/SHA512/37 922s ok 1520 /checksum/SHA512/38 922s ok 1521 /checksum/SHA512/39 922s ok 1522 /checksum/SHA512/40 922s ok 1523 /checksum/SHA512/41 922s ok 1524 /checksum/SHA512/42 922s ok 1525 /checksum/SHA512/43 922s ok 1526 /checksum/SHA512/44 922s ok 1527 /checksum/SHA512/45 922s ok 1528 /checksum/SHA512/46 922s ok 1529 /checksum/SHA512/47 922s ok 1530 /checksum/SHA512/48 922s ok 1531 /checksum/SHA512/49 922s ok 1532 /checksum/SHA512/50 922s ok 1533 /checksum/SHA512/51 922s ok 1534 /checksum/SHA512/52 922s ok 1535 /checksum/SHA512/53 922s ok 1536 /checksum/SHA512/54 922s ok 1537 /checksum/SHA512/55 922s ok 1538 /checksum/SHA512/56 922s ok 1539 /checksum/SHA512/57 922s ok 1540 /checksum/SHA512/58 922s ok 1541 /checksum/SHA512/59 922s ok 1542 /checksum/SHA512/60 922s ok 1543 /checksum/SHA512/61 922s ok 1544 /checksum/SHA512/62 922s ok 1545 /checksum/SHA512/63 922s ok 1546 /checksum/SHA512/64 922s ok 1547 /checksum/SHA512/65 922s ok 1548 /checksum/SHA512/66 922s ok 1549 /checksum/SHA512/67 922s ok 1550 /checksum/SHA512/68 922s ok 1551 /checksum/SHA512/69 922s ok 1552 /checksum/SHA512/70 922s ok 1553 /checksum/SHA512/71 922s ok 1554 /checksum/SHA512/72 922s ok 1555 /checksum/SHA512/73 922s ok 1556 /checksum/SHA512/74 922s ok 1557 /checksum/SHA512/75 922s ok 1558 /checksum/SHA512/76 922s ok 1559 /checksum/SHA512/77 922s ok 1560 /checksum/SHA512/78 922s ok 1561 /checksum/SHA512/79 922s ok 1562 /checksum/SHA512/80 922s ok 1563 /checksum/SHA512/81 922s ok 1564 /checksum/SHA512/82 922s ok 1565 /checksum/SHA512/83 922s ok 1566 /checksum/SHA512/84 922s ok 1567 /checksum/SHA512/85 922s ok 1568 /checksum/SHA512/86 922s ok 1569 /checksum/SHA512/87 922s ok 1570 /checksum/SHA512/88 922s ok 1571 /checksum/SHA512/89 922s ok 1572 /checksum/SHA512/90 922s ok 1573 /checksum/SHA512/91 922s ok 1574 /checksum/SHA512/92 922s ok 1575 /checksum/SHA512/93 922s ok 1576 /checksum/SHA512/94 922s ok 1577 /checksum/SHA512/95 922s ok 1578 /checksum/SHA512/96 922s ok 1579 /checksum/SHA512/97 922s ok 1580 /checksum/SHA512/98 922s ok 1581 /checksum/SHA512/99 922s ok 1582 /checksum/SHA512/100 922s ok 1583 /checksum/SHA512/101 922s ok 1584 /checksum/SHA512/102 922s ok 1585 /checksum/SHA512/103 922s ok 1586 /checksum/SHA512/104 922s ok 1587 /checksum/SHA512/105 922s ok 1588 /checksum/SHA512/106 922s ok 1589 /checksum/SHA512/107 922s ok 1590 /checksum/SHA512/108 922s ok 1591 /checksum/SHA512/109 922s ok 1592 /checksum/SHA512/110 922s ok 1593 /checksum/SHA512/111 922s ok 1594 /checksum/SHA512/112 922s ok 1595 /checksum/SHA512/113 922s ok 1596 /checksum/SHA512/114 922s ok 1597 /checksum/SHA512/115 922s ok 1598 /checksum/SHA512/116 922s ok 1599 /checksum/SHA512/117 922s ok 1600 /checksum/SHA512/118 922s ok 1601 /checksum/SHA512/119 922s ok 1602 /checksum/SHA512/120 922s ok 1603 /checksum/SHA512/121 922s ok 1604 /checksum/SHA512/122 922s ok 1605 /checksum/SHA512/123 922s ok 1606 /checksum/SHA512/124 922s ok 1607 /checksum/SHA512/125 922s ok 1608 /checksum/SHA512/126 922s ok 1609 /checksum/SHA512/127 922s ok 1610 /checksum/SHA512/128 922s ok 1611 /checksum/SHA512/129 922s ok 1612 /checksum/SHA512/130 922s ok 1613 /checksum/SHA512/131 922s ok 1614 /checksum/SHA512/132 922s ok 1615 /checksum/SHA512/133 922s ok 1616 /checksum/SHA512/134 922s ok 1617 /checksum/SHA512/135 922s ok 1618 /checksum/SHA512/136 922s ok 1619 /checksum/SHA512/137 922s ok 1620 /checksum/SHA512/138 922s ok 1621 /checksum/SHA512/139 922s ok 1622 /checksum/SHA512/140 922s ok 1623 /checksum/SHA512/141 922s ok 1624 /checksum/SHA512/142 922s ok 1625 /checksum/SHA512/143 922s ok 1626 /checksum/SHA512/144 922s ok 1627 /checksum/SHA512/145 922s ok 1628 /checksum/SHA512/146 922s ok 1629 /checksum/SHA512/147 922s ok 1630 /checksum/SHA512/148 922s ok 1631 /checksum/SHA512/149 922s ok 1632 /checksum/SHA512/150 922s ok 1633 /checksum/SHA512/151 922s ok 1634 /checksum/SHA512/152 922s ok 1635 /checksum/SHA512/153 922s ok 1636 /checksum/SHA512/154 922s ok 1637 /checksum/SHA512/155 922s ok 1638 /checksum/SHA512/156 922s ok 1639 /checksum/SHA512/157 922s ok 1640 /checksum/SHA512/158 922s ok 1641 /checksum/SHA512/159 922s ok 1642 /checksum/SHA512/160 922s ok 1643 /checksum/SHA512/161 922s ok 1644 /checksum/SHA512/162 922s ok 1645 /checksum/SHA512/163 922s ok 1646 /checksum/SHA512/164 922s ok 1647 /checksum/SHA512/165 922s ok 1648 /checksum/SHA512/166 922s ok 1649 /checksum/SHA512/167 922s ok 1650 /checksum/SHA512/168 922s ok 1651 /checksum/SHA512/169 922s ok 1652 /checksum/SHA512/170 922s ok 1653 /checksum/SHA512/171 922s ok 1654 /checksum/SHA512/172 922s ok 1655 /checksum/SHA512/173 922s ok 1656 /checksum/SHA512/174 922s ok 1657 /checksum/SHA512/175 922s ok 1658 /checksum/SHA512/176 922s ok 1659 /checksum/SHA512/177 922s ok 1660 /checksum/SHA512/178 922s ok 1661 /checksum/SHA512/179 922s ok 1662 /checksum/SHA512/180 922s ok 1663 /checksum/SHA512/181 922s ok 1664 /checksum/SHA512/182 922s ok 1665 /checksum/SHA512/183 922s ok 1666 /checksum/SHA512/string 922s ok 1667 /checksum/SHA512/bytes 922s # Start of reset tests 922s ok 1668 /checksum/SHA512/reset/0 922s ok 1669 /checksum/SHA512/reset/1 922s ok 1670 /checksum/SHA512/reset/2 922s ok 1671 /checksum/SHA512/reset/3 922s ok 1672 /checksum/SHA512/reset/4 922s ok 1673 /checksum/SHA512/reset/5 922s ok 1674 /checksum/SHA512/reset/6 922s ok 1675 /checksum/SHA512/reset/7 922s ok 1676 /checksum/SHA512/reset/8 922s ok 1677 /checksum/SHA512/reset/9 922s ok 1678 /checksum/SHA512/reset/10 922s ok 1679 /checksum/SHA512/reset/11 922s ok 1680 /checksum/SHA512/reset/12 922s ok 1681 /checksum/SHA512/reset/13 922s ok 1682 /checksum/SHA512/reset/14 922s ok 1683 /checksum/SHA512/reset/15 922s ok 1684 /checksum/SHA512/reset/16 922s ok 1685 /checksum/SHA512/reset/17 922s ok 1686 /checksum/SHA512/reset/18 922s ok 1687 /checksum/SHA512/reset/19 922s ok 1688 /checksum/SHA512/reset/20 922s ok 1689 /checksum/SHA512/reset/21 922s ok 1690 /checksum/SHA512/reset/22 922s ok 1691 /checksum/SHA512/reset/23 922s ok 1692 /checksum/SHA512/reset/24 922s ok 1693 /checksum/SHA512/reset/25 922s ok 1694 /checksum/SHA512/reset/26 922s ok 1695 /checksum/SHA512/reset/27 922s ok 1696 /checksum/SHA512/reset/28 922s ok 1697 /checksum/SHA512/reset/29 922s ok 1698 /checksum/SHA512/reset/30 922s ok 1699 /checksum/SHA512/reset/31 922s ok 1700 /checksum/SHA512/reset/32 922s ok 1701 /checksum/SHA512/reset/33 922s ok 1702 /checksum/SHA512/reset/34 922s ok 1703 /checksum/SHA512/reset/35 922s ok 1704 /checksum/SHA512/reset/36 922s ok 1705 /checksum/SHA512/reset/37 922s ok 1706 /checksum/SHA512/reset/38 922s ok 1707 /checksum/SHA512/reset/39 922s ok 1708 /checksum/SHA512/reset/40 922s ok 1709 /checksum/SHA512/reset/41 922s ok 1710 /checksum/SHA512/reset/42 922s ok 1711 /checksum/SHA512/reset/43 922s ok 1712 /checksum/SHA512/reset/44 922s ok 1713 /checksum/SHA512/reset/45 922s ok 1714 /checksum/SHA512/reset/46 922s ok 1715 /checksum/SHA512/reset/47 922s ok 1716 /checksum/SHA512/reset/48 922s ok 1717 /checksum/SHA512/reset/49 922s ok 1718 /checksum/SHA512/reset/50 922s ok 1719 /checksum/SHA512/reset/51 922s ok 1720 /checksum/SHA512/reset/52 922s ok 1721 /checksum/SHA512/reset/53 922s ok 1722 /checksum/SHA512/reset/54 922s ok 1723 /checksum/SHA512/reset/55 922s ok 1724 /checksum/SHA512/reset/56 922s ok 1725 /checksum/SHA512/reset/57 922s ok 1726 /checksum/SHA512/reset/58 922s ok 1727 /checksum/SHA512/reset/59 922s ok 1728 /checksum/SHA512/reset/60 922s ok 1729 /checksum/SHA512/reset/61 922s ok 1730 /checksum/SHA512/reset/62 922s ok 1731 /checksum/SHA512/reset/63 922s ok 1732 /checksum/SHA512/reset/64 922s ok 1733 /checksum/SHA512/reset/65 922s ok 1734 /checksum/SHA512/reset/66 922s ok 1735 /checksum/SHA512/reset/67 922s ok 1736 /checksum/SHA512/reset/68 922s ok 1737 /checksum/SHA512/reset/69 922s ok 1738 /checksum/SHA512/reset/70 922s ok 1739 /checksum/SHA512/reset/71 922s ok 1740 /checksum/SHA512/reset/72 922s ok 1741 /checksum/SHA512/reset/73 922s ok 1742 /checksum/SHA512/reset/74 922s ok 1743 /checksum/SHA512/reset/75 922s ok 1744 /checksum/SHA512/reset/76 922s ok 1745 /checksum/SHA512/reset/77 922s ok 1746 /checksum/SHA512/reset/78 922s ok 1747 /checksum/SHA512/reset/79 922s ok 1748 /checksum/SHA512/reset/80 922s ok 1749 /checksum/SHA512/reset/81 922s ok 1750 /checksum/SHA512/reset/82 922s ok 1751 /checksum/SHA512/reset/83 922s ok 1752 /checksum/SHA512/reset/84 922s ok 1753 /checksum/SHA512/reset/85 922s ok 1754 /checksum/SHA512/reset/86 922s ok 1755 /checksum/SHA512/reset/87 922s ok 1756 /checksum/SHA512/reset/88 922s ok 1757 /checksum/SHA512/reset/89 922s ok 1758 /checksum/SHA512/reset/90 922s ok 1759 /checksum/SHA512/reset/91 922s ok 1760 /checksum/SHA512/reset/92 922s ok 1761 /checksum/SHA512/reset/93 922s ok 1762 /checksum/SHA512/reset/94 922s ok 1763 /checksum/SHA512/reset/95 922s ok 1764 /checksum/SHA512/reset/96 922s ok 1765 /checksum/SHA512/reset/97 922s ok 1766 /checksum/SHA512/reset/98 922s ok 1767 /checksum/SHA512/reset/99 922s ok 1768 /checksum/SHA512/reset/100 922s ok 1769 /checksum/SHA512/reset/101 922s ok 1770 /checksum/SHA512/reset/102 922s ok 1771 /checksum/SHA512/reset/103 922s ok 1772 /checksum/SHA512/reset/104 922s ok 1773 /checksum/SHA512/reset/105 922s ok 1774 /checksum/SHA512/reset/106 922s ok 1775 /checksum/SHA512/reset/107 922s ok 1776 /checksum/SHA512/reset/108 922s ok 1777 /checksum/SHA512/reset/109 922s ok 1778 /checksum/SHA512/reset/110 922s ok 1779 /checksum/SHA512/reset/111 922s ok 1780 /checksum/SHA512/reset/112 922s ok 1781 /checksum/SHA512/reset/113 922s ok 1782 /checksum/SHA512/reset/114 922s ok 1783 /checksum/SHA512/reset/115 922s ok 1784 /checksum/SHA512/reset/116 922s ok 1785 /checksum/SHA512/reset/117 922s ok 1786 /checksum/SHA512/reset/118 922s ok 1787 /checksum/SHA512/reset/119 922s ok 1788 /checksum/SHA512/reset/120 922s ok 1789 /checksum/SHA512/reset/121 922s ok 1790 /checksum/SHA512/reset/122 922s ok 1791 /checksum/SHA512/reset/123 922s ok 1792 /checksum/SHA512/reset/124 922s ok 1793 /checksum/SHA512/reset/125 922s ok 1794 /checksum/SHA512/reset/126 922s ok 1795 /checksum/SHA512/reset/127 922s ok 1796 /checksum/SHA512/reset/128 922s ok 1797 /checksum/SHA512/reset/129 922s ok 1798 /checksum/SHA512/reset/130 922s ok 1799 /checksum/SHA512/reset/131 922s ok 1800 /checksum/SHA512/reset/132 922s ok 1801 /checksum/SHA512/reset/133 922s ok 1802 /checksum/SHA512/reset/134 922s ok 1803 /checksum/SHA512/reset/135 922s ok 1804 /checksum/SHA512/reset/136 922s ok 1805 /checksum/SHA512/reset/137 922s ok 1806 /checksum/SHA512/reset/138 922s ok 1807 /checksum/SHA512/reset/139 922s ok 1808 /checksum/SHA512/reset/140 922s ok 1809 /checksum/SHA512/reset/141 922s ok 1810 /checksum/SHA512/reset/142 922s ok 1811 /checksum/SHA512/reset/143 922s ok 1812 /checksum/SHA512/reset/144 922s ok 1813 /checksum/SHA512/reset/145 922s ok 1814 /checksum/SHA512/reset/146 922s ok 1815 /checksum/SHA512/reset/147 922s ok 1816 /checksum/SHA512/reset/148 922s ok 1817 /checksum/SHA512/reset/149 922s ok 1818 /checksum/SHA512/reset/150 922s ok 1819 /checksum/SHA512/reset/151 922s ok 1820 /checksum/SHA512/reset/152 922s ok 1821 /checksum/SHA512/reset/153 922s ok 1822 /checksum/SHA512/reset/154 922s ok 1823 /checksum/SHA512/reset/155 922s ok 1824 /checksum/SHA512/reset/156 922s ok 1825 /checksum/SHA512/reset/157 922s ok 1826 /checksum/SHA512/reset/158 922s ok 1827 /checksum/SHA512/reset/159 922s ok 1828 /checksum/SHA512/reset/160 922s ok 1829 /checksum/SHA512/reset/161 922s ok 1830 /checksum/SHA512/reset/162 922s ok 1831 /checksum/SHA512/reset/163 922s ok 1832 /checksum/SHA512/reset/164 922s ok 1833 /checksum/SHA512/reset/165 922s ok 1834 /checksum/SHA512/reset/166 922s ok 1835 /checksum/SHA512/reset/167 922s ok 1836 /checksum/SHA512/reset/168 922s ok 1837 /checksum/SHA512/reset/169 922s ok 1838 /checksum/SHA512/reset/170 922s ok 1839 /checksum/SHA512/reset/171 922s ok 1840 /checksum/SHA512/reset/172 922s ok 1841 /checksum/SHA512/reset/173 922s ok 1842 /checksum/SHA512/reset/174 922s ok 1843 /checksum/SHA512/reset/175 922s ok 1844 /checksum/SHA512/reset/176 922s ok 1845 /checksum/SHA512/reset/177 922s ok 1846 /checksum/SHA512/reset/178 922s ok 1847 /checksum/SHA512/reset/179 922s ok 1848 /checksum/SHA512/reset/180 922s ok 1849 /checksum/SHA512/reset/181 922s ok 1850 /checksum/SHA512/reset/182 922s ok 1851 /checksum/SHA512/reset/183 922s # End of reset tests 922s # End of SHA512 tests 922s # End of checksum tests 922s ok - glib/checksum.test 922s # Running test: glib/pattern.test 922s TAP version 13 922s # random seed: R02Sbc0b201f2579624bd1d25b35fd4a06cf 922s 1..90 922s # Start of pattern tests 922s # Start of compile tests 922s ok 1 /pattern/compile/0 922s ok 2 /pattern/compile/1 922s ok 3 /pattern/compile/2 922s ok 4 /pattern/compile/3 922s ok 5 /pattern/compile/4 922s ok 6 /pattern/compile/5 922s ok 7 /pattern/compile/6 922s ok 8 /pattern/compile/7 922s ok 9 /pattern/compile/8 922s ok 10 /pattern/compile/9 922s ok 11 /pattern/compile/10 922s ok 12 /pattern/compile/11 922s ok 13 /pattern/compile/12 922s ok 14 /pattern/compile/13 922s # End of compile tests 922s # Start of copy tests 922s ok 15 /pattern/copy/0 922s ok 16 /pattern/copy/1 922s ok 17 /pattern/copy/2 922s ok 18 /pattern/copy/3 922s ok 19 /pattern/copy/4 922s ok 20 /pattern/copy/5 922s ok 21 /pattern/copy/6 922s ok 22 /pattern/copy/7 922s ok 23 /pattern/copy/8 922s ok 24 /pattern/copy/9 922s ok 25 /pattern/copy/10 922s ok 26 /pattern/copy/11 922s ok 27 /pattern/copy/12 922s ok 28 /pattern/copy/13 922s # End of copy tests 922s # Start of match tests 922s ok 29 /pattern/match/0 922s ok 30 /pattern/match/1 922s ok 31 /pattern/match/2 922s ok 32 /pattern/match/3 922s ok 33 /pattern/match/4 922s ok 34 /pattern/match/5 922s ok 35 /pattern/match/6 922s ok 36 /pattern/match/7 922s ok 37 /pattern/match/8 922s ok 38 /pattern/match/9 922s ok 39 /pattern/match/10 922s ok 40 /pattern/match/11 922s ok 41 /pattern/match/12 922s ok 42 /pattern/match/13 922s ok 43 /pattern/match/14 922s ok 44 /pattern/match/15 922s ok 45 /pattern/match/16 922s ok 46 /pattern/match/17 922s ok 47 /pattern/match/18 922s ok 48 /pattern/match/19 922s ok 49 /pattern/match/20 922s ok 50 /pattern/match/21 922s ok 51 /pattern/match/22 922s ok 52 /pattern/match/23 922s ok 53 /pattern/match/24 922s ok 54 /pattern/match/25 922s ok 55 /pattern/match/26 922s ok 56 /pattern/match/27 922s ok 57 /pattern/match/28 922s ok 58 /pattern/match/29 922s ok 59 /pattern/match/30 922s ok 60 /pattern/match/31 922s ok 61 /pattern/match/32 922s ok 62 /pattern/match/33 922s ok 63 /pattern/match/34 922s ok 64 /pattern/match/35 922s ok 65 /pattern/match/36 922s ok 66 /pattern/match/37 922s ok 67 /pattern/match/38 922s ok 68 /pattern/match/39 922s ok 69 /pattern/match/40 922s ok 70 /pattern/match/41 922s ok 71 /pattern/match/42 922s ok 72 /pattern/match/43 922s ok 73 /pattern/match/44 922s ok 74 /pattern/match/45 922s ok 75 /pattern/match/46 922s ok 76 /pattern/match/47 922s ok 77 /pattern/match/48 922s ok 78 /pattern/match/49 922s ok 79 /pattern/match/50 922s # End of match tests 922s # Start of equal tests 922s ok 80 /pattern/equal/0 922s ok 81 /pattern/equal/1 922s ok 82 /pattern/equal/2 922s ok 83 /pattern/equal/3 922s ok 84 /pattern/equal/4 922s ok 85 /pattern/equal/5 922s ok 86 /pattern/equal/6 922s ok 87 /pattern/equal/7 922s ok 88 /pattern/equal/8 922s ok 89 /pattern/equal/9 922s ok 90 /pattern/equal/10 922s # End of equal tests 922s # End of pattern tests 922s ok - glib/pattern.test 922s # Running test: glib/gio-tool.py.test 922s TAP version 13 922s ok 1 __main__.TestGioTool.test_help 922s # tmpdir: /tmp/tmpl6mutgse 922s # gio: /usr/bin/gio 922s # Running: ['/usr/bin/gio', '--help'] 922s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 922s # Output: Usage: 922s # gio COMMAND [ARGS…] 922s # 922s # Commands: 922s # help Print help 922s # version Print version 922s # cat Concatenate files to standard output 922s # copy Copy one or more files 922s # info Show information about locations 922s # launch Launch an application from a desktop file 922s # list List the contents of locations 922s # mime Get or set the handler for a mimetype 922s # mkdir Create directories 922s # monitor Monitor files and directories for changes 922s # mount Mount or unmount the locations 922s # move Move one or more files 922s # open Open files with the default application 922s # rename Rename a file 922s # remove Delete one or more files 922s # save Read from standard input and save 922s # set Set a file attribute 922s # trash Move files or directories to the trash 922s # tree Lists the contents of locations in a tree 922s # 922s # Use “gio help COMMAND” to get detailed help. 922s # Running: ['/usr/bin/gio', 'help'] 922s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 922s # Output: Usage: 922s # gio COMMAND [ARGS…] 922s # 922s # Commands: 922s # help Print help 922s # version Print version 922s # cat Concatenate files to standard output 922s # copy Copy one or more files 922s # info Show information about locations 922s # launch Launch an application from a desktop file 922s # list List the contents of locations 922s # mime Get or set the handler for a mimetype 922s # mkdir Create directories 922s # monitor Monitor files and directories for changes 922s # mount Mount or unmount the locations 922s # move Move one or more files 922s # open Open files with the default application 922s # rename Rename a file 922s # remove Delete one or more files 922s # save Read from standard input and save 922s # set Set a file attribute 922s # trash Move files or directories to the trash 922s # tree Lists the contents of locations in a tree 922s # 922s # Use “gio help COMMAND” to get detailed help. 922s ok 2 __main__.TestGioTool.test_info_non_default_attributes 922s # tmpdir: /tmp/tmpk938a147 922s # gio: /usr/bin/gio 922s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpk938a147/tmplv3_vy3o'] 922s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 922s # Output: uri: file:///tmp/tmpk938a147/tmplv3_vy3o 922s # local path: /tmp/tmpk938a147/tmplv3_vy3o 922s # unix mount: /dev/sda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 922s # attributes: 922s # standard::content-type: application/x-zerosize 922s ok 3 __main__.TestGioTool.test_no_args 922s # tmpdir: /tmp/tmpqdyo4_qm 922s # gio: /usr/bin/gio 922s # Running: ['/usr/bin/gio'] 922s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1', 'AUTOPKGTEST_TEST_ARCH': 'ppc64el', 'SHLVL': '1', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-yp1xz1hjHd,guid=1b73e34dfc856e7b28db75b065fa7b6c', 'AUTOPKGTEST_TESTBED_ARCH': 'ppc64el', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'http_proxy': 'http://squid.internal:3128', 'ADTTMP': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'TERM': 'linux', 'GIO_USE_VOLUME_MONITOR': 'unix', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'XDG_RUNTIME_DIR': '/tmp/autopkgtest.MN3iWN/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.YUFtTjKdUz', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.ZIjWFZ/Xauthority', 'SUDO_COMMAND': "/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.MN3iWN/wrapper.sh --artifacts=/tmp/autopkgtest.MN3iWN/installed-tests-artifacts --chdir=/tmp/autopkgtest.MN3iWN/build.cbU/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=1 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.MN3iWN/installed-tests-stderr --stdout=/tmp/autopkgtest.MN3iWN/installed-tests-stdout --tmp=/tmp/autopkgtest.MN3iWN/autopkgtest_tmp '--env=ADT_TEST_TRIGGERS=libselinux/3.5-2ubuntu1 ruby-defaults/1:3.2~ubuntu1' --make-executable=/tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests -- /tmp/autopkgtest.MN3iWN/build.cbU/src/debian/tests/installed-tests", 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.MN3iWN/build.cbU/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.MN3iWN/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 922s 1..3 922s ok - glib/gio-tool.py.test 922s # Running test: glib/null-settings-backend.test 922s TAP version 13 922s # random seed: R02S5e04ceaa2d466cca56c9e42b6bb6fc34 922s 1..1 922s # Start of null-settings-backend tests 922s ok 1 /null-settings-backend/extension-point-registered 922s # End of null-settings-backend tests 922s ok - glib/null-settings-backend.test 922s # Running test: glib/static-link.test 922s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 922s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 922s and make sure you have glib build dependencies installed, including 922s meson. 922s ok # SKIP - glib/static-link.test 922s # Running test: glib/module-test-plugin.test 922s TAP version 13 922s # random seed: R02S91f9f6bc8ff1f92b830f3a512d123578 922s 1..2 922s # Start of module tests 922s ok 1 /module/basics 922s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 922s ok 2 /module/invalid-libtool-archive 922s # End of module tests 922s ok - glib/module-test-plugin.test 922s # Running test: glib/gdbus-names.test 922s TAP version 13 922s # random seed: R02S3d859225d619670b3209d13cacdfd9c4 922s 1..10 922s # Start of gdbus tests 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/validate-names/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/validate-names/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_K1IMK2/gdbus/validate-names/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/validate-names/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_K1IMK2/gdbus/validate-names/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/validate-names/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/validate-names/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K1IMK2/gdbus/validate-names/.dirs/runtime 922s ok 1 /gdbus/validate-names 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-own-name/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-own-name/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_K1IMK2/gdbus/bus-own-name/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-own-name/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_K1IMK2/gdbus/bus-own-name/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-own-name/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-own-name/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-own-name/.dirs/runtime 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s ok 2 /gdbus/bus-own-name 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name/.dirs/runtime 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s ok 3 /gdbus/bus-watch-name 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start/.dirs/runtime 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s ok 4 /gdbus/bus-watch-name-auto-start 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s dbus-daemon[13849]: [session uid=1000 pid=13849] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=13839 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 922s # Acquired a message bus connection 922s dbus-daemon[13849]: [session uid=1000 pid=13849] Successfully activated service 'org.gtk.GDBus.FakeService' 922s # Acquired the name org.gtk.GDBus.FakeService 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures/.dirs/runtime 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s ok 6 /gdbus/bus-watch-name-closures 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s ok 7 /gdbus/bus-watch-name-closures-auto-start 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-different-context/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-different-context/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-different-context/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-different-context/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-different-context/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-different-context/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-different-context/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-watch-different-context/.dirs/runtime 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s ok 8 /gdbus/bus-watch-different-context 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-unwatch-early/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-unwatch-early/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_K1IMK2/gdbus/bus-unwatch-early/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-unwatch-early/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_K1IMK2/gdbus/bus-unwatch-early/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-unwatch-early/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-unwatch-early/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K1IMK2/gdbus/bus-unwatch-early/.dirs/runtime 922s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 922s ok 9 /gdbus/bus-unwatch-early 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/escape-object-path/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/escape-object-path/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_K1IMK2/gdbus/escape-object-path/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/escape-object-path/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_K1IMK2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_K1IMK2/gdbus/escape-object-path/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/escape-object-path/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_K1IMK2/gdbus/escape-object-path/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_K1IMK2/gdbus/escape-object-path/.dirs/runtime 922s ok 10 /gdbus/escape-object-path 922s # End of gdbus tests 922s ok - glib/gdbus-names.test 922s # Running test: glib/dynamictype.test 922s TAP version 13 922s # random seed: R02S4ed159094ab7dd60791eace50a19ccaf 922s 1..2 922s # Start of gobject tests 922s ok 1 /gobject/dynamic-type 922s # Start of dynamic-type tests 922s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 922s ok 2 /gobject/dynamic-type/query 922s # End of dynamic-type tests 922s # End of gobject tests 922s ok - glib/dynamictype.test 922s # Running test: glib/once.test 922s TAP version 13 922s # random seed: R02S22e42f6119296578d961f3b67657e457 922s 1..5 922s # Start of once tests 922s # /once/single-threaded summary: Test g_once() usage from a single thread 922s ok 1 /once/single-threaded 922s # /once/multi-threaded summary: Test g_once() usage from multiple threads 922s ok 2 /once/multi-threaded 922s # End of once tests 922s # Start of once-init tests 922s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 922s ok 3 /once-init/single-threaded 922s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 922s ok 4 /once-init/multi-threaded 922s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 922s ok 5 /once-init/string 922s # End of once-init tests 922s ok - glib/once.test 922s # Running test: glib/testfilemonitor.test 922s TAP version 13 922s # random seed: R02Sbd50100073955be39874d21c89e991ef 922s 1..8 922s # Start of monitor tests 922s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 922s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 922s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 922s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 922s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 922s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 922s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 922s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 922s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 922s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 922s # Start of file tests 922s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 922s # End of file tests 922s # End of monitor tests 922s ok - glib/testfilemonitor.test 922s # Running test: glib/shell.test 922s TAP version 13 922s # random seed: R02S847d0898c82cb14ad6ea21e2e7ea1822 922s 1..51 922s # Start of shell tests 922s # Start of cmdline tests 922s test cmdline: foo bar 922s ok 1 /shell/cmdline/0 922s test cmdline: foo 'bar' 922s ok 2 /shell/cmdline/1 922s test cmdline: foo "bar" 922s ok 3 /shell/cmdline/2 922s test cmdline: foo '' 'bar' 922s ok 4 /shell/cmdline/3 922s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 922s ok 5 /shell/cmdline/4 922s test cmdline: foo blah foo bar baz 922s ok 6 /shell/cmdline/5 922s test cmdline: foo ' spaces more spaces lots of spaces in this ' 922s ok 7 /shell/cmdline/6 922s test cmdline: foo \ 922s bar 922s ok 8 /shell/cmdline/7 922s test cmdline: foo '' '' 922s ok 9 /shell/cmdline/8 922s test cmdline: foo \" la la la 922s ok 10 /shell/cmdline/9 922s test cmdline: foo \ foo woo woo\ 922s ok 11 /shell/cmdline/10 922s test cmdline: foo "yada yada \$\"" 922s ok 12 /shell/cmdline/11 922s test cmdline: foo "c:\\" 922s ok 13 /shell/cmdline/12 922s test cmdline: foo # bla bla bla 922s bar 922s ok 14 /shell/cmdline/13 922s test cmdline: foo a#b 922s ok 15 /shell/cmdline/14 922s test cmdline: #foo 922s ok 16 /shell/cmdline/15 922s test cmdline: foo bar \ 922s ok 17 /shell/cmdline/16 922s test cmdline: foo 'bar baz 922s ok 18 /shell/cmdline/17 922s test cmdline: foo '"bar" baz 922s ok 19 /shell/cmdline/18 922s test cmdline: 922s ok 20 /shell/cmdline/19 922s test cmdline: 922s ok 21 /shell/cmdline/20 922s test cmdline: # foo bar 922s ok 22 /shell/cmdline/21 922s test cmdline: foo '/bar/summer'\''09 tours.pdf' 922s ok 23 /shell/cmdline/22 922s # End of cmdline tests 922s # Start of quote tests 922s ok 24 /shell/quote/0 922s ok 25 /shell/quote/1 922s ok 26 /shell/quote/2 922s ok 27 /shell/quote/3 922s ok 28 /shell/quote/4 922s ok 29 /shell/quote/5 922s ok 30 /shell/quote/6 922s # End of quote tests 922s # Start of unquote tests 922s ok 31 /shell/unquote/0 922s ok 32 /shell/unquote/1 922s ok 33 /shell/unquote/2 922s ok 34 /shell/unquote/3 922s ok 35 /shell/unquote/4 922s ok 36 /shell/unquote/5 922s ok 37 /shell/unquote/6 922s ok 38 /shell/unquote/7 922s ok 39 /shell/unquote/8 922s ok 40 /shell/unquote/9 922s ok 41 /shell/unquote/10 922s ok 42 /shell/unquote/11 922s ok 43 /shell/unquote/12 922s ok 44 /shell/unquote/13 922s ok 45 /shell/unquote/14 922s ok 46 /shell/unquote/15 922s ok 47 /shell/unquote/16 922s ok 48 /shell/unquote/17 922s ok 49 /shell/unquote/18 922s ok 50 /shell/unquote/19 922s ok 51 /shell/unquote/20 922s # End of unquote tests 922s # End of shell tests 922s ok - glib/shell.test 922s # Running test: glib/test-printf.test 922s TAP version 13 922s # random seed: R02Sbe4c0aad390e2c9c9eca89f523707396 922s 1..22 922s # Start of snprintf tests 922s ok 1 /snprintf/retval-and-trunc 922s ok 2 /snprintf/%d 922s ok 3 /snprintf/%d-invalid 922s ok 4 /snprintf/%o 922s ok 5 /snprintf/%u 922s ok 6 /snprintf/%x 922s ok 7 /snprintf/%X 922s ok 8 /snprintf/%f 922s ok 9 /snprintf/%e 922s ok 10 /snprintf/%c 922s ok 11 /snprintf/%s 922s ok 12 /snprintf/%n 922s ok 13 /snprintf/test-percent 922s ok 14 /snprintf/test-positional-params 922s ok 15 /snprintf/test-64bit 922s # End of snprintf tests 922s # Start of printf tests 922s ok 16 /printf/test-percent 922s ok 17 /printf/test-positional-params 922s ok 18 /printf/test-64bit 922s # Start of test-64bit tests 922s # Start of subprocess tests 922s # End of subprocess tests 922s # End of test-64bit tests 922s # End of printf tests 922s # Start of sprintf tests 922s ok 19 /sprintf/test-positional-params 922s ok 20 /sprintf/upper-bound 922s # End of sprintf tests 922s # Start of vasprintf tests 922s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 922s ok 21 /vasprintf/invalid-format-placeholder 922s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 922s ok 22 /vasprintf/invalid-wide-string 922s # End of vasprintf tests 922s ok - glib/test-printf.test 922s # Running test: glib/gdbus-peer-object-manager.test 922s TAP version 13 922s # random seed: R02S24df95468148ff47e5e80574692f2660 922s 1..2 922s # Start of gdbus tests 922s # Start of peer-object-manager tests 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/normal/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/normal/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/normal/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/normal/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/normal/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/normal/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/normal/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/normal/.dirs/runtime 922s ok 1 /gdbus/peer-object-manager/normal 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/root/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/root/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/root/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/root/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/root/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/root/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/root/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_DHFIK2/gdbus/peer-object-manager/root/.dirs/runtime 922s ok 2 /gdbus/peer-object-manager/root 922s # End of peer-object-manager tests 922s # End of gdbus tests 922s ok - glib/gdbus-peer-object-manager.test 922s # Running test: glib/utf8-validate.test 922s TAP version 13 922s # random seed: R02S739a38a7993d81ba760c267b1385607b 922s 1..216 922s # Start of utf8 tests 922s # Vector 0 922s # Vector 1 922s # Vector 2 922s # Vector 3 922s # Vector 4 922s # Vector 5 922s # Vector 6 922s # Vector 7 922s # Vector 8 922s # Vector 9 922s # Vector 10 922s # Vector 11 922s # Vector 12 922s # Vector 13 922s # Vector 14 922s # Vector 15 922s # Vector 16 922s # Vector 17 922s # Vector 18 922s # Vector 19 922s # Vector 20 922s # Vector 21 922s # Vector 22 922s # Vector 23 922s # Vector 24 922s # Vector 25 922s # Vector 26 922s # Vector 27 922s ok 1 /utf8/get-char-validated 922s # Start of validate tests 922s ok 2 /utf8/validate/0 922s ok 3 /utf8/validate/1 922s ok 4 /utf8/validate/2 922s ok 5 /utf8/validate/3 922s ok 6 /utf8/validate/4 922s ok 7 /utf8/validate/5 922s ok 8 /utf8/validate/6 922s ok 9 /utf8/validate/7 922s ok 10 /utf8/validate/8 922s ok 11 /utf8/validate/9 922s ok 12 /utf8/validate/10 922s ok 13 /utf8/validate/11 922s ok 14 /utf8/validate/12 922s ok 15 /utf8/validate/13 922s ok 16 /utf8/validate/14 922s ok 17 /utf8/validate/15 922s ok 18 /utf8/validate/16 922s ok 19 /utf8/validate/17 922s ok 20 /utf8/validate/18 922s ok 21 /utf8/validate/19 922s ok 22 /utf8/validate/20 922s ok 23 /utf8/validate/21 922s ok 24 /utf8/validate/22 922s ok 25 /utf8/validate/23 922s ok 26 /utf8/validate/24 922s ok 27 /utf8/validate/25 922s ok 28 /utf8/validate/26 922s ok 29 /utf8/validate/27 922s ok 30 /utf8/validate/28 922s ok 31 /utf8/validate/29 922s ok 32 /utf8/validate/30 922s ok 33 /utf8/validate/31 922s ok 34 /utf8/validate/32 922s ok 35 /utf8/validate/33 922s ok 36 /utf8/validate/34 922s ok 37 /utf8/validate/35 922s ok 38 /utf8/validate/36 922s ok 39 /utf8/validate/37 922s ok 40 /utf8/validate/38 922s ok 41 /utf8/validate/39 922s ok 42 /utf8/validate/40 922s ok 43 /utf8/validate/41 922s ok 44 /utf8/validate/42 922s ok 45 /utf8/validate/43 922s ok 46 /utf8/validate/44 922s ok 47 /utf8/validate/45 922s ok 48 /utf8/validate/46 922s ok 49 /utf8/validate/47 922s ok 50 /utf8/validate/48 922s ok 51 /utf8/validate/49 922s ok 52 /utf8/validate/50 922s ok 53 /utf8/validate/51 922s ok 54 /utf8/validate/52 922s ok 55 /utf8/validate/53 922s ok 56 /utf8/validate/54 922s ok 57 /utf8/validate/55 922s ok 58 /utf8/validate/56 922s ok 59 /utf8/validate/57 922s ok 60 /utf8/validate/58 922s ok 61 /utf8/validate/59 922s ok 62 /utf8/validate/60 922s ok 63 /utf8/validate/61 922s ok 64 /utf8/validate/62 922s ok 65 /utf8/validate/63 922s ok 66 /utf8/validate/64 922s ok 67 /utf8/validate/65 922s ok 68 /utf8/validate/66 922s ok 69 /utf8/validate/67 922s ok 70 /utf8/validate/68 922s ok 71 /utf8/validate/69 922s ok 72 /utf8/validate/70 922s ok 73 /utf8/validate/71 922s ok 74 /utf8/validate/72 922s ok 75 /utf8/validate/73 922s ok 76 /utf8/validate/74 922s ok 77 /utf8/validate/75 922s ok 78 /utf8/validate/76 922s ok 79 /utf8/validate/77 922s ok 80 /utf8/validate/78 922s ok 81 /utf8/validate/79 922s ok 82 /utf8/validate/80 922s ok 83 /utf8/validate/81 922s ok 84 /utf8/validate/82 922s ok 85 /utf8/validate/83 922s ok 86 /utf8/validate/84 922s ok 87 /utf8/validate/85 922s ok 88 /utf8/validate/86 922s ok 89 /utf8/validate/87 922s ok 90 /utf8/validate/88 922s ok 91 /utf8/validate/89 922s ok 92 /utf8/validate/90 922s ok 93 /utf8/validate/91 922s ok 94 /utf8/validate/92 922s ok 95 /utf8/validate/93 922s ok 96 /utf8/validate/94 922s ok 97 /utf8/validate/95 922s ok 98 /utf8/validate/96 922s ok 99 /utf8/validate/97 922s ok 100 /utf8/validate/98 922s ok 101 /utf8/validate/99 922s ok 102 /utf8/validate/100 922s ok 103 /utf8/validate/101 922s ok 104 /utf8/validate/102 922s ok 105 /utf8/validate/103 922s ok 106 /utf8/validate/104 922s ok 107 /utf8/validate/105 922s ok 108 /utf8/validate/106 922s ok 109 /utf8/validate/107 922s ok 110 /utf8/validate/108 922s ok 111 /utf8/validate/109 922s ok 112 /utf8/validate/110 922s ok 113 /utf8/validate/111 922s ok 114 /utf8/validate/112 922s ok 115 /utf8/validate/113 922s ok 116 /utf8/validate/114 922s ok 117 /utf8/validate/115 922s ok 118 /utf8/validate/116 922s ok 119 /utf8/validate/117 922s ok 120 /utf8/validate/118 922s ok 121 /utf8/validate/119 922s ok 122 /utf8/validate/120 922s ok 123 /utf8/validate/121 922s ok 124 /utf8/validate/122 922s ok 125 /utf8/validate/123 922s ok 126 /utf8/validate/124 922s ok 127 /utf8/validate/125 922s ok 128 /utf8/validate/126 922s ok 129 /utf8/validate/127 922s ok 130 /utf8/validate/128 922s ok 131 /utf8/validate/129 922s ok 132 /utf8/validate/130 922s ok 133 /utf8/validate/131 922s ok 134 /utf8/validate/132 922s ok 135 /utf8/validate/133 922s ok 136 /utf8/validate/134 922s ok 137 /utf8/validate/135 922s ok 138 /utf8/validate/136 922s ok 139 /utf8/validate/137 922s ok 140 /utf8/validate/138 922s ok 141 /utf8/validate/139 922s ok 142 /utf8/validate/140 922s ok 143 /utf8/validate/141 922s ok 144 /utf8/validate/142 922s ok 145 /utf8/validate/143 922s ok 146 /utf8/validate/144 922s ok 147 /utf8/validate/145 922s ok 148 /utf8/validate/146 922s ok 149 /utf8/validate/147 922s ok 150 /utf8/validate/148 922s ok 151 /utf8/validate/149 922s ok 152 /utf8/validate/150 922s ok 153 /utf8/validate/151 922s ok 154 /utf8/validate/152 922s ok 155 /utf8/validate/153 922s ok 156 /utf8/validate/154 922s ok 157 /utf8/validate/155 922s ok 158 /utf8/validate/156 922s ok 159 /utf8/validate/157 922s ok 160 /utf8/validate/158 922s ok 161 /utf8/validate/159 922s ok 162 /utf8/validate/160 922s ok 163 /utf8/validate/161 922s ok 164 /utf8/validate/162 922s ok 165 /utf8/validate/163 922s ok 166 /utf8/validate/164 922s ok 167 /utf8/validate/165 922s ok 168 /utf8/validate/166 922s ok 169 /utf8/validate/167 922s ok 170 /utf8/validate/168 922s ok 171 /utf8/validate/169 922s ok 172 /utf8/validate/170 922s ok 173 /utf8/validate/171 922s ok 174 /utf8/validate/172 922s ok 175 /utf8/validate/173 922s ok 176 /utf8/validate/174 922s ok 177 /utf8/validate/175 922s ok 178 /utf8/validate/176 922s ok 179 /utf8/validate/177 922s ok 180 /utf8/validate/178 922s ok 181 /utf8/validate/179 922s ok 182 /utf8/validate/180 922s ok 183 /utf8/validate/181 922s ok 184 /utf8/validate/182 922s ok 185 /utf8/validate/183 922s ok 186 /utf8/validate/184 922s ok 187 /utf8/validate/185 922s ok 188 /utf8/validate/186 922s ok 189 /utf8/validate/187 922s ok 190 /utf8/validate/188 922s ok 191 /utf8/validate/189 922s ok 192 /utf8/validate/190 922s ok 193 /utf8/validate/191 922s ok 194 /utf8/validate/192 922s ok 195 /utf8/validate/193 922s ok 196 /utf8/validate/194 922s ok 197 /utf8/validate/195 922s ok 198 /utf8/validate/196 922s ok 199 /utf8/validate/197 922s ok 200 /utf8/validate/198 922s ok 201 /utf8/validate/199 922s ok 202 /utf8/validate/200 922s ok 203 /utf8/validate/201 922s ok 204 /utf8/validate/202 922s ok 205 /utf8/validate/203 922s ok 206 /utf8/validate/204 922s ok 207 /utf8/validate/205 922s ok 208 /utf8/validate/206 922s ok 209 /utf8/validate/207 922s ok 210 /utf8/validate/208 922s ok 211 /utf8/validate/209 922s ok 212 /utf8/validate/210 922s ok 213 /utf8/validate/211 922s ok 214 /utf8/validate/212 922s ok 215 /utf8/validate/213 922s ok 216 /utf8/validate/214 922s # End of validate tests 922s # End of utf8 tests 922s ok - glib/utf8-validate.test 922s # Running test: glib/regex.test 922s TAP version 13 922s # random seed: R02S27926f84b8140660fb3a2405f41714d7 922s 1..848 922s # Start of regex tests 922s ok 1 /regex/properties 922s ok 2 /regex/class 922s ok 3 /regex/lookahead 922s ok 4 /regex/lookbehind 922s ok 5 /regex/subpattern 922s ok 6 /regex/condition 922s ok 7 /regex/recursion 922s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 922s ok 8 /regex/multiline 922s ok 9 /regex/explicit-crlf 922s ok 10 /regex/max-lookbehind 922s ok 11 /regex/compile-errors 922s ok 12 /regex/jit-unsupported-matching 922s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 922s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 922s ok 13 /regex/unmatched-named-subpattern 922s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 922s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 922s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 922s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 922s ok 14 /regex/compiled-regex-after-jit-failure 922s # Start of new tests 922s ok 15 /regex/new/1 922s ok 16 /regex/new/2 922s ok 17 /regex/new/3 922s ok 18 /regex/new/4 922s ok 19 /regex/new/5 922s ok 20 /regex/new/6 922s ok 21 /regex/new/7 922s ok 22 /regex/new/8 922s ok 23 /regex/new/9 922s ok 24 /regex/new/10 922s ok 25 /regex/new/11 922s ok 26 /regex/new/12 922s ok 27 /regex/new/13 922s ok 28 /regex/new/14 922s ok 29 /regex/new/15 922s ok 30 /regex/new/16 922s ok 31 /regex/new/17 922s ok 32 /regex/new/18 922s ok 33 /regex/new/19 922s ok 34 /regex/new/71 922s ok 35 /regex/new/80 922s ok 36 /regex/new/82 922s # End of new tests 922s # Start of new-check-flags tests 922s ok 37 /regex/new-check-flags/20 922s ok 38 /regex/new-check-flags/21 922s ok 39 /regex/new-check-flags/22 922s ok 40 /regex/new-check-flags/23 922s ok 41 /regex/new-check-flags/24 922s ok 42 /regex/new-check-flags/25 922s ok 43 /regex/new-check-flags/26 922s ok 44 /regex/new-check-flags/27 922s ok 45 /regex/new-check-flags/28 922s ok 46 /regex/new-check-flags/29 922s ok 47 /regex/new-check-flags/30 922s ok 48 /regex/new-check-flags/31 922s ok 49 /regex/new-check-flags/32 922s ok 50 /regex/new-check-flags/33 922s ok 51 /regex/new-check-flags/34 922s ok 52 /regex/new-check-flags/35 922s ok 53 /regex/new-check-flags/36 922s # End of new-check-flags tests 922s # Start of new-fail tests 922s ok 54 /regex/new-fail/37 922s ok 55 /regex/new-fail/38 922s ok 56 /regex/new-fail/39 922s ok 57 /regex/new-fail/40 922s ok 58 /regex/new-fail/41 922s ok 59 /regex/new-fail/42 922s ok 60 /regex/new-fail/43 922s ok 61 /regex/new-fail/44 922s ok 62 /regex/new-fail/45 922s ok 63 /regex/new-fail/46 922s ok 64 /regex/new-fail/47 922s ok 65 /regex/new-fail/48 922s ok 66 /regex/new-fail/49 922s ok 67 /regex/new-fail/50 922s ok 68 /regex/new-fail/51 922s ok 69 /regex/new-fail/52 922s ok 70 /regex/new-fail/53 922s ok 71 /regex/new-fail/54 922s ok 72 /regex/new-fail/55 922s ok 73 /regex/new-fail/56 922s ok 74 /regex/new-fail/57 922s ok 75 /regex/new-fail/58 922s ok 76 /regex/new-fail/59 922s ok 77 /regex/new-fail/60 922s ok 78 /regex/new-fail/61 922s ok 79 /regex/new-fail/62 922s ok 80 /regex/new-fail/63 922s ok 81 /regex/new-fail/64 922s ok 82 /regex/new-fail/65 922s ok 83 /regex/new-fail/66 922s ok 84 /regex/new-fail/67 922s ok 85 /regex/new-fail/68 922s ok 86 /regex/new-fail/69 922s ok 87 /regex/new-fail/70 922s ok 88 /regex/new-fail/72 922s ok 89 /regex/new-fail/73 922s ok 90 /regex/new-fail/74 922s ok 91 /regex/new-fail/75 922s ok 92 /regex/new-fail/76 922s ok 93 /regex/new-fail/77 922s ok 94 /regex/new-fail/78 922s ok 95 /regex/new-fail/79 922s ok 96 /regex/new-fail/81 922s ok 97 /regex/new-fail/83 922s ok 98 /regex/new-fail/84 922s ok 99 /regex/new-fail/85 922s ok 100 /regex/new-fail/86 922s ok 101 /regex/new-fail/87 922s ok 102 /regex/new-fail/88 922s ok 103 /regex/new-fail/89 922s ok 104 /regex/new-fail/90 922s ok 105 /regex/new-fail/91 922s # End of new-fail tests 922s # Start of match-simple tests 922s ok 106 /regex/match-simple/92 922s ok 107 /regex/match-simple/93 922s ok 108 /regex/match-simple/94 922s ok 109 /regex/match-simple/95 922s ok 110 /regex/match-simple/96 922s ok 111 /regex/match-simple/97 922s ok 112 /regex/match-simple/98 922s ok 113 /regex/match-simple/99 922s ok 114 /regex/match-simple/100 922s ok 115 /regex/match-simple/101 922s ok 116 /regex/match-simple/102 922s ok 117 /regex/match-simple/103 922s ok 118 /regex/match-simple/104 922s ok 119 /regex/match-simple/105 922s ok 120 /regex/match-simple/106 922s ok 121 /regex/match-simple/107 922s ok 122 /regex/match-simple/108 922s ok 123 /regex/match-simple/109 922s ok 124 /regex/match-simple/110 922s ok 125 /regex/match-simple/111 922s ok 126 /regex/match-simple/112 922s ok 127 /regex/match-simple/113 922s ok 128 /regex/match-simple/114 922s ok 129 /regex/match-simple/115 922s ok 130 /regex/match-simple/116 922s ok 131 /regex/match-simple/117 922s ok 132 /regex/match-simple/118 922s ok 133 /regex/match-simple/119 922s ok 134 /regex/match-simple/120 922s ok 135 /regex/match-simple/121 922s ok 136 /regex/match-simple/122 922s ok 137 /regex/match-simple/123 922s ok 138 /regex/match-simple/124 922s ok 139 /regex/match-simple/125 922s ok 140 /regex/match-simple/126 922s ok 141 /regex/match-simple/127 922s ok 142 /regex/match-simple/128 922s ok 143 /regex/match-simple/129 922s ok 144 /regex/match-simple/130 922s ok 145 /regex/match-simple/131 922s ok 146 /regex/match-simple/132 922s ok 147 /regex/match-simple/133 922s ok 148 /regex/match-simple/134 922s ok 149 /regex/match-simple/135 922s ok 150 /regex/match-simple/136 922s ok 151 /regex/match-simple/137 922s ok 152 /regex/match-simple/138 922s ok 153 /regex/match-simple/139 922s ok 154 /regex/match-simple/140 922s ok 155 /regex/match-simple/141 922s ok 156 /regex/match-simple/142 922s ok 157 /regex/match-simple/143 922s ok 158 /regex/match-simple/144 922s ok 159 /regex/match-simple/145 922s ok 160 /regex/match-simple/146 922s ok 161 /regex/match-simple/147 922s ok 162 /regex/match-simple/148 922s ok 163 /regex/match-simple/149 922s ok 164 /regex/match-simple/150 922s ok 165 /regex/match-simple/151 922s ok 166 /regex/match-simple/152 922s ok 167 /regex/match-simple/153 922s ok 168 /regex/match-simple/154 922s ok 169 /regex/match-simple/155 922s ok 170 /regex/match-simple/156 922s ok 171 /regex/match-simple/157 922s ok 172 /regex/match-simple/158 922s ok 173 /regex/match-simple/159 922s ok 174 /regex/match-simple/160 922s ok 175 /regex/match-simple/161 922s ok 176 /regex/match-simple/162 922s ok 177 /regex/match-simple/163 922s ok 178 /regex/match-simple/164 922s # End of match-simple tests 922s # Start of match-simple-optimized tests 922s ok 179 /regex/match-simple-optimized/92 922s ok 180 /regex/match-simple-optimized/93 922s ok 181 /regex/match-simple-optimized/94 922s ok 182 /regex/match-simple-optimized/95 922s ok 183 /regex/match-simple-optimized/96 922s ok 184 /regex/match-simple-optimized/97 922s ok 185 /regex/match-simple-optimized/98 922s ok 186 /regex/match-simple-optimized/99 922s ok 187 /regex/match-simple-optimized/100 922s ok 188 /regex/match-simple-optimized/101 922s ok 189 /regex/match-simple-optimized/102 922s ok 190 /regex/match-simple-optimized/103 922s ok 191 /regex/match-simple-optimized/104 922s ok 192 /regex/match-simple-optimized/105 922s ok 193 /regex/match-simple-optimized/106 922s ok 194 /regex/match-simple-optimized/107 922s ok 195 /regex/match-simple-optimized/108 922s ok 196 /regex/match-simple-optimized/109 922s ok 197 /regex/match-simple-optimized/110 922s ok 198 /regex/match-simple-optimized/111 922s ok 199 /regex/match-simple-optimized/112 922s ok 200 /regex/match-simple-optimized/113 922s ok 201 /regex/match-simple-optimized/114 922s ok 202 /regex/match-simple-optimized/115 922s ok 203 /regex/match-simple-optimized/116 922s ok 204 /regex/match-simple-optimized/117 922s ok 205 /regex/match-simple-optimized/118 922s ok 206 /regex/match-simple-optimized/119 922s ok 207 /regex/match-simple-optimized/120 922s ok 208 /regex/match-simple-optimized/121 922s ok 209 /regex/match-simple-optimized/122 922s ok 210 /regex/match-simple-optimized/123 922s ok 211 /regex/match-simple-optimized/124 922s ok 212 /regex/match-simple-optimized/125 922s ok 213 /regex/match-simple-optimized/126 922s ok 214 /regex/match-simple-optimized/127 922s ok 215 /regex/match-simple-optimized/128 922s ok 216 /regex/match-simple-optimized/129 922s ok 217 /regex/match-simple-optimized/130 922s ok 218 /regex/match-simple-optimized/131 922s ok 219 /regex/match-simple-optimized/132 922s ok 220 /regex/match-simple-optimized/133 922s ok 221 /regex/match-simple-optimized/134 922s ok 222 /regex/match-simple-optimized/135 922s ok 223 /regex/match-simple-optimized/136 922s ok 224 /regex/match-simple-optimized/137 922s ok 225 /regex/match-simple-optimized/138 922s ok 226 /regex/match-simple-optimized/139 922s ok 227 /regex/match-simple-optimized/140 922s ok 228 /regex/match-simple-optimized/141 922s ok 229 /regex/match-simple-optimized/142 922s ok 230 /regex/match-simple-optimized/143 922s ok 231 /regex/match-simple-optimized/144 922s ok 232 /regex/match-simple-optimized/145 922s ok 233 /regex/match-simple-optimized/146 922s ok 234 /regex/match-simple-optimized/147 922s ok 235 /regex/match-simple-optimized/148 922s ok 236 /regex/match-simple-optimized/149 922s ok 237 /regex/match-simple-optimized/150 922s ok 238 /regex/match-simple-optimized/151 922s ok 239 /regex/match-simple-optimized/152 922s ok 240 /regex/match-simple-optimized/153 922s ok 241 /regex/match-simple-optimized/154 922s ok 242 /regex/match-simple-optimized/155 922s ok 243 /regex/match-simple-optimized/156 922s ok 244 /regex/match-simple-optimized/157 922s ok 245 /regex/match-simple-optimized/158 922s ok 246 /regex/match-simple-optimized/159 922s ok 247 /regex/match-simple-optimized/160 922s ok 248 /regex/match-simple-optimized/161 922s ok 249 /regex/match-simple-optimized/162 922s ok 250 /regex/match-simple-optimized/163 922s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 922s ok 251 /regex/match-simple-optimized/164 922s # End of match-simple-optimized tests 922s # Start of match tests 922s ok 252 /regex/match/165 922s ok 253 /regex/match/166 922s ok 254 /regex/match/167 922s ok 255 /regex/match/168 922s ok 256 /regex/match/169 922s ok 257 /regex/match/170 922s ok 258 /regex/match/171 922s ok 259 /regex/match/172 922s ok 260 /regex/match/173 922s ok 261 /regex/match/174 922s ok 262 /regex/match/175 922s ok 263 /regex/match/176 922s ok 264 /regex/match/177 922s ok 265 /regex/match/178 922s ok 266 /regex/match/179 922s ok 267 /regex/match/180 922s ok 268 /regex/match/181 922s ok 269 /regex/match/182 922s ok 270 /regex/match/183 922s ok 271 /regex/match/184 922s ok 272 /regex/match/185 922s ok 273 /regex/match/186 922s ok 274 /regex/match/187 922s ok 275 /regex/match/188 922s ok 276 /regex/match/189 922s ok 277 /regex/match/190 922s ok 278 /regex/match/191 922s ok 279 /regex/match/192 922s ok 280 /regex/match/193 922s ok 281 /regex/match/194 922s ok 282 /regex/match/195 922s ok 283 /regex/match/196 922s ok 284 /regex/match/197 922s ok 285 /regex/match/198 922s ok 286 /regex/match/199 922s ok 287 /regex/match/200 922s ok 288 /regex/match/201 922s ok 289 /regex/match/202 922s ok 290 /regex/match/203 922s ok 291 /regex/match/204 922s ok 292 /regex/match/205 922s ok 293 /regex/match/206 922s ok 294 /regex/match/207 922s ok 295 /regex/match/208 922s ok 296 /regex/match/209 922s ok 297 /regex/match/210 922s ok 298 /regex/match/211 922s ok 299 /regex/match/212 922s ok 300 /regex/match/213 922s ok 301 /regex/match/214 922s ok 302 /regex/match/215 922s ok 303 /regex/match/216 922s ok 304 /regex/match/217 922s ok 305 /regex/match/218 922s ok 306 /regex/match/219 922s ok 307 /regex/match/220 922s ok 308 /regex/match/221 922s ok 309 /regex/match/222 922s ok 310 /regex/match/223 922s ok 311 /regex/match/224 922s ok 312 /regex/match/225 922s ok 313 /regex/match/226 922s ok 314 /regex/match/227 922s ok 315 /regex/match/228 922s ok 316 /regex/match/229 922s ok 317 /regex/match/230 922s ok 318 /regex/match/231 922s ok 319 /regex/match/232 922s ok 320 /regex/match/233 922s ok 321 /regex/match/234 922s ok 322 /regex/match/235 922s ok 323 /regex/match/236 922s ok 324 /regex/match/237 922s ok 325 /regex/match/238 922s ok 326 /regex/match/239 922s ok 327 /regex/match/240 922s ok 328 /regex/match/241 922s ok 329 /regex/match/242 922s ok 330 /regex/match/243 922s ok 331 /regex/match/244 922s ok 332 /regex/match/245 922s ok 333 /regex/match/246 922s ok 334 /regex/match/partial281 922s ok 335 /regex/match/partial282 922s ok 336 /regex/match/partial283 922s ok 337 /regex/match/partial284 922s ok 338 /regex/match/partial285 922s ok 339 /regex/match/partial286 922s ok 340 /regex/match/partial287 922s ok 341 /regex/match/partial288 922s ok 342 /regex/match/partial289 922s ok 343 /regex/match/partial290 922s ok 344 /regex/match/partial291 922s ok 345 /regex/match/partial292 922s ok 346 /regex/match/partial293 922s ok 347 /regex/match/partial294 922s ok 348 /regex/match/partial295 922s ok 349 /regex/match/partial296 922s ok 350 /regex/match/partial297 922s ok 351 /regex/match/partial298 922s ok 352 /regex/match/partial299 922s ok 353 /regex/match/partial300 922s ok 354 /regex/match/partial301 922s ok 355 /regex/match/partial302 922s # Start of next0 tests 922s ok 356 /regex/match/next0/247 922s ok 357 /regex/match/next0/248 922s ok 358 /regex/match/next0/249 922s ok 359 /regex/match/next0/250 922s # End of next0 tests 922s # Start of next1 tests 922s ok 360 /regex/match/next1/251 922s ok 361 /regex/match/next1/252 922s ok 362 /regex/match/next1/253 922s ok 363 /regex/match/next1/254 922s ok 364 /regex/match/next1/255 922s # End of next1 tests 922s # Start of next2 tests 922s ok 365 /regex/match/next2/256 922s ok 366 /regex/match/next2/257 922s ok 367 /regex/match/next2/258 922s ok 368 /regex/match/next2/259 922s ok 369 /regex/match/next2/260 922s ok 370 /regex/match/next2/261 922s ok 371 /regex/match/next2/262 922s ok 372 /regex/match/next2/263 922s # End of next2 tests 922s # Start of next3 tests 922s ok 373 /regex/match/next3/264 922s ok 374 /regex/match/next3/265 922s ok 375 /regex/match/next3/266 922s ok 376 /regex/match/next3/267 922s ok 377 /regex/match/next3/268 922s ok 378 /regex/match/next3/269 922s # End of next3 tests 922s # Start of next4 tests 922s ok 379 /regex/match/next4/270 922s # End of next4 tests 922s # Start of count tests 922s ok 380 /regex/match/count/271 922s ok 381 /regex/match/count/272 922s ok 382 /regex/match/count/273 922s ok 383 /regex/match/count/274 922s ok 384 /regex/match/count/275 922s ok 385 /regex/match/count/276 922s ok 386 /regex/match/count/277 922s ok 387 /regex/match/count/278 922s ok 388 /regex/match/count/279 922s ok 389 /regex/match/count/280 922s # End of count tests 922s # Start of count-optimized tests 922s ok 390 /regex/match/count-optimized/271 922s ok 391 /regex/match/count-optimized/272 922s ok 392 /regex/match/count-optimized/273 922s ok 393 /regex/match/count-optimized/274 922s ok 394 /regex/match/count-optimized/275 922s ok 395 /regex/match/count-optimized/276 922s ok 396 /regex/match/count-optimized/277 922s ok 397 /regex/match/count-optimized/278 922s ok 398 /regex/match/count-optimized/279 922s ok 399 /regex/match/count-optimized/280 922s # End of count-optimized tests 922s # Start of partial-optimized tests 922s ok 400 /regex/match/partial-optimized/281 922s ok 401 /regex/match/partial-optimized/282 922s ok 402 /regex/match/partial-optimized/283 922s ok 403 /regex/match/partial-optimized/284 922s ok 404 /regex/match/partial-optimized/285 922s ok 405 /regex/match/partial-optimized/286 922s ok 406 /regex/match/partial-optimized/287 922s ok 407 /regex/match/partial-optimized/288 922s ok 408 /regex/match/partial-optimized/289 922s ok 409 /regex/match/partial-optimized/290 922s ok 410 /regex/match/partial-optimized/291 922s ok 411 /regex/match/partial-optimized/292 922s ok 412 /regex/match/partial-optimized/293 922s ok 413 /regex/match/partial-optimized/294 922s ok 414 /regex/match/partial-optimized/295 922s ok 415 /regex/match/partial-optimized/296 922s ok 416 /regex/match/partial-optimized/297 922s ok 417 /regex/match/partial-optimized/298 922s ok 418 /regex/match/partial-optimized/299 922s ok 419 /regex/match/partial-optimized/300 922s ok 420 /regex/match/partial-optimized/301 922s ok 421 /regex/match/partial-optimized/302 922s # End of partial-optimized tests 922s # Start of subpattern tests 922s ok 422 /regex/match/subpattern/303 922s ok 423 /regex/match/subpattern/304 922s ok 424 /regex/match/subpattern/305 922s ok 425 /regex/match/subpattern/306 922s ok 426 /regex/match/subpattern/307 922s ok 427 /regex/match/subpattern/308 922s ok 428 /regex/match/subpattern/309 922s ok 429 /regex/match/subpattern/310 922s ok 430 /regex/match/subpattern/311 922s ok 431 /regex/match/subpattern/312 922s ok 432 /regex/match/subpattern/313 922s ok 433 /regex/match/subpattern/314 922s ok 434 /regex/match/subpattern/315 922s # Start of named tests 922s # Start of dupnames tests 922s ok 435 /regex/match/subpattern/named/dupnames/325 922s ok 436 /regex/match/subpattern/named/dupnames/326 922s ok 437 /regex/match/subpattern/named/dupnames/327 922s ok 438 /regex/match/subpattern/named/dupnames/328 922s ok 439 /regex/match/subpattern/named/dupnames/329 922s # End of dupnames tests 922s # End of named tests 922s # End of subpattern tests 922s # Start of subpattern-optimized tests 922s ok 440 /regex/match/subpattern-optimized/303 922s ok 441 /regex/match/subpattern-optimized/304 922s ok 442 /regex/match/subpattern-optimized/305 922s ok 443 /regex/match/subpattern-optimized/306 922s ok 444 /regex/match/subpattern-optimized/307 922s ok 445 /regex/match/subpattern-optimized/308 922s ok 446 /regex/match/subpattern-optimized/309 922s ok 447 /regex/match/subpattern-optimized/310 922s ok 448 /regex/match/subpattern-optimized/311 922s ok 449 /regex/match/subpattern-optimized/312 922s ok 450 /regex/match/subpattern-optimized/313 922s ok 451 /regex/match/subpattern-optimized/314 922s ok 452 /regex/match/subpattern-optimized/315 922s # End of subpattern-optimized tests 922s # Start of named tests 922s # Start of subpattern tests 922s ok 453 /regex/match/named/subpattern/316 922s ok 454 /regex/match/named/subpattern/317 922s ok 455 /regex/match/named/subpattern/318 922s ok 456 /regex/match/named/subpattern/319 922s ok 457 /regex/match/named/subpattern/320 922s ok 458 /regex/match/named/subpattern/321 922s ok 459 /regex/match/named/subpattern/322 922s ok 460 /regex/match/named/subpattern/323 922s ok 461 /regex/match/named/subpattern/324 922s ok 462 /regex/match/named/subpattern/330 922s ok 463 /regex/match/named/subpattern/331 922s ok 464 /regex/match/named/subpattern/332 922s ok 465 /regex/match/named/subpattern/333 922s ok 466 /regex/match/named/subpattern/334 922s # End of subpattern tests 922s # End of named tests 922s # End of match tests 922s # Start of match-optimized tests 922s ok 467 /regex/match-optimized/165 922s ok 468 /regex/match-optimized/166 922s ok 469 /regex/match-optimized/167 922s ok 470 /regex/match-optimized/168 922s ok 471 /regex/match-optimized/169 922s ok 472 /regex/match-optimized/170 922s ok 473 /regex/match-optimized/171 922s ok 474 /regex/match-optimized/172 922s ok 475 /regex/match-optimized/173 922s ok 476 /regex/match-optimized/174 922s ok 477 /regex/match-optimized/175 922s ok 478 /regex/match-optimized/176 922s ok 479 /regex/match-optimized/177 922s ok 480 /regex/match-optimized/178 922s ok 481 /regex/match-optimized/179 922s ok 482 /regex/match-optimized/180 922s ok 483 /regex/match-optimized/181 922s ok 484 /regex/match-optimized/182 922s ok 485 /regex/match-optimized/183 922s ok 486 /regex/match-optimized/184 922s ok 487 /regex/match-optimized/185 922s ok 488 /regex/match-optimized/186 922s ok 489 /regex/match-optimized/187 922s ok 490 /regex/match-optimized/188 922s ok 491 /regex/match-optimized/189 922s ok 492 /regex/match-optimized/190 922s ok 493 /regex/match-optimized/191 922s ok 494 /regex/match-optimized/192 922s ok 495 /regex/match-optimized/193 922s ok 496 /regex/match-optimized/194 922s ok 497 /regex/match-optimized/195 922s ok 498 /regex/match-optimized/196 922s ok 499 /regex/match-optimized/197 922s ok 500 /regex/match-optimized/198 922s ok 501 /regex/match-optimized/199 922s ok 502 /regex/match-optimized/200 922s ok 503 /regex/match-optimized/201 922s ok 504 /regex/match-optimized/202 922s ok 505 /regex/match-optimized/203 922s ok 506 /regex/match-optimized/204 922s ok 507 /regex/match-optimized/205 922s ok 508 /regex/match-optimized/206 922s ok 509 /regex/match-optimized/207 922s ok 510 /regex/match-optimized/208 922s ok 511 /regex/match-optimized/209 922s ok 512 /regex/match-optimized/210 922s ok 513 /regex/match-optimized/211 922s ok 514 /regex/match-optimized/212 922s ok 515 /regex/match-optimized/213 922s ok 516 /regex/match-optimized/214 922s ok 517 /regex/match-optimized/215 922s ok 518 /regex/match-optimized/216 922s ok 519 /regex/match-optimized/217 922s ok 520 /regex/match-optimized/218 922s ok 521 /regex/match-optimized/219 922s ok 522 /regex/match-optimized/220 922s ok 523 /regex/match-optimized/221 922s ok 524 /regex/match-optimized/222 922s ok 525 /regex/match-optimized/223 922s ok 526 /regex/match-optimized/224 922s ok 527 /regex/match-optimized/225 922s ok 528 /regex/match-optimized/226 922s ok 529 /regex/match-optimized/227 922s ok 530 /regex/match-optimized/228 922s ok 531 /regex/match-optimized/229 922s ok 532 /regex/match-optimized/230 922s ok 533 /regex/match-optimized/231 922s ok 534 /regex/match-optimized/232 922s ok 535 /regex/match-optimized/233 922s ok 536 /regex/match-optimized/234 922s ok 537 /regex/match-optimized/235 922s ok 538 /regex/match-optimized/236 922s ok 539 /regex/match-optimized/237 922s ok 540 /regex/match-optimized/238 922s ok 541 /regex/match-optimized/239 922s ok 542 /regex/match-optimized/240 922s ok 543 /regex/match-optimized/241 922s ok 544 /regex/match-optimized/242 922s ok 545 /regex/match-optimized/243 922s ok 546 /regex/match-optimized/244 922s ok 547 /regex/match-optimized/245 922s ok 548 /regex/match-optimized/246 922s # End of match-optimized tests 922s # Start of fetch-all0 tests 922s ok 549 /regex/fetch-all0/335 922s ok 550 /regex/fetch-all0/336 922s # End of fetch-all0 tests 922s # Start of fetch-all1 tests 922s ok 551 /regex/fetch-all1/337 922s ok 552 /regex/fetch-all1/338 922s ok 553 /regex/fetch-all1/339 922s # End of fetch-all1 tests 922s # Start of fetch-all2 tests 922s ok 554 /regex/fetch-all2/340 922s ok 555 /regex/fetch-all2/341 922s ok 556 /regex/fetch-all2/342 922s # End of fetch-all2 tests 922s # Start of fetch-all3 tests 922s ok 557 /regex/fetch-all3/343 922s ok 558 /regex/fetch-all3/344 922s ok 559 /regex/fetch-all3/345 922s ok 560 /regex/fetch-all3/346 922s ok 561 /regex/fetch-all3/347 922s # End of fetch-all3 tests 922s # Start of split tests 922s # Start of simple0 tests 922s ok 562 /regex/split/simple0/348 922s ok 563 /regex/split/simple0/349 922s ok 564 /regex/split/simple0/364 922s ok 565 /regex/split/simple0/365 922s # End of simple0 tests 922s # Start of simple1 tests 922s ok 566 /regex/split/simple1/350 922s ok 567 /regex/split/simple1/351 922s # End of simple1 tests 922s # Start of simple2 tests 922s ok 568 /regex/split/simple2/352 922s ok 569 /regex/split/simple2/358 922s ok 570 /regex/split/simple2/360 922s # End of simple2 tests 922s # Start of simple3 tests 922s ok 571 /regex/split/simple3/353 922s ok 572 /regex/split/simple3/354 922s ok 573 /regex/split/simple3/355 922s ok 574 /regex/split/simple3/356 922s ok 575 /regex/split/simple3/357 922s ok 576 /regex/split/simple3/359 922s ok 577 /regex/split/simple3/361 922s ok 578 /regex/split/simple3/362 922s ok 579 /regex/split/simple3/363 922s # End of simple3 tests 922s # End of split tests 922s # Start of split0 tests 922s ok 580 /regex/split0/366 922s ok 581 /regex/split0/368 922s # End of split0 tests 922s # Start of full-split0 tests 922s ok 582 /regex/full-split0/367 922s ok 583 /regex/full-split0/369 922s ok 584 /regex/full-split0/370 922s ok 585 /regex/full-split0/371 922s ok 586 /regex/full-split0/372 922s # End of full-split0 tests 922s # Start of split1 tests 922s ok 587 /regex/split1/373 922s ok 588 /regex/split1/376 922s # End of split1 tests 922s # Start of full-split1 tests 922s ok 589 /regex/full-split1/374 922s ok 590 /regex/full-split1/375 922s ok 591 /regex/full-split1/377 922s ok 592 /regex/full-split1/378 922s ok 593 /regex/full-split1/404 922s # End of full-split1 tests 922s # Start of split2 tests 922s ok 594 /regex/split2/379 922s ok 595 /regex/split2/383 922s ok 596 /regex/split2/395 922s # End of split2 tests 922s # Start of full-split2 tests 922s ok 597 /regex/full-split2/380 922s ok 598 /regex/full-split2/381 922s ok 599 /regex/full-split2/382 922s ok 600 /regex/full-split2/384 922s ok 601 /regex/full-split2/396 922s ok 602 /regex/full-split2/399 922s ok 603 /regex/full-split2/405 922s # End of full-split2 tests 922s # Start of split3 tests 922s ok 604 /regex/split3/385 922s ok 605 /regex/split3/387 922s ok 606 /regex/split3/389 922s ok 607 /regex/split3/391 922s ok 608 /regex/split3/393 922s ok 609 /regex/split3/397 922s ok 610 /regex/split3/400 922s ok 611 /regex/split3/402 922s # End of split3 tests 922s # Start of full-split3 tests 922s ok 612 /regex/full-split3/386 922s ok 613 /regex/full-split3/388 922s ok 614 /regex/full-split3/390 922s ok 615 /regex/full-split3/392 922s ok 616 /regex/full-split3/394 922s ok 617 /regex/full-split3/398 922s ok 618 /regex/full-split3/401 922s ok 619 /regex/full-split3/403 922s ok 620 /regex/full-split3/406 922s ok 621 /regex/full-split3/407 922s # End of full-split3 tests 922s # Start of check-repacement tests 922s ok 622 /regex/check-repacement/408 922s ok 623 /regex/check-repacement/409 922s ok 624 /regex/check-repacement/410 922s ok 625 /regex/check-repacement/411 922s ok 626 /regex/check-repacement/412 922s ok 627 /regex/check-repacement/413 922s ok 628 /regex/check-repacement/414 922s ok 629 /regex/check-repacement/415 922s # End of check-repacement tests 922s # Start of expand tests 922s ok 630 /regex/expand/416 922s ok 631 /regex/expand/417 922s ok 632 /regex/expand/418 922s ok 633 /regex/expand/419 922s ok 634 /regex/expand/420 922s ok 635 /regex/expand/421 922s ok 636 /regex/expand/422 922s ok 637 /regex/expand/423 922s ok 638 /regex/expand/424 922s ok 639 /regex/expand/425 922s ok 640 /regex/expand/426 922s ok 641 /regex/expand/427 922s ok 642 /regex/expand/428 922s ok 643 /regex/expand/429 922s ok 644 /regex/expand/430 922s ok 645 /regex/expand/431 922s ok 646 /regex/expand/432 922s ok 647 /regex/expand/433 922s ok 648 /regex/expand/434 922s ok 649 /regex/expand/435 922s ok 650 /regex/expand/436 922s ok 651 /regex/expand/437 922s ok 652 /regex/expand/438 922s ok 653 /regex/expand/439 922s ok 654 /regex/expand/440 922s ok 655 /regex/expand/441 922s ok 656 /regex/expand/442 922s ok 657 /regex/expand/443 922s ok 658 /regex/expand/444 922s ok 659 /regex/expand/445 922s ok 660 /regex/expand/446 922s ok 661 /regex/expand/447 922s ok 662 /regex/expand/448 922s ok 663 /regex/expand/449 922s ok 664 /regex/expand/450 922s ok 665 /regex/expand/451 922s ok 666 /regex/expand/452 922s ok 667 /regex/expand/453 922s ok 668 /regex/expand/454 922s ok 669 /regex/expand/455 922s ok 670 /regex/expand/456 922s ok 671 /regex/expand/457 922s ok 672 /regex/expand/458 922s ok 673 /regex/expand/459 922s ok 674 /regex/expand/460 922s ok 675 /regex/expand/461 922s ok 676 /regex/expand/462 922s ok 677 /regex/expand/463 922s ok 678 /regex/expand/464 922s ok 679 /regex/expand/465 922s ok 680 /regex/expand/466 922s ok 681 /regex/expand/467 922s ok 682 /regex/expand/468 922s ok 683 /regex/expand/469 922s ok 684 /regex/expand/470 922s ok 685 /regex/expand/471 922s ok 686 /regex/expand/472 922s ok 687 /regex/expand/473 922s ok 688 /regex/expand/474 922s ok 689 /regex/expand/475 922s ok 690 /regex/expand/476 922s ok 691 /regex/expand/477 922s ok 692 /regex/expand/478 922s ok 693 /regex/expand/479 922s ok 694 /regex/expand/480 922s ok 695 /regex/expand/481 922s # End of expand tests 922s # Start of replace tests 922s ok 696 /regex/replace/482 922s ok 697 /regex/replace/483 922s ok 698 /regex/replace/484 922s ok 699 /regex/replace/485 922s ok 700 /regex/replace/486 922s ok 701 /regex/replace/487 922s ok 702 /regex/replace/488 922s ok 703 /regex/replace/489 922s ok 704 /regex/replace/490 922s ok 705 /regex/replace/491 922s ok 706 /regex/replace/492 922s ok 707 /regex/replace/493 922s ok 708 /regex/replace/494 922s ok 709 /regex/replace/495 922s ok 710 /regex/replace/496 922s ok 711 /regex/replace/497 922s ok 712 /regex/replace/498 922s ok 713 /regex/replace/499 922s ok 714 /regex/replace/500 922s ok 715 /regex/replace/501 922s ok 716 /regex/replace/502 922s ok 717 /regex/replace/503 922s ok 718 /regex/replace/504 922s ok 719 /regex/replace/505 922s ok 720 /regex/replace/506 922s ok 721 /regex/replace/507 922s ok 722 /regex/replace/508 922s ok 723 /regex/replace/509 922s # End of replace tests 922s # Start of replace-optimized tests 922s ok 724 /regex/replace-optimized/482 922s ok 725 /regex/replace-optimized/483 922s ok 726 /regex/replace-optimized/484 922s ok 727 /regex/replace-optimized/485 922s ok 728 /regex/replace-optimized/486 922s ok 729 /regex/replace-optimized/487 922s ok 730 /regex/replace-optimized/488 922s ok 731 /regex/replace-optimized/489 922s ok 732 /regex/replace-optimized/490 922s ok 733 /regex/replace-optimized/491 922s ok 734 /regex/replace-optimized/492 922s ok 735 /regex/replace-optimized/493 922s ok 736 /regex/replace-optimized/494 922s ok 737 /regex/replace-optimized/495 922s ok 738 /regex/replace-optimized/496 922s ok 739 /regex/replace-optimized/497 922s ok 740 /regex/replace-optimized/498 922s ok 741 /regex/replace-optimized/499 922s ok 742 /regex/replace-optimized/500 922s ok 743 /regex/replace-optimized/501 922s ok 744 /regex/replace-optimized/502 922s ok 745 /regex/replace-optimized/503 922s ok 746 /regex/replace-optimized/504 922s ok 747 /regex/replace-optimized/505 922s ok 748 /regex/replace-optimized/506 922s ok 749 /regex/replace-optimized/507 922s ok 750 /regex/replace-optimized/508 922s ok 751 /regex/replace-optimized/509 922s # End of replace-optimized tests 922s # Start of replace-literally tests 922s ok 752 /regex/replace-literally/510 922s ok 753 /regex/replace-literally/511 922s ok 754 /regex/replace-literally/512 922s ok 755 /regex/replace-literally/513 922s ok 756 /regex/replace-literally/514 922s ok 757 /regex/replace-literally/515 922s ok 758 /regex/replace-literally/516 922s ok 759 /regex/replace-literally/517 922s ok 760 /regex/replace-literally/518 922s ok 761 /regex/replace-literally/519 922s ok 762 /regex/replace-literally/520 922s ok 763 /regex/replace-literally/521 922s ok 764 /regex/replace-literally/522 922s ok 765 /regex/replace-literally/523 922s ok 766 /regex/replace-literally/524 922s ok 767 /regex/replace-literally/525 922s ok 768 /regex/replace-literally/526 922s ok 769 /regex/replace-literally/527 922s ok 770 /regex/replace-literally/528 922s ok 771 /regex/replace-literally/529 922s # End of replace-literally tests 922s # Start of string-number tests 922s ok 772 /regex/string-number/530 922s ok 773 /regex/string-number/531 922s ok 774 /regex/string-number/532 922s ok 775 /regex/string-number/533 922s ok 776 /regex/string-number/534 922s ok 777 /regex/string-number/535 922s ok 778 /regex/string-number/536 922s ok 779 /regex/string-number/537 922s ok 780 /regex/string-number/538 922s ok 781 /regex/string-number/539 922s ok 782 /regex/string-number/540 922s ok 783 /regex/string-number/541 922s ok 784 /regex/string-number/542 922s ok 785 /regex/string-number/543 922s ok 786 /regex/string-number/544 922s # End of string-number tests 922s # Start of escape_nul tests 922s ok 787 /regex/escape_nul/545 922s ok 788 /regex/escape_nul/546 922s ok 789 /regex/escape_nul/547 922s ok 790 /regex/escape_nul/548 922s ok 791 /regex/escape_nul/549 922s ok 792 /regex/escape_nul/550 922s ok 793 /regex/escape_nul/551 922s ok 794 /regex/escape_nul/552 922s ok 795 /regex/escape_nul/553 922s ok 796 /regex/escape_nul/554 922s ok 797 /regex/escape_nul/555 922s ok 798 /regex/escape_nul/556 922s ok 799 /regex/escape_nul/557 922s ok 800 /regex/escape_nul/558 922s ok 801 /regex/escape_nul/559 922s # End of escape_nul tests 922s # Start of escape tests 922s ok 802 /regex/escape/560 922s ok 803 /regex/escape/561 922s ok 804 /regex/escape/562 922s ok 805 /regex/escape/563 922s ok 806 /regex/escape/564 922s ok 807 /regex/escape/565 922s ok 808 /regex/escape/566 922s ok 809 /regex/escape/567 922s ok 810 /regex/escape/568 922s ok 811 /regex/escape/569 922s ok 812 /regex/escape/570 922s ok 813 /regex/escape/571 922s ok 814 /regex/escape/572 922s ok 815 /regex/escape/573 922s ok 816 /regex/escape/574 922s ok 817 /regex/escape/575 922s ok 818 /regex/escape/576 922s ok 819 /regex/escape/577 922s # End of escape tests 922s # Start of match-all0 tests 922s ok 820 /regex/match-all0/578 922s ok 821 /regex/match-all0/580 922s # End of match-all0 tests 922s # Start of match-all-full0 tests 922s ok 822 /regex/match-all-full0/579 922s ok 823 /regex/match-all-full0/581 922s ok 824 /regex/match-all-full0/582 922s ok 825 /regex/match-all-full0/583 922s # End of match-all-full0 tests 922s # Start of match-all1 tests 922s ok 826 /regex/match-all1/584 922s ok 827 /regex/match-all1/586 922s ok 828 /regex/match-all1/591 922s # End of match-all1 tests 922s # Start of match-all-full1 tests 922s ok 829 /regex/match-all-full1/585 922s ok 830 /regex/match-all-full1/587 922s ok 831 /regex/match-all-full1/588 922s ok 832 /regex/match-all-full1/589 922s ok 833 /regex/match-all-full1/590 922s ok 834 /regex/match-all-full1/592 922s # End of match-all-full1 tests 922s # Start of match-all2 tests 922s ok 835 /regex/match-all2/593 922s ok 836 /regex/match-all2/595 922s ok 837 /regex/match-all2/597 922s # End of match-all2 tests 922s # Start of match-all-full2 tests 922s ok 838 /regex/match-all-full2/594 922s ok 839 /regex/match-all-full2/596 922s ok 840 /regex/match-all-full2/598 922s # End of match-all-full2 tests 922s # Start of match-all3 tests 922s ok 841 /regex/match-all3/599 922s ok 842 /regex/match-all3/601 922s # End of match-all3 tests 922s # Start of match-all-full3 tests 922s ok 843 /regex/match-all-full3/600 922s ok 844 /regex/match-all-full3/602 922s # End of match-all-full3 tests 922s # Start of match-notempty tests 922s ok 845 /regex/match-notempty/603 922s # End of match-notempty tests 922s # Start of match-notempty-optimized tests 922s ok 846 /regex/match-notempty-optimized/603 922s # End of match-notempty-optimized tests 922s # Start of match-notempty-atstart tests 922s ok 847 /regex/match-notempty-atstart/604 922s # End of match-notempty-atstart tests 922s # Start of match-notempty-atstart-optimized tests 922s ok 848 /regex/match-notempty-atstart-optimized/604 922s # End of match-notempty-atstart-optimized tests 922s # End of regex tests 922s ok - glib/regex.test 922s # Running test: glib/gdbus-export.test 922s TAP version 13 922s # random seed: R02S08fed957ae386dd54922a97e482804bc 922s 1..6 922s # Start of gdbus tests 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/object-registration/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/object-registration/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_2UUSK2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_2UUSK2/gdbus/object-registration/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/object-registration/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_2UUSK2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_2UUSK2/gdbus/object-registration/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/object-registration/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/object-registration/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_2UUSK2/gdbus/object-registration/.dirs/runtime 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s ok 1 /gdbus/object-registration 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/object-registration-with-closures/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/object-registration-with-closures/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_2UUSK2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_2UUSK2/gdbus/object-registration-with-closures/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/object-registration-with-closures/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_2UUSK2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_2UUSK2/gdbus/object-registration-with-closures/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/object-registration-with-closures/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/object-registration-with-closures/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_2UUSK2/gdbus/object-registration-with-closures/.dirs/runtime 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s ok 2 /gdbus/object-registration-with-closures 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/registered-interfaces/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/registered-interfaces/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_2UUSK2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_2UUSK2/gdbus/registered-interfaces/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/registered-interfaces/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_2UUSK2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_2UUSK2/gdbus/registered-interfaces/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/registered-interfaces/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/registered-interfaces/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_2UUSK2/gdbus/registered-interfaces/.dirs/runtime 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s ok 3 /gdbus/registered-interfaces 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/async-properties/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/async-properties/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_2UUSK2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_2UUSK2/gdbus/async-properties/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/async-properties/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_2UUSK2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_2UUSK2/gdbus/async-properties/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/async-properties/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/async-properties/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_2UUSK2/gdbus/async-properties/.dirs/runtime 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s ok 4 /gdbus/async-properties 922s # Start of threaded-unregistration tests 922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/object/.dirs/home 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/object/.dirs/cache 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/object/.dirs/system-config2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/object/.dirs/config 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/object/.dirs/system-data2 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/object/.dirs/data 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/object/.dirs/state 922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/object/.dirs/runtime 922s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 922s # /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 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 922s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 923s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (1 iterations with unregistration first, 999 with call first); skipping test 924s # slow test /gdbus/threaded-unregistration/object executed in 1.17 secs 924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/subtree/.dirs/home 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/subtree/.dirs/cache 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/subtree/.dirs/config 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/subtree/.dirs/data 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/subtree/.dirs/state 924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_2UUSK2/gdbus/threaded-unregistration/subtree/.dirs/runtime 924s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 924s # /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 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # Executing: glib/gdbus-export.test 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 924s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (4 iterations with unregistration first, 996 with call first); skipping test 925s # slow test /gdbus/threaded-unregistration/subtree executed in 1.12 secs 925s # End of threaded-unregistration tests 925s # End of gdbus tests 925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 925s ok - glib/gdbus-export.test 925s # Running test: glib/rand.test 925s TAP version 13 925s # random seed: R02Sa700cd6a71746a902db4704277cc8293 925s 1..2 925s # Start of rand tests 925s ok 1 /rand/test-rand 925s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 925s ok 2 /rand/double-range 925s # End of rand tests 925s ok - glib/rand.test 925s # Running test: glib/mappedfile.test 925s TAP version 13 925s # random seed: R02S07da4780c260a1ebfd202289669a75be 925s 1..7 925s # Start of mappedfile tests 925s ok 1 /mappedfile/basic 925s ok 2 /mappedfile/empty 925s ok 3 /mappedfile/device 925s ok 4 /mappedfile/nonexisting 925s ok 5 /mappedfile/writable 925s ok 6 /mappedfile/writable_fd 925s ok 7 /mappedfile/gbytes 925s # End of mappedfile tests 925s ok - glib/mappedfile.test 925s # Running test: glib/power-profile-monitor-portal.test 925s TAP version 13 925s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 925s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 925s 1..2 925s ok - glib/power-profile-monitor-portal.test 925s # Running test: glib/gdbus-proxy-unique-name.test 925s TAP version 13 925s # random seed: R02S154b0201fb4286fbdcba3aedb65c1ca0 925s 1..1 925s # Start of gdbus tests 925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_J9WRK2/gdbus/proxy-unique-name/.dirs/home 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_J9WRK2/gdbus/proxy-unique-name/.dirs/cache 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_J9WRK2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_J9WRK2/gdbus/proxy-unique-name/.dirs/system-config2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_J9WRK2/gdbus/proxy-unique-name/.dirs/config 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_J9WRK2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_J9WRK2/gdbus/proxy-unique-name/.dirs/system-data2 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_J9WRK2/gdbus/proxy-unique-name/.dirs/data 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_J9WRK2/gdbus/proxy-unique-name/.dirs/state 925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_J9WRK2/gdbus/proxy-unique-name/.dirs/runtime 925s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 925s ok 1 /gdbus/proxy-unique-name 925s # End of gdbus tests 925s ok - glib/gdbus-proxy-unique-name.test 925s # SUMMARY: total=315; passed=314; skipped=1; failed=0; user=240.9s; system=49.9s; maxrss=180224 926s autopkgtest [06:07:44]: test installed-tests: -----------------------] 935s autopkgtest [06:07:53]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 935s installed-tests PASS 936s autopkgtest [06:07:54]: test closure-refcount: preparing testbed 938s Reading package lists... 938s Building dependency tree... 938s Reading state information... 938s Starting pkgProblemResolver with broken count: 0 938s Starting 2 pkgProblemResolver with broken count: 0 938s Done 939s The following NEW packages will be installed: 939s autopkgtest-satdep 939s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 939s Need to get 0 B/772 B of archives. 939s After this operation, 0 B of additional disk space will be used. 939s Get:1 /tmp/autopkgtest.MN3iWN/4-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 939s Selecting previously unselected package autopkgtest-satdep. 939s (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 ... 71534 files and directories currently installed.) 939s Preparing to unpack .../4-autopkgtest-satdep.deb ... 939s Unpacking autopkgtest-satdep (0) ... 939s Setting up autopkgtest-satdep (0) ... 941s (Reading database ... 71534 files and directories currently installed.) 941s Removing autopkgtest-satdep (0) ... 942s autopkgtest [06:08:00]: test closure-refcount: [----------------------- 942s Running test: glib/closure-refcount.test 942s TAP version 13 942s # random seed: R02S0090d11ba6698fb2127e2c3c1ac789d7 942s 1..1 942s # Start of closure tests 942s # Init 0x482b248f0a0 942s # Yielding from main thread 942s # Yielding from main thread 942s # Yielding from main thread 942s # Yielding from thread1 942s # Yielding from thread2 942s # Yielding from main thread 942s # Yielding from main thread 942s # Yielding from main thread 942s # Yielding from main thread 942s # Yielding from thread2 942s # Yielding from thread1 942s # Yielding from main thread 942s # Yielding from main thread 943s # Yielding from main thread 943s # Yielding from main thread 943s # Yielding from thread2 943s # Yielding from thread1 943s # Yielding from main thread 943s # Yielding from main thread 943s # Yielding from main thread 943s # Yielding from main thread 943s # Yielding from thread2 943s # Yielding from thread1 943s # Yielding from main thread 943s # Yielding from main thread 943s # Yielding from main thread 943s # Yielding from main thread 943s # Yielding from thread1 943s # Yielding from thread2 943s # Yielding from main thread 944s # Yielding from main thread 944s # Yielding from main thread 944s # Yielding from main thread 944s # Yielding from thread1 944s # Yielding from thread2 944s # Yielding from main thread 944s # Yielding from main thread 944s # Yielding from main thread 944s # Yielding from thread1 944s # Yielding from main thread 944s # Yielding from thread2 944s # Yielding from main thread 944s # Yielding from main thread 944s # Yielding from main thread 944s # Yielding from thread1 944s # Yielding from thread2 944s # Yielding from main thread 944s # Yielding from main thread 945s # Yielding from main thread 945s # Yielding from main thread 945s # Yielding from thread1 945s # Yielding from thread2 945s # Yielding from main thread 945s # Yielding from main thread 945s # Yielding from main thread 945s # Yielding from main thread 945s # Yielding from thread1 945s # Yielding from thread2 945s # Yielding from main thread 945s # Yielding from main thread 945s # Yielding from main thread 945s # Yielding from main thread 945s # Yielding from thread1 945s # Yielding from thread2 945s # Yielding from main thread 945s # Yielding from main thread 946s # Yielding from main thread 946s # Yielding from main thread 946s # Yielding from thread1 946s # Yielding from thread2 946s # Yielding from main thread 946s # Yielding from main thread 946s # Yielding from main thread 946s # Yielding from main thread 946s # Yielding from thread1 946s # Yielding from thread2 946s # Yielding from main thread 946s # Yielding from main thread 946s # Yielding from main thread 946s # Yielding from thread1 946s # Yielding from main thread 946s # Yielding from thread2 946s # Yielding from main thread 946s # Yielding from main thread 947s # Yielding from main thread 947s # Yielding from thread1 947s # Yielding from thread2 947s # Yielding from main thread 947s # Yielding from main thread 947s # Yielding from main thread 947s # Yielding from main thread 947s # Yielding from thread1 947s # Yielding from thread2 947s # Yielding from main thread 947s Executing: glib/closure-refcount.test 947s # Yielding from main thread 947s # Yielding from main thread 947s # Yielding from main thread 947s # Yielding from thread1 947s # Yielding from thread2 947s # Yielding from main thread 947s # Yielding from main thread 947s # Yielding from main thread 948s # Yielding from main thread 948s # Yielding from thread2 948s # Yielding from thread1 948s # Yielding from main thread 948s # Yielding from main thread 948s # Yielding from main thread 948s # Yielding from main thread 948s # Yielding from thread2 948s # Yielding from thread1 948s # Yielding from main thread 948s # Yielding from main thread 948s # Yielding from main thread 948s # Yielding from main thread 948s # Yielding from thread2 948s # Yielding from thread1 948s # Yielding from main thread 948s # Yielding from main thread 948s # Yielding from main thread 949s # Yielding from thread1 949s # Yielding from thread2 949s # Yielding from main thread 949s # Yielding from main thread 949s # Yielding from main thread 949s # Yielding from main thread 949s # Yielding from thread1 949s # Yielding from thread2 949s # Yielding from main thread 949s # Yielding from main thread 949s # Yielding from main thread 949s # Yielding from main thread 949s # Yielding from thread1 949s # Yielding from thread2 949s # Yielding from main thread 949s # Yielding from main thread 949s # Yielding from main thread 949s # Yielding from main thread 949s # Yielding from thread1 949s # Yielding from thread2 950s # Yielding from main thread 950s # Yielding from main thread 950s # Yielding from main thread 950s # Yielding from main thread 950s # Yielding from thread1 950s # Yielding from thread2 950s # Yielding from main thread 950s # Yielding from main thread 950s # Yielding from main thread 950s # Stopping 950s # Stopped 950s ok 1 /closure/refcount 950s # slow test /closure/refcount executed in 8.35 secs 950s # End of closure tests 950s PASS: glib/closure-refcount.test 950s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=8.3s; system=0.0s; maxrss=4096 950s autopkgtest [06:08:08]: test closure-refcount: -----------------------] 951s autopkgtest [06:08:09]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 951s closure-refcount PASS 951s autopkgtest [06:08:09]: test debugcontroller: preparing testbed 954s Reading package lists... 954s Building dependency tree... 954s Reading state information... 955s Starting pkgProblemResolver with broken count: 0 955s Starting 2 pkgProblemResolver with broken count: 0 955s Done 955s The following NEW packages will be installed: 955s autopkgtest-satdep 955s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 955s Need to get 0 B/780 B of archives. 955s After this operation, 0 B of additional disk space will be used. 955s Get:1 /tmp/autopkgtest.MN3iWN/5-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 955s Selecting previously unselected package autopkgtest-satdep. 955s (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 ... 71534 files and directories currently installed.) 955s Preparing to unpack .../5-autopkgtest-satdep.deb ... 955s Unpacking autopkgtest-satdep (0) ... 955s Setting up autopkgtest-satdep (0) ... 958s (Reading database ... 71534 files and directories currently installed.) 958s Removing autopkgtest-satdep (0) ... 959s autopkgtest [06:08:17]: test debugcontroller: [----------------------- 959s Running test: glib/debugcontroller.test 959s TAP version 13 959s # random seed: R02S1aab2ded10296c99d9fcb325be83d830 959s 1..3 959s # Start of debug-controller tests 959s # Start of dbus tests 959s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Debug output enabled 959s # GLib-GIO-DEBUG: Debug output disabled 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s ok 1 /debug-controller/dbus/basic 959s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s ok 2 /debug-controller/dbus/duplicate 959s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 959s # GLib-GIO-DEBUG: Debug output enabled 959s # GLib-GIO-DEBUG: Debug output disabled 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 959s ok 3 /debug-controller/dbus/properties 959s # End of dbus tests 959s # End of debug-controller tests 959s PASS: glib/debugcontroller.test 959s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=10240 959s autopkgtest [06:08:17]: test debugcontroller: -----------------------] 960s debugcontroller PASS 960s autopkgtest [06:08:18]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 960s autopkgtest [06:08:18]: test gdbus-server-auth: preparing testbed 963s Reading package lists... 963s Building dependency tree... 963s Reading state information... 963s Starting pkgProblemResolver with broken count: 0 963s Starting 2 pkgProblemResolver with broken count: 0 963s Done 963s The following NEW packages will be installed: 963s autopkgtest-satdep 963s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 963s Need to get 0 B/780 B of archives. 963s After this operation, 0 B of additional disk space will be used. 963s Get:1 /tmp/autopkgtest.MN3iWN/6-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 964s Selecting previously unselected package autopkgtest-satdep. 964s (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 ... 71534 files and directories currently installed.) 964s Preparing to unpack .../6-autopkgtest-satdep.deb ... 964s Unpacking autopkgtest-satdep (0) ... 964s Setting up autopkgtest-satdep (0) ... 966s (Reading database ... 71534 files and directories currently installed.) 966s Removing autopkgtest-satdep (0) ... 966s autopkgtest [06:08:24]: test gdbus-server-auth: [----------------------- 967s Running test: glib/gdbus-server-auth.test 967s TAP version 13 967s # random seed: R02Sc5e0d7079e575e233210455eb28202db 967s 1..9 967s # Start of gdbus tests 967s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/.dirs/home 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/.dirs/cache 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/.dirs/system-config2 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/.dirs/config 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/.dirs/system-data2 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/.dirs/data 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/.dirs/state 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/.dirs/runtime 967s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_0RDYK2/gdbus-server-auth-U5CYK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 967s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_0RDYK2/gdbus-server-auth-U5CYK2/dbus-vaD4LcpR 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16881 967s ok 1 /gdbus/server-auth 967s # Start of server-auth tests 967s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/abstract/.dirs/home 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/abstract/.dirs/cache 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/abstract/.dirs/system-config2 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/abstract/.dirs/config 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/abstract/.dirs/system-data2 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/abstract/.dirs/data 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/abstract/.dirs/state 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/abstract/.dirs/runtime 967s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_0RDYK2/gdbus-server-auth-E1XXK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 967s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_0RDYK2/gdbus-server-auth-E1XXK2/dbus-BafSCMj2 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16881 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 967s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16881 967s ok 2 /gdbus/server-auth/abstract 967s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/tcp/.dirs/home 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/tcp/.dirs/cache 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/tcp/.dirs/system-config2 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/tcp/.dirs/config 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/tcp/.dirs/system-data2 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/tcp/.dirs/data 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/tcp/.dirs/state 967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/tcp/.dirs/runtime 967s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 967s # Connectable address: tcp:host=127.0.0.1,port=42413 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 967s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 967s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 967s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 967s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 967s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 967s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 968s ok 3 /gdbus/server-auth/tcp 968s # slow test /gdbus/server-auth/tcp executed in 0.89 secs 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/.dirs/runtime 968s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_0RDYK2/gdbus-server-auth-S90WK2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 968s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_0RDYK2/gdbus-server-auth-S90WK2/dbus-3SV7armn 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16881 968s ok 4 /gdbus/server-auth/anonymous 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/.dirs/runtime 968s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_0RDYK2/gdbus-server-auth-PEIWK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 968s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_0RDYK2/gdbus-server-auth-PEIWK2/dbus-maHekflq 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 968s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16881 968s ok 5 /gdbus/server-auth/external 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/.dirs/runtime 968s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_0RDYK2/gdbus-server-auth-N6HXK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 968s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_0RDYK2/gdbus-server-auth-N6HXK2/dbus-bfAE1rMN 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16881 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 968s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16881 968s ok 6 /gdbus/server-auth/sha1 968s # Start of anonymous tests 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/tcp/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/tcp/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/tcp/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/tcp/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 968s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 968s # Connectable address: tcp:host=127.0.0.1,port=43849 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 968s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 968s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 968s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 968s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 968s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 969s ok 7 /gdbus/server-auth/anonymous/tcp 969s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.88 secs 969s # End of anonymous tests 969s # Start of external tests 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/require-same-user/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/require-same-user/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/require-same-user/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/require-same-user/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/require-same-user/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 969s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_0RDYK2/gdbus-server-auth-HZUOK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 969s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_0RDYK2/gdbus-server-auth-HZUOK2/dbus-RyIUyl7G 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16881 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 969s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16881,uid=1000,gid=1000 969s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16881 969s ok 8 /gdbus/server-auth/external/require-same-user 969s # End of external tests 969s # Start of sha1 tests 969s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/tcp/.dirs/home 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/tcp/.dirs/cache 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/tcp/.dirs/config 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/tcp/.dirs/data 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/tcp/.dirs/state 969s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_0RDYK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 969s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 969s # Connectable address: tcp:host=127.0.0.1,port=42359 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 969s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 969s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 969s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 969s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 969s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 969s ok 9 /gdbus/server-auth/sha1/tcp 969s # slow test /gdbus/server-auth/sha1/tcp executed in 0.89 secs 969s # End of sha1 tests 969s # End of server-auth tests 969s # End of gdbus tests 969s PASS: glib/gdbus-server-auth.test 969s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.1s; maxrss=12288 970s autopkgtest [06:08:28]: test gdbus-server-auth: -----------------------] 970s autopkgtest [06:08:28]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 970s gdbus-server-auth PASS 971s autopkgtest [06:08:29]: test gdbus-threading: preparing testbed 972s Reading package lists... 972s Building dependency tree... 972s Reading state information... 973s Starting pkgProblemResolver with broken count: 0 973s Starting 2 pkgProblemResolver with broken count: 0 973s Done 973s The following NEW packages will be installed: 973s autopkgtest-satdep 973s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 973s Need to get 0 B/772 B of archives. 973s After this operation, 0 B of additional disk space will be used. 973s Get:1 /tmp/autopkgtest.MN3iWN/7-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 973s Selecting previously unselected package autopkgtest-satdep. 973s (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 ... 71534 files and directories currently installed.) 973s Preparing to unpack .../7-autopkgtest-satdep.deb ... 973s Unpacking autopkgtest-satdep (0) ... 973s Setting up autopkgtest-satdep (0) ... 975s (Reading database ... 71534 files and directories currently installed.) 975s Removing autopkgtest-satdep (0) ... 976s autopkgtest [06:08:34]: test gdbus-threading: [----------------------- 976s Running test: glib/gdbus-threading.test 976s TAP version 13 976s # random seed: R02S88c5a22c009d3330fd2177c0dcefba5b 976s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 976s 1..3 976s # Start of gdbus tests 976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_N7XLK2/gdbus/delivery-in-thread/.dirs/home 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_N7XLK2/gdbus/delivery-in-thread/.dirs/cache 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_N7XLK2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_N7XLK2/gdbus/delivery-in-thread/.dirs/system-config2 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_N7XLK2/gdbus/delivery-in-thread/.dirs/config 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_N7XLK2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_N7XLK2/gdbus/delivery-in-thread/.dirs/system-data2 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_N7XLK2/gdbus/delivery-in-thread/.dirs/data 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_N7XLK2/gdbus/delivery-in-thread/.dirs/state 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_N7XLK2/gdbus/delivery-in-thread/.dirs/runtime 976s ok 1 /gdbus/delivery-in-thread 976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_N7XLK2/gdbus/method-calls-in-thread/.dirs/home 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_N7XLK2/gdbus/method-calls-in-thread/.dirs/cache 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_N7XLK2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_N7XLK2/gdbus/method-calls-in-thread/.dirs/system-config2 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_N7XLK2/gdbus/method-calls-in-thread/.dirs/config 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_N7XLK2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_N7XLK2/gdbus/method-calls-in-thread/.dirs/system-data2 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_N7XLK2/gdbus/method-calls-in-thread/.dirs/data 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_N7XLK2/gdbus/method-calls-in-thread/.dirs/state 976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_N7XLK2/gdbus/method-calls-in-thread/.dirs/runtime 977s # GLib-GIO-DEBUG: refcount of 0x19dbeddb90f0 is not right (2 rather than 1) in test_method_calls_in_thread(), sleeping 977s # GLib-GIO-DEBUG: refcount of 0x19dbeddb90f0 is not right (2 rather than 1) in test_method_calls_in_thread(), sleeping 977s ok 2 /gdbus/method-calls-in-thread 977s # slow test /gdbus/method-calls-in-thread executed in 0.90 secs 977s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_N7XLK2/gdbus/threaded-singleton/.dirs/home 977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_N7XLK2/gdbus/threaded-singleton/.dirs/cache 977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_N7XLK2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_N7XLK2/gdbus/threaded-singleton/.dirs/system-config2 977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_N7XLK2/gdbus/threaded-singleton/.dirs/config 977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_N7XLK2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_N7XLK2/gdbus/threaded-singleton/.dirs/system-data2 977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_N7XLK2/gdbus/threaded-singleton/.dirs/data 977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_N7XLK2/gdbus/threaded-singleton/.dirs/state 977s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_N7XLK2/gdbus/threaded-singleton/.dirs/runtime 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 0x779f3c000ba0 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: 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: 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 0x779f3c005620 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: 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 0x779f3c003570 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: 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 0x779f3c006680 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: 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 0x779f3c005bb0 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 0x779f3c005bb0 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 0x779f3c005bb0 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 0x779f3c003a50 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) 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: 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 0x779f3c002a00 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 0x779f3c002a00 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 0x779f3c002a00 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 0x779f3c002a00 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 0x779f3c002a00 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 0x779f3c002a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: refcount of 0x779f3c002a00 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 0x779f3c002a00 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 0x779f3c002a00 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: refcount of 0x779f3c002a00 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 0x779f3c002a00 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 0x779f3c002a00 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 0x779f3c006d00 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 0x779f3c0032c0 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: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 978s # GLib-GIO-DEBUG: refcount of 0x779f3c0032c0 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 0x779f3c0032c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 978s # GLib-GIO-DEBUG: refcount of 0x779f3c0032c0 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 0x779f3c0032c0 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 0x779f3c0032c0 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 # GLib-GIO-DEBUG: refcount of 0x779f3c003b60 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 # GLib-GIO-DEBUG: refcount of 0x779f3c003970 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 # GLib-GIO-DEBUG: refcount of 0x779f3c000de0 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 0x779f3c002310 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 # 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 0x779f3c002310 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 # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 979s # GLib-GIO-DEBUG: refcount of 0x779f3c002310 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 # 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 0x779f3c002310 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 # GLib-GIO-DEBUG: refcount of 0x779f3c006080 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 0x779f3c006080 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 0x779f3c006080 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 0x779f3c006080 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 0x779f3c006080 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 0x779f3c000e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 979s # GLib-GIO-DEBUG: refcount of 0x779f3c000e80 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 0x779f3c000e80 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 0x779f3c000e80 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 0x779f3c000e80 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 0x779f3c000e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: refcount of 0x779f3c000e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: refcount of 0x779f3c000e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 980s # GLib-GIO-DEBUG: refcount of 0x779f3c000e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: refcount of 0x779f3c000e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: refcount of 0x779f3c000e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: refcount of 0x779f3c000e80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: refcount of 0x779f3c0039e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: refcount of 0x779f3c0039e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: refcount of 0x779f3c0074d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: refcount of 0x779f3c007560 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: refcount of 0x779f3c007560 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: refcount of 0x779f3c006fb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: refcount of 0x779f3c006fb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: refcount of 0x779f3c006fa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 980s # GLib-GIO-DEBUG: refcount of 0x779f3c006fa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: refcount of 0x779f3c006fa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s Executing: glib/gdbus-threading.test 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: refcount of 0x779f3c006170 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: refcount of 0x779f3c006170 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: refcount of 0x779f3c006150 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: refcount of 0x779f3c006150 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: refcount of 0x779f3c006150 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: refcount of 0x779f3c006150 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 981s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 981s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: refcount of 0x779f3c007860 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: refcount of 0x779f3c007830 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 982s # GLib-GIO-DEBUG: refcount of 0x779f3c007830 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: refcount of 0x779f3c008480 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: refcount of 0x779f3c007830 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 982s # GLib-GIO-DEBUG: refcount of 0x779f3c007830 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: refcount of 0x779f3c006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 982s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 982s # GLib-GIO-DEBUG: refcount of 0x779f3c006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: refcount of 0x779f3c007640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 983s # GLib-GIO-DEBUG: refcount of 0x779f3c007640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: refcount of 0x779f3c007640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: refcount of 0x779f3c007640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: refcount of 0x779f3c007640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: refcount of 0x779f3c007640 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: refcount of 0x779f3c006c70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: refcount of 0x779f3c006cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: refcount of 0x779f3c006cf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: refcount of 0x779f3c0075b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: refcount of 0x779f3c0075b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: refcount of 0x779f3c0075b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: refcount of 0x779f3c008480 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: refcount of 0x779f3c008480 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: refcount of 0x779f3c0075b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: refcount of 0x779f3c0075b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 983s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 983s # GLib-GIO-DEBUG: refcount of 0x779f3c0072c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: refcount of 0x779f3c0072c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: refcount of 0x779f3c0072c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: refcount of 0x779f3c0072c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: refcount of 0x779f3c0072c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: refcount of 0x779f3c0072c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: refcount of 0x779f3c0072c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: refcount of 0x779f3c0072c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: refcount of 0x779f3c0072c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: refcount of 0x779f3c0072c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: refcount of 0x779f3c0072c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: refcount of 0x779f3c003ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: refcount of 0x779f3c003ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: refcount of 0x779f3c003ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: refcount of 0x779f3c003ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: refcount of 0x779f3c003ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: refcount of 0x779f3c003ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: refcount of 0x779f3c008030 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 984s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 985s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 985s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x779f3c006dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x779f3c006dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x779f3c006d80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x779f3c006d80 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x779f3c003ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s Executing: glib/gdbus-threading.test 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x779f3c006580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x779f3c006580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x779f3c006580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x779f3c006580 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 986s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 987s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 987s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x779f3c007f90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x779f3c007f90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 988s # GLib-GIO-DEBUG: refcount of 0x779f3c007f90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 988s # GLib-GIO-DEBUG: refcount of 0x779f3c007f90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x779f3c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x779f3c007f60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x779f3c002590 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x779f3c002590 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x779f3c002590 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x779f3c002590 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x779f3c002590 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x779f3c002590 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x779f3c002590 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x779f3c002590 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x779f3c002590 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x779f3c002590 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: refcount of 0x779f3c002590 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 989s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 989s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 990s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 990s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x779f3c0072c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x779f3c006210 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s Executing: glib/gdbus-threading.test 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 991s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 991s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x779f3c0084f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x779f3c0084f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x779f3c0084f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x779f3c0084f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 992s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x779f3c008350 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x779f3c008890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 993s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x779f3c008a40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x779f3c006280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x779f3c006280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x779f3c006dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x779f3c006dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x779f3c006dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x779f3c006dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: refcount of 0x779f3c006dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: refcount of 0x779f3c006dc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x779f3c0035b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 994s # GLib-GIO-DEBUG: refcount of 0x779f3c006c50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 994s # GLib-GIO-DEBUG: refcount of 0x779f3c006c50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: refcount of 0x779f3c006c50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x779f3c006280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x779f3c006280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x779f3c006280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x779f3c006280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x779f3c006280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x779f3c006280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x779f3c006280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x779f3c006280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: refcount of 0x779f3c006280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x779f3c006280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x779f3c006280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x779f3c006280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x779f3c006280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x779f3c006280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x779f3c006280 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 995s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 995s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s Executing: glib/gdbus-threading.test 996s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 996s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x779f3c005f40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x779f3c007250 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x779f3c007250 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x779f3c0084f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x779f3c0084f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 997s # GLib-GIO-DEBUG: refcount of 0x779f3c0084f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 997s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x779f3c0084f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x779f3c0084f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x779f3c008c20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x779f3c008c20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 998s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 998s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x779f3c0037c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x779f3c005f10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 999s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 999s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x779f3c007730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x779f3c007610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x779f3c007610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x779f3c007610 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1000s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1000s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s Executing: glib/gdbus-threading.test 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x779f3c006890 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x779f3c008cb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x779f3c003950 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1001s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: refcount of 0x779f3c003e20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: refcount of 0x779f3c002590 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: refcount of 0x779f3c000a50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: refcount of 0x779f3c000a50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: refcount of 0x779f3c000a50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: refcount of 0x779f3c000a50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1002s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1002s # GLib-GIO-DEBUG: refcount of 0x779f3c000a50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1003s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1003s # GLib-GIO-DEBUG: refcount of 0x779f3c000a50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1003s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1003s # GLib-GIO-DEBUG: refcount of 0x779f3c000a50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1003s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1003s # GLib-GIO-DEBUG: refcount of 0x779f3c000a50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1003s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1003s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1003s # GLib-GIO-DEBUG: refcount of 0x779f3c000a50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1003s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1003s # GLib-GIO-DEBUG: refcount of 0x779f3c000a50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1003s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1003s # GLib-GIO-DEBUG: refcount of 0x779f3c003900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1003s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1003s # GLib-GIO-DEBUG: refcount of 0x779f3c003900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1003s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1003s # GLib-GIO-DEBUG: refcount of 0x779f3c003900 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1003s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1003s # GLib-GIO-DEBUG: refcount of 0x779f3c002310 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 1003s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1003s ok 3 /gdbus/threaded-singleton 1003s # slow test /gdbus/threaded-singleton executed in 25.98 secs 1003s # End of gdbus tests 1003s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1003s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1003s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1003s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1003s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1003s PASS: glib/gdbus-threading.test 1003s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.9s; system=0.4s; maxrss=8192 1003s autopkgtest [06:09:01]: test gdbus-threading: -----------------------] 1004s gdbus-threading PASS 1004s autopkgtest [06:09:02]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1004s autopkgtest [06:09:02]: test gmenumodel: preparing testbed 1006s Reading package lists... 1006s Building dependency tree... 1006s Reading state information... 1006s Starting pkgProblemResolver with broken count: 0 1007s Starting 2 pkgProblemResolver with broken count: 0 1007s Done 1007s The following NEW packages will be installed: 1007s autopkgtest-satdep 1007s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1007s Need to get 0 B/776 B of archives. 1007s After this operation, 0 B of additional disk space will be used. 1007s Get:1 /tmp/autopkgtest.MN3iWN/8-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1007s Selecting previously unselected package autopkgtest-satdep. 1007s (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 ... 71534 files and directories currently installed.) 1007s Preparing to unpack .../8-autopkgtest-satdep.deb ... 1007s Unpacking autopkgtest-satdep (0) ... 1007s Setting up autopkgtest-satdep (0) ... 1009s (Reading database ... 71534 files and directories currently installed.) 1009s Removing autopkgtest-satdep (0) ... 1010s autopkgtest [06:09:08]: test gmenumodel: [----------------------- 1010s Running test: glib/gmenumodel.test 1010s TAP version 13 1010s # random seed: R02S879495e3cc640baa7f2decc823893d0d 1010s 1..14 1010s # Start of gmenu tests 1012s ok 1 /gmenu/equality 1012s # slow test /gmenu/equality executed in 2.06 secs 1015s ok 2 /gmenu/random 1015s # slow test /gmenu/random executed in 2.69 secs 1015s ok 3 /gmenu/attributes 1015s ok 4 /gmenu/links 1015s ok 5 /gmenu/mutable 1015s ok 6 /gmenu/convenience 1015s ok 7 /gmenu/menuitem 1015s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1015s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1015s ok 8 /gmenu/input-validation 1015s # Start of dbus tests 1015s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 1015s Executing: glib/gmenumodel.test 1016s ok 9 /gmenu/dbus/roundtrip 1016s # slow test /gmenu/dbus/roundtrip executed in 1.07 secs 1016s ok 10 /gmenu/dbus/subscriptions 1019s ok 11 /gmenu/dbus/threaded 1019s # slow test /gmenu/dbus/threaded executed in 2.65 secs 1019s # Start of peer tests 1020s Executing: glib/gmenumodel.test 1020s ok 12 /gmenu/dbus/peer/roundtrip 1020s # slow test /gmenu/dbus/peer/roundtrip executed in 1.06 secs 1020s ok 13 /gmenu/dbus/peer/subscriptions 1020s # End of peer tests 1020s # End of dbus tests 1020s # Start of attributes tests 1020s ok 14 /gmenu/attributes/iterate 1020s # End of attributes tests 1020s # End of gmenu tests 1020s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1020s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1020s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1020s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1020s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1020s PASS: glib/gmenumodel.test 1020s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=7.8s; system=0.1s; maxrss=30720 1021s autopkgtest [06:09:19]: test gmenumodel: -----------------------] 1021s autopkgtest [06:09:19]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1021s gmenumodel PASS 1022s autopkgtest [06:09:20]: test mainloop: preparing testbed 1023s Reading package lists... 1023s Building dependency tree... 1023s Reading state information... 1024s Starting pkgProblemResolver with broken count: 0 1024s Starting 2 pkgProblemResolver with broken count: 0 1024s Done 1024s The following NEW packages will be installed: 1024s autopkgtest-satdep 1024s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1024s Need to get 0 B/772 B of archives. 1024s After this operation, 0 B of additional disk space will be used. 1024s Get:1 /tmp/autopkgtest.MN3iWN/9-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 1024s Selecting previously unselected package autopkgtest-satdep. 1024s (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 ... 71534 files and directories currently installed.) 1024s Preparing to unpack .../9-autopkgtest-satdep.deb ... 1024s Unpacking autopkgtest-satdep (0) ... 1024s Setting up autopkgtest-satdep (0) ... 1026s (Reading database ... 71534 files and directories currently installed.) 1026s Removing autopkgtest-satdep (0) ... 1027s autopkgtest [06:09:25]: test mainloop: [----------------------- 1027s Running test: glib/mainloop.test 1027s TAP version 13 1027s # random seed: R02Sa6ba0b9168dedb6bf923ec6b7877e8a5 1027s 1..45 1027s # Start of maincontext tests 1027s ok 1 /maincontext/basic 1027s # Add same-priority sources: 22 1027s # Find each source: 8 1027s # Remove in random order: 35 1027s ok 2 /maincontext/nsources_same_priority 1027s # Add different-priority sources: 25 1027s # Find each source: 8 1027s # Remove in random order: 40 1027s ok 3 /maincontext/nsources_different_priority 1027s # Add sources from threads: 251 1028s # Remove sources from threads: 63 1028s ok 4 /maincontext/nsources_threadpool 1028s ok 5 /maincontext/source_finalization 1028s # /maincontext/idle-once summary: Test g_idle_add_once() works 1028s ok 6 /maincontext/idle-once 1028s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1028s ok 7 /maincontext/timeout-once 1028s # Start of source_finalization_from_source tests 1028s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1028s ok 8 /maincontext/source_finalization_from_source/0 1028s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1028s ok 9 /maincontext/source_finalization_from_source/1 1028s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1028s ok 10 /maincontext/source_finalization_from_source/2 1028s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1028s ok 11 /maincontext/source_finalization_from_source/3 1028s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1028s ok 12 /maincontext/source_finalization_from_source/4 1028s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1028s ok 13 /maincontext/source_finalization_from_source/5 1028s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1028s ok 14 /maincontext/source_finalization_from_source/6 1028s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1028s ok 15 /maincontext/source_finalization_from_source/7 1028s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1028s ok 16 /maincontext/source_finalization_from_source/8 1028s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1028s ok 17 /maincontext/source_finalization_from_source/9 1028s # End of source_finalization_from_source tests 1028s # Start of source_finalization_from_dispatch tests 1028s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1028s ok 18 /maincontext/source_finalization_from_dispatch/0 1028s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1028s ok 19 /maincontext/source_finalization_from_dispatch/1 1028s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1028s ok 20 /maincontext/source_finalization_from_dispatch/2 1028s # End of source_finalization_from_dispatch tests 1028s # End of maincontext tests 1028s # Start of mainloop tests 1028s ok 21 /mainloop/basic 1028s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 1028s ok 23 /mainloop/priorities 1028s ok 24 /mainloop/invoke 1028s # slow test /mainloop/invoke executed in 0.50 secs 1029s ok 25 /mainloop/child_sources 1029s # slow test /mainloop/child_sources executed in 1.20 secs 1031s ok 26 /mainloop/recursive_child_sources 1031s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 1031s ok 27 /mainloop/recursive_loop_child_sources 1032s ok 28 /mainloop/swapping_child_sources 1032s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1032s ok 29 /mainloop/blocked_child_sources 1032s Executing: glib/mainloop.test 1033s ok 30 /mainloop/source_time 1033s # slow test /mainloop/source_time executed in 1.00 secs 1033s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1033s ok 31 /mainloop/overflow 1033s ok 32 /mainloop/ready-time 1033s # slow test /mainloop/ready-time executed in 0.50 secs 1033s ok 33 /mainloop/wakeup 1033s ok 34 /mainloop/remove-invalid 1033s ok 35 /mainloop/unref-while-pending 1034s ok 36 /mainloop/unix-fd 1034s # slow test /mainloop/unix-fd executed in 1.46 secs 1034s ok 37 /mainloop/unix-fd-source 1034s ok 38 /mainloop/source-unix-fd-api 1035s ok 39 /mainloop/wait 1035s ok 40 /mainloop/unix-file-poll 1035s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1035s ok 41 /mainloop/unix-fd-priority 1035s ok 42 /mainloop/nfds 1035s ok 43 /mainloop/steal-fd 1035s # Start of ownerless-polling tests 1035s ok 44 /mainloop/ownerless-polling/attach-first 1035s ok 45 /mainloop/ownerless-polling/pop-first 1035s # End of ownerless-polling tests 1035s # End of mainloop tests 1035s PASS: glib/mainloop.test 1035s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.0s; system=1.1s; maxrss=16384 1035s autopkgtest [06:09:33]: test mainloop: -----------------------] 1036s autopkgtest [06:09:34]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1036s mainloop PASS 1036s autopkgtest [06:09:34]: test memory-monitor-dbus: preparing testbed 1038s Reading package lists... 1039s Building dependency tree... 1039s Reading state information... 1039s Starting pkgProblemResolver with broken count: 0 1039s Starting 2 pkgProblemResolver with broken count: 0 1039s Done 1039s The following NEW packages will be installed: 1039s autopkgtest-satdep 1039s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1039s Need to get 0 B/780 B of archives. 1039s After this operation, 0 B of additional disk space will be used. 1039s Get:1 /tmp/autopkgtest.MN3iWN/10-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 1039s Selecting previously unselected package autopkgtest-satdep. 1039s (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 ... 71534 files and directories currently installed.) 1039s Preparing to unpack .../10-autopkgtest-satdep.deb ... 1039s Unpacking autopkgtest-satdep (0) ... 1039s Setting up autopkgtest-satdep (0) ... 1041s (Reading database ... 71534 files and directories currently installed.) 1041s Removing autopkgtest-satdep (0) ... 1042s autopkgtest [06:09:40]: test memory-monitor-dbus: [----------------------- 1042s Running test: glib/memory-monitor-dbus.test 1042s TAP version 13 1042s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1042s # Received memory warning signal, level 1042s # Received memory warning signal, level 1042s # Received memory warning signal, level 1042s # Received memory warning signal, level 1042s 1..1 1042s PASS: glib/memory-monitor-dbus.test 1042s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=32768 1043s autopkgtest [06:09:41]: test memory-monitor-dbus: -----------------------] 1043s memory-monitor-dbus PASS 1043s autopkgtest [06:09:41]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1044s autopkgtest [06:09:42]: test socket: preparing testbed 1046s Reading package lists... 1046s Building dependency tree... 1046s Reading state information... 1046s Starting pkgProblemResolver with broken count: 0 1046s Starting 2 pkgProblemResolver with broken count: 0 1046s Done 1047s The following NEW packages will be installed: 1047s autopkgtest-satdep 1047s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1047s Need to get 0 B/780 B of archives. 1047s After this operation, 0 B of additional disk space will be used. 1047s Get:1 /tmp/autopkgtest.MN3iWN/11-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 1047s Selecting previously unselected package autopkgtest-satdep. 1047s (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 ... 71534 files and directories currently installed.) 1047s Preparing to unpack .../11-autopkgtest-satdep.deb ... 1047s Unpacking autopkgtest-satdep (0) ... 1047s Setting up autopkgtest-satdep (0) ... 1049s (Reading database ... 71534 files and directories currently installed.) 1049s Removing autopkgtest-satdep (0) ... 1049s autopkgtest [06:09:47]: test socket: [----------------------- 1050s Running test: glib/socket.test 1050s TAP version 13 1050s # random seed: R02Sdf5e7e601c8c5ab94825e72afa408841 1050s 1..28 1050s # Start of socket tests 1051s ok 1 /socket/ipv4_sync 1051s # slow test /socket/ipv4_sync executed in 1.00 secs 1052s ok 2 /socket/ipv4_async 1052s # slow test /socket/ipv4_async executed in 1.00 secs 1052s ok 3 /socket/ipv6_sync 1052s ok 4 /socket/ipv6_async 1052s ok 5 /socket/ipv6_v4mapped 1053s ok 6 /socket/close_graceful 1053s # slow test /socket/close_graceful executed in 1.00 secs 1053s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1053s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1053s ok 8 /socket/fd_reuse 1053s ok 9 /socket/address 1053s ok 10 /socket/unix-from-fd 1053s ok 11 /socket/unix-connection 1053s ok 12 /socket/unix-connection-ancillary-data 1053s ok 13 /socket/source-postmortem 1053s ok 14 /socket/read_write 1053s ok 15 /socket/read_writev 1053s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1053s ok 16 /socket/receive_bytes 1053s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1053s ok 17 /socket/receive_bytes_from 1053s # Start of ipv4_sync tests 1053s ok 18 /socket/ipv4_sync/datagram 1053s # Start of datagram tests 1054s ok 19 /socket/ipv4_sync/datagram/timeouts 1054s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1054s # End of datagram tests 1054s # End of ipv4_sync tests 1054s # Start of ipv6_sync tests 1054s ok 20 /socket/ipv6_sync/datagram 1054s # Start of datagram tests 1055s ok 21 /socket/ipv6_sync/datagram/timeouts 1055s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1055s # End of datagram tests 1055s # End of ipv6_sync tests 1055s # Start of reuse tests 1055s ok 22 /socket/reuse/tcp 1055s ok 23 /socket/reuse/udp 1055s # End of reuse tests 1055s # Start of get_available tests 1055s ok 24 /socket/get_available/datagram 1055s ok 25 /socket/get_available/stream 1055s # End of get_available tests 1055s # Start of credentials tests 1055s # Supported on this OS: GCredentials:linux-ucred:pid=0 1055s ok 26 /socket/credentials/tcp_client 1055s # Supported on this OS: GCredentials:linux-ucred:pid=0 1055s ok 27 /socket/credentials/tcp_server 1055s # Supported on this OS: GCredentials:linux-ucred:pid=19232,uid=1000,gid=1000 1055s ok 28 /socket/credentials/unix_socketpair 1055s # End of credentials tests 1055s # End of socket tests 1055s PASS: glib/socket.test 1055s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1055s autopkgtest [06:09:53]: test socket: -----------------------] 1056s socket PASS 1056s autopkgtest [06:09:54]: test socket: - - - - - - - - - - results - - - - - - - - - - 1056s autopkgtest [06:09:54]: test testfilemonitor: preparing testbed 1058s Reading package lists... 1059s Building dependency tree... 1059s Reading state information... 1059s Starting pkgProblemResolver with broken count: 0 1059s Starting 2 pkgProblemResolver with broken count: 0 1059s Done 1059s The following NEW packages will be installed: 1059s autopkgtest-satdep 1059s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1059s Need to get 0 B/772 B of archives. 1059s After this operation, 0 B of additional disk space will be used. 1059s Get:1 /tmp/autopkgtest.MN3iWN/12-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 1059s Selecting previously unselected package autopkgtest-satdep. 1059s (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 ... 71534 files and directories currently installed.) 1059s Preparing to unpack .../12-autopkgtest-satdep.deb ... 1059s Unpacking autopkgtest-satdep (0) ... 1059s Setting up autopkgtest-satdep (0) ... 1061s (Reading database ... 71534 files and directories currently installed.) 1061s Removing autopkgtest-satdep (0) ... 1062s autopkgtest [06:10:00]: test testfilemonitor: [----------------------- 1063s Running test: glib/testfilemonitor.test 1063s TAP version 13 1063s # random seed: R02S4448363c6328ecadb0efd9d03d5be60b 1063s 1..8 1063s # Start of monitor tests 1063s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1063s # Using temporary directory: /tmp/gio-test-testfilemonitor_8WYPK2 1063s # Using GFileMonitor GInotifyFileMonitor 1065s ok 1 /monitor/atomic-replace 1065s # slow test /monitor/atomic-replace executed in 2.00 secs 1065s # Using temporary directory: /tmp/gio-test-testfilemonitor_G0UPK2 1065s # Using GFileMonitor GInotifyFileMonitor 1067s ok 2 /monitor/file-changes 1067s # slow test /monitor/file-changes executed in 2.50 secs 1067s # Using temporary directory: /tmp/gio-test-testfilemonitor_G8V1K2 1067s # Using GFileMonitor GInotifyFileMonitor 1068s Executing: glib/testfilemonitor.test 1071s ok 3 /monitor/dir-monitor 1071s # slow test /monitor/dir-monitor executed in 3.51 secs 1071s # Using temporary directory: /tmp/gio-test-testfilemonitor_KC1WK2 1071s # Using GFileMonitor GInotifyFileMonitor 1073s Executing: glib/testfilemonitor.test 1078s Executing: glib/testfilemonitor.test 1083s Executing: glib/testfilemonitor.test 1088s Executing: glib/testfilemonitor.test 1093s Executing: glib/testfilemonitor.test 1096s ok 4 /monitor/dir-not-existent 1096s # slow test /monitor/dir-not-existent executed in 25.02 secs 1096s # Using temporary directory: /tmp/gio-test-testfilemonitor_FGKWK2 1096s # Using GFileMonitor 0 GInotifyFileMonitor 1096s # Using GFileMonitor 1 GInotifyFileMonitor 1098s ok 5 /monitor/cross-dir-moves 1098s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1098s # Using temporary directory: /tmp/gio-test-testfilemonitor_RQGWK2 1098s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 1098s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1098s ok 6 /monitor/finalize-in-callback 1098s # Using temporary directory: /tmp/gio-test-testfilemonitor_EAQXK2 1098s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1098s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1098s ok 7 /monitor/root 1098s # Start of file tests 1098s # Using temporary directory: /tmp/gio-test-testfilemonitor_29OXK2 1098s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1098s # Running with hard link tests 1098s # Using GFileMonitor GInotifyFileMonitor 1098s Executing: glib/testfilemonitor.test 1101s # Event 0 at expected index 7 skipped because it is marked as optional 1101s # Event 2 at expected index 11 skipped because it is marked as optional 1101s ok 8 /monitor/file/hard-links 1101s # slow test /monitor/file/hard-links executed in 3.51 secs 1101s # End of file tests 1101s # End of monitor tests 1101s PASS: glib/testfilemonitor.test 1101s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1101s autopkgtest [06:10:39]: test testfilemonitor: -----------------------] 1102s autopkgtest [06:10:40]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1102s testfilemonitor PASS 1102s autopkgtest [06:10:40]: test thread-pool-slow: preparing testbed 1104s Reading package lists... 1104s Building dependency tree... 1104s Reading state information... 1105s Starting pkgProblemResolver with broken count: 0 1105s Starting 2 pkgProblemResolver with broken count: 0 1105s Done 1105s The following NEW packages will be installed: 1105s autopkgtest-satdep 1105s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1105s Need to get 0 B/776 B of archives. 1105s After this operation, 0 B of additional disk space will be used. 1105s Get:1 /tmp/autopkgtest.MN3iWN/13-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1105s Selecting previously unselected package autopkgtest-satdep. 1105s (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 ... 71534 files and directories currently installed.) 1105s Preparing to unpack .../13-autopkgtest-satdep.deb ... 1105s Unpacking autopkgtest-satdep (0) ... 1105s Setting up autopkgtest-satdep (0) ... 1107s (Reading database ... 71534 files and directories currently installed.) 1107s Removing autopkgtest-satdep (0) ... 1108s autopkgtest [06:10:46]: test thread-pool-slow: [----------------------- 1108s Running test: glib/thread-pool-slow.test 1108s TAP version 13 1108s # random seed: R02S5f0e7ad17eb0313fd9457ecb1e80ddbe 1108s 1..7 1108s # Start of threadpool tests 1108s ok 1 /threadpool/functions 1108s ok 2 /threadpool/stop-unused 1108s # slow test /threadpool/stop-unused executed in 0.51 secs 1109s ok 3 /threadpool/pools 1109s # [unsorted] ===> pushed new thread with id:4, number of threads:1, unprocessed:1 1109s # [unsorted] ===> pushed new thread with id:96, number of threads:2, unprocessed:2 1109s # [unsorted] ===> pushed new thread with id:95, number of threads:3, unprocessed:3 1109s # [unsorted] ===> pushed new thread with id:11, number of threads:4, unprocessed:4 1109s # [unsorted] ===> pushed new thread with id:62, number of threads:5, unprocessed:5 1109s # [unsorted] ===> pushed new thread with id:5, number of threads:6, unprocessed:6 1109s # [unsorted] ===> pushed new thread with id:41, number of threads:7, unprocessed:7 1109s # [unsorted] ===> pushed new thread with id:50, number of threads:8, unprocessed:8 1109s # [unsorted] ===> pushed new thread with id:21, number of threads:9, unprocessed:9 1109s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:0 1109s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:1 1109s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:2 1109s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:3 1109s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:4 1109s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:5 1109s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:6 1109s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:7 1109s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:8 1109s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:9 1109s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:10 1109s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:11 1109s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:12 1109s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:13 1109s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:14 1109s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:15 1109s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:16 1109s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:17 1109s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:18 1109s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:19 1109s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:20 1109s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:21 1109s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:22 1109s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:23 1109s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:24 1109s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:25 1109s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:26 1109s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:27 1109s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:28 1109s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:29 1109s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:30 1109s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:31 1109s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:32 1109s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:33 1109s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:34 1109s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:35 1109s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:36 1109s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:37 1109s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:38 1109s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:39 1109s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:40 1109s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:41 1109s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:42 1109s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:43 1109s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:44 1109s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:45 1109s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:46 1109s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:47 1109s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:48 1109s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:49 1109s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:50 1109s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:51 1109s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:52 1109s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:53 1109s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:54 1109s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:55 1109s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:56 1109s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:57 1109s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:58 1109s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:59 1109s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:60 1109s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:61 1109s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:62 1109s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:63 1109s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:64 1109s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:65 1109s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:66 1109s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:67 1109s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:68 1109s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:69 1109s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:70 1109s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:71 1109s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:72 1109s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:73 1109s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:74 1109s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:75 1109s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:76 1109s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:77 1109s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:78 1109s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:79 1109s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:80 1109s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:81 1109s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:82 1109s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:83 1109s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:84 1109s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:85 1109s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:86 1109s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:87 1109s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:88 1109s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:89 1109s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:90 1109s ok 4 /threadpool/no-sort 1109s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:1 1109s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:2 1109s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:3 1109s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:4 1109s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:5 1109s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:6 1109s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:7 1109s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:8 1109s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:9 1109s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:10 1109s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:11 1109s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:12 1109s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:13 1109s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:14 1109s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:15 1109s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:16 1109s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:17 1109s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:18 1109s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:19 1109s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:20 1109s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:21 1109s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:22 1109s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:23 1109s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:24 1109s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:25 1109s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:26 1109s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:27 1109s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:28 1109s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:29 1109s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:30 1109s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:31 1109s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:32 1109s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:33 1109s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:34 1109s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:35 1109s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:36 1109s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:37 1109s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:38 1109s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:39 1109s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:40 1109s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:41 1109s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:42 1109s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:43 1109s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:44 1109s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:45 1109s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:46 1109s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:47 1109s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:48 1109s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:49 1109s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:50 1109s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:51 1109s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:52 1109s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:53 1109s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:54 1109s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:55 1109s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:56 1109s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:57 1109s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:58 1109s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:59 1109s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:60 1109s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:61 1109s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:62 1109s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:63 1109s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:64 1109s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:65 1109s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:66 1109s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:67 1109s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:68 1109s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:69 1109s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:70 1109s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:71 1109s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:72 1109s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:73 1109s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:74 1109s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:75 1109s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:76 1109s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:77 1109s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:78 1109s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:79 1109s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:80 1109s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:81 1109s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:82 1109s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:83 1109s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:84 1109s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:85 1109s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:86 1109s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:87 1109s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:88 1109s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:89 1109s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:90 1109s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:91 1109s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:92 1109s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:93 1109s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:94 1109s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:95 1109s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:96 1109s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:97 1109s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:98 1109s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:99 1109s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:100 1109s # Starting thread pool processing 1109s ok 5 /threadpool/sort 1109s ok 6 /threadpool/stop-unused-multiple 1109s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1109s # Pool idle thread count: 0, unprocessed jobs: 43 1110s # Pool idle thread count: 0, unprocessed jobs: 0 1110s # Pool idle thread count: 0, unprocessed jobs: 0 1110s # Pool idle thread count: 10, unprocessed jobs: 0 1110s # Pool idle thread count: 10, unprocessed jobs: 0 1111s # Pool idle thread count: 10, unprocessed jobs: 0 1111s # Pool idle thread count: 10, unprocessed jobs: 0 1111s # Pool idle thread count: 10, unprocessed jobs: 0 1111s # Pool idle thread count: 10, unprocessed jobs: 0 1112s # Pool idle thread count: 10, unprocessed jobs: 0 1112s # Pool idle thread count: 10, unprocessed jobs: 0 1112s # Pool idle thread count: 10, unprocessed jobs: 0 1112s # Pool idle thread count: 10, unprocessed jobs: 0 1113s # Pool idle thread count: 10, unprocessed jobs: 0 1113s # Pool idle thread count: 10, unprocessed jobs: 0 1113s Executing: glib/thread-pool-slow.test 1113s # Pool idle thread count: 10, unprocessed jobs: 0 1113s # Pool idle thread count: 10, unprocessed jobs: 0 1114s # Pool idle thread count: 10, unprocessed jobs: 0 1114s # Pool idle thread count: 10, unprocessed jobs: 0 1114s # Pool idle thread count: 10, unprocessed jobs: 0 1114s # Pool idle thread count: 10, unprocessed jobs: 0 1115s # Pool idle thread count: 10, unprocessed jobs: 0 1115s # Pool idle thread count: 10, unprocessed jobs: 0 1115s # Pool idle thread count: 10, unprocessed jobs: 0 1115s # Pool idle thread count: 10, unprocessed jobs: 0 1116s # Pool idle thread count: 10, unprocessed jobs: 0 1116s # Pool idle thread count: 10, unprocessed jobs: 0 1116s # Pool idle thread count: 10, unprocessed jobs: 0 1116s # Pool idle thread count: 10, unprocessed jobs: 0 1117s # Pool idle thread count: 10, unprocessed jobs: 0 1117s # Pool idle thread count: 10, unprocessed jobs: 0 1117s # Pool idle thread count: 10, unprocessed jobs: 0 1117s # Pool idle thread count: 10, unprocessed jobs: 0 1118s # Pool idle thread count: 10, unprocessed jobs: 0 1118s # Pool idle thread count: 10, unprocessed jobs: 0 1118s Executing: glib/thread-pool-slow.test 1118s # Pool idle thread count: 10, unprocessed jobs: 2 1118s # Pool idle thread count: 8, unprocessed jobs: 0 1118s # Pool idle thread count: 8, unprocessed jobs: 0 1118s # Pool idle thread count: 8, unprocessed jobs: 0 1119s # Pool idle thread count: 10, unprocessed jobs: 0 1119s # Pool idle thread count: 10, unprocessed jobs: 0 1119s # Pool idle thread count: 10, unprocessed jobs: 0 1119s # Pool idle thread count: 10, unprocessed jobs: 0 1120s # Pool idle thread count: 10, unprocessed jobs: 0 1120s # Pool idle thread count: 10, unprocessed jobs: 0 1120s # Pool idle thread count: 2, unprocessed jobs: 0 1120s # Pool idle thread count: 2, unprocessed jobs: 0 1121s # Pool idle thread count: 2, unprocessed jobs: 0 1121s # Pool idle thread count: 2, unprocessed jobs: 0 1121s # Pool idle thread count: 2, unprocessed jobs: 0 1121s # Pool idle thread count: 2, unprocessed jobs: 0 1122s # Pool idle thread count: 2, unprocessed jobs: 0 1122s # Pool idle thread count: 2, unprocessed jobs: 0 1122s # Pool idle thread count: 2, unprocessed jobs: 0 1122s # Pool idle thread count: 2, unprocessed jobs: 0 1123s # Pool idle thread count: 2, unprocessed jobs: 0 1123s # Pool idle thread count: 2, unprocessed jobs: 0 1123s Executing: glib/thread-pool-slow.test 1123s # Pool idle thread count: 2, unprocessed jobs: 0 1123s # Pool idle thread count: 2, unprocessed jobs: 0 1124s # Pool idle thread count: 2, unprocessed jobs: 0 1124s # Pool idle thread count: 2, unprocessed jobs: 0 1124s # Pool idle thread count: 2, unprocessed jobs: 0 1124s # Pool idle thread count: 2, unprocessed jobs: 0 1125s # Pool idle thread count: 2, unprocessed jobs: 0 1125s # Pool idle thread count: 2, unprocessed jobs: 0 1125s # Pool idle thread count: 2, unprocessed jobs: 0 1125s # Pool idle thread count: 2, unprocessed jobs: 0 1126s # Pool idle thread count: 2, unprocessed jobs: 0 1126s # Pool idle thread count: 2, unprocessed jobs: 0 1126s # Pool idle thread count: 2, unprocessed jobs: 0 1126s # Pool idle thread count: 2, unprocessed jobs: 0 1127s # Pool idle thread count: 2, unprocessed jobs: 0 1127s # Pool idle thread count: 2, unprocessed jobs: 0 1127s # Pool idle thread count: 2, unprocessed jobs: 0 1127s # Pool idle thread count: 2, unprocessed jobs: 0 1128s # Pool idle thread count: 2, unprocessed jobs: 0 1128s # Pool idle thread count: 2, unprocessed jobs: 0 1128s Executing: glib/thread-pool-slow.test 1128s # Pool idle thread count: 2, unprocessed jobs: 0 1128s # Pool idle thread count: 2, unprocessed jobs: 0 1129s ok 7 /threadpool/idle-time 1129s # slow test /threadpool/idle-time executed in 19.54 secs 1129s # End of threadpool tests 1129s PASS: glib/thread-pool-slow.test 1129s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=8192 1129s autopkgtest [06:11:07]: test thread-pool-slow: -----------------------] 1130s autopkgtest [06:11:08]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1130s thread-pool-slow PASS 1130s autopkgtest [06:11:08]: test threadtests: preparing testbed 1131s Reading package lists... 1132s Building dependency tree... 1132s Reading state information... 1132s Starting pkgProblemResolver with broken count: 0 1132s Starting 2 pkgProblemResolver with broken count: 0 1132s Done 1132s The following NEW packages will be installed: 1132s autopkgtest-satdep 1132s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1132s Need to get 0 B/772 B of archives. 1132s After this operation, 0 B of additional disk space will be used. 1132s Get:1 /tmp/autopkgtest.MN3iWN/14-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [772 B] 1132s Selecting previously unselected package autopkgtest-satdep. 1132s (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 ... 71534 files and directories currently installed.) 1132s Preparing to unpack .../14-autopkgtest-satdep.deb ... 1132s Unpacking autopkgtest-satdep (0) ... 1132s Setting up autopkgtest-satdep (0) ... 1134s (Reading database ... 71534 files and directories currently installed.) 1134s Removing autopkgtest-satdep (0) ... 1135s autopkgtest [06:11:13]: test threadtests: [----------------------- 1135s Running test: glib/threadtests.test 1135s TAP version 13 1135s # random seed: R02S548b35bcd7f165cf213a14520d2c9346 1135s 1..5 1135s # Start of GObject tests 1135s ok 1 /GObject/threaded-object-init 1136s ok 2 /GObject/threaded-weak-ref 1136s # slow test /GObject/threaded-weak-ref executed in 0.77 secs 1136s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1136s # /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 1141s Executing: glib/threadtests.test 1142s ok 3 /GObject/threaded-toggle-notify 1142s # slow test /GObject/threaded-toggle-notify executed in 5.97 secs 1142s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1142s # Start of threaded-weak-ref tests 1142s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1142s # /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. 1142s ok 5 /GObject/threaded-weak-ref/on-finalization 1142s # End of threaded-weak-ref tests 1142s # End of GObject tests 1142s PASS: glib/threadtests.test 1142s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=6.0s; system=0.5s; maxrss=4096 1142s autopkgtest [06:11:20]: test threadtests: -----------------------] 1143s threadtests PASS 1143s autopkgtest [06:11:21]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1143s autopkgtest [06:11:21]: test timeout: preparing testbed 1145s Reading package lists... 1145s Building dependency tree... 1145s Reading state information... 1145s Starting pkgProblemResolver with broken count: 0 1145s Starting 2 pkgProblemResolver with broken count: 0 1145s Done 1146s The following NEW packages will be installed: 1146s autopkgtest-satdep 1146s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1146s Need to get 0 B/776 B of archives. 1146s After this operation, 0 B of additional disk space will be used. 1146s Get:1 /tmp/autopkgtest.MN3iWN/15-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [776 B] 1146s Selecting previously unselected package autopkgtest-satdep. 1146s (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 ... 71534 files and directories currently installed.) 1146s Preparing to unpack .../15-autopkgtest-satdep.deb ... 1146s Unpacking autopkgtest-satdep (0) ... 1146s Setting up autopkgtest-satdep (0) ... 1148s (Reading database ... 71534 files and directories currently installed.) 1148s Removing autopkgtest-satdep (0) ... 1149s autopkgtest [06:11:27]: test timeout: [----------------------- 1149s Running test: glib/timeout.test 1149s TAP version 13 1149s # random seed: R02S90f67540463a9332d4c7cc426cde0457 1149s 1..5 1149s # Start of timeout tests 1149s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1151s ok 1 /timeout/seconds 1151s # slow test /timeout/seconds executed in 2.10 secs 1153s ok 2 /timeout/seconds-once 1153s # slow test /timeout/seconds-once executed in 2.10 secs 1153s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1155s Executing: glib/timeout.test 1156s ok 3 /timeout/weeks-overflow 1156s # slow test /timeout/weeks-overflow executed in 2.10 secs 1156s ok 4 /timeout/far-future-ready-time 1160s Executing: glib/timeout.test 1165s Executing: glib/timeout.test 1166s ok 5 /timeout/rounding 1166s # slow test /timeout/rounding executed in 10.47 secs 1166s # End of timeout tests 1166s PASS: glib/timeout.test 1166s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1166s autopkgtest [06:11:44]: test timeout: -----------------------] 1167s autopkgtest [06:11:45]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1167s timeout PASS 1167s autopkgtest [06:11:45]: test timer: preparing testbed 1169s Reading package lists... 1169s Building dependency tree... 1169s Reading state information... 1169s Starting pkgProblemResolver with broken count: 0 1169s Starting 2 pkgProblemResolver with broken count: 0 1169s Done 1170s The following NEW packages will be installed: 1170s autopkgtest-satdep 1170s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1170s Need to get 0 B/780 B of archives. 1170s After this operation, 0 B of additional disk space will be used. 1170s Get:1 /tmp/autopkgtest.MN3iWN/16-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [780 B] 1170s Selecting previously unselected package autopkgtest-satdep. 1170s (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 ... 71534 files and directories currently installed.) 1170s Preparing to unpack .../16-autopkgtest-satdep.deb ... 1170s Unpacking autopkgtest-satdep (0) ... 1170s Setting up autopkgtest-satdep (0) ... 1172s (Reading database ... 71534 files and directories currently installed.) 1172s Removing autopkgtest-satdep (0) ... 1173s autopkgtest [06:11:51]: test timer: [----------------------- 1173s Running test: glib/timer.test 1173s TAP version 13 1173s # random seed: R02S53e91147435cade3d452c6420b159fc3 1173s 1..10 1173s # Start of timer tests 1173s ok 1 /timer/basic 1173s ok 2 /timer/stop 1173s ok 3 /timer/continue 1173s ok 4 /timer/reset 1173s ok 5 /timer/is_active 1173s # End of timer tests 1173s # Start of timeval tests 1173s ok 6 /timeval/add 1173s ok 7 /timeval/from-iso8601 1173s ok 8 /timeval/to-iso8601 1173s # Start of to-iso8601 tests 1173s ok 9 /timeval/to-iso8601/overflow 1173s # End of to-iso8601 tests 1173s # End of timeval tests 1173s # Start of usleep tests 1173s ok 10 /usleep/with-zero-wait 1173s # End of usleep tests 1173s PASS: glib/timer.test 1173s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1174s autopkgtest [06:11:52]: test timer: -----------------------] 1174s autopkgtest [06:11:52]: test timer: - - - - - - - - - - results - - - - - - - - - - 1174s timer PASS 1175s autopkgtest [06:11:53]: @@@@@@@@@@@@@@@@@@@@ summary 1175s build PASS (superficial) 1175s build-static PASS (superficial) 1175s installed-tests PASS 1175s closure-refcount PASS 1175s debugcontroller PASS 1175s gdbus-server-auth PASS 1175s gdbus-threading PASS 1175s gmenumodel PASS 1175s mainloop PASS 1175s memory-monitor-dbus PASS 1175s socket PASS 1175s testfilemonitor PASS 1175s thread-pool-slow PASS 1175s threadtests PASS 1175s timeout PASS 1175s timer PASS 1194s Creating nova instance adt-noble-ppc64el-glib2.0-20240320-055218-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-ppc64el-server-20240320.img (UUID 1c7ceb83-4842-4144-a3c9-88510cdc9534)... 1194s Creating nova instance adt-noble-ppc64el-glib2.0-20240320-055218-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-ppc64el-server-20240320.img (UUID 1c7ceb83-4842-4144-a3c9-88510cdc9534)...